commit | df56b1712d57863e9686673bb13803dcd8a82f7a | [log] [tgz] |
---|---|---|
author | Maarten ter Huurne <maarten@treewalker.org> | Sat Jan 06 17:58:40 2018 +0100 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Mar 28 00:22:03 2018 +0200 |
tree | c0fc618f24474a7bfa1fc361985fb127560c1bb8 | |
parent | 1f6eefeb7cd45360397fb5d3f08ce9ec41e80b17 [diff] |
pwm: jz4740: Make disable operation compatible with TCU2 mode On the JZ4750 and later SoCs, channel 1 and 2 operate in a different way (TCU2 mode) as the other channels. If a TCU2 mode counter is stopped before its PWM functionality is disabled, the output is not guaranteed to return to the initial level. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>