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)
commit1f3e25a068832f8892a5ff71467622d012f5bc9f
tree4ce61de3120e2249c3a214dc69cc0fbced306abf
parentb3af85969e959872f21f0e6aaf5fbb9d37c5cb90
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: 7825aeb7b208 ("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