]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: rockchip: fix RK3308 pinmux bits
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Wed, 20 Apr 2022 14:24:31 +0000 (16:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Apr 2022 21:36:24 +0000 (23:36 +0200)
commitcbe9112499f4a79e939e228588783debac4632fe
tree4ce61de3120e2249c3a214dc69cc0fbced306abf
parent2e476c3bded435671d760c59a9e62cdf75942b5c
pinctrl: rockchip: fix RK3308 pinmux bits

Some of the pinmuxing bits described in rk3308_mux_recalced_data are wrong,
pointing to non-existing registers.

Fix the entire table.

Also add a comment in front of each entry with the same string that appears
in the datasheet to make the table easier to compare with the docs.

This fix has been tested on real hardware for the gpio3b3_sel entry.

Fixes: ffd31363e62e ("pinctrl: rockchip: add rk3308 SoC support")
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220420142432.248565-1-luca.ceresoli@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c