summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2019-04-09 13:49:05 -0700
committerHeiko Stuebner <heiko@sntech.de>2019-04-11 13:40:32 +0200
commitbbdc00a7de24cc90315b1775fb74841373fe12f7 (patch)
treedc93367bea4da4ae774c7c2d6bd00ae84a5b6272 /drivers/uio
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
downloadlinux-stable-bbdc00a7de24cc90315b1775fb74841373fe12f7.tar.gz
linux-stable-bbdc00a7de24cc90315b1775fb74841373fe12f7.tar.bz2
linux-stable-bbdc00a7de24cc90315b1775fb74841373fe12f7.zip
soc: rockchip: Set the proper PWM for rk3288
The rk3288 SoC has two PWM implementations available, the "old" implementation and the "new" one. You can switch between the two of them by flipping a bit in the grf. The "old" implementation is the default at chip power up but isn't the one that's officially supposed to be used. ...and, in fact, the driver that gets selected in Linux using the rk3288 device tree only supports the "new" implementation. Long ago I tried to get a switch to the right IP block landed in the PWM driver (search for "rk3288: Switch to use the proper PWM IP") but that got rejected. In the mean time the grf has grown a full-fledged driver that already sets other random bits like this. That means we can now get the fix landed. For those wondering how things could have possibly worked for the last 4.5 years, folks have mostly been relying on the bootloader to set this bit. ...but occasionally folks have pointed back to my old patch series [1] in downstream kernels. [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1391597.html Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions