pinctrl: sunxi: h6-r: Add s_rsb pin functions
authorSamuel Holland <samuel@sholland.org>
Sun, 3 Jan 2021 10:00:05 +0000 (04:00 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Jan 2021 20:10:04 +0000 (21:10 +0100)
commitb071a124558fce2135f62b25d02cf3ba9bf3de6a
tree4854f29d6810ebb1d15054d1324ca56ac02d297e
parent43878eb7c83d3335af7737dcce1fa79071065dfe
pinctrl: sunxi: h6-r: Add s_rsb pin functions

As there is an RSB controller in the H6 SoC, there should be some pin
configuration for it. While no such configuration is documented, the
"s_i2c" pins are suspiciously on the "alternate" function 3, with no
primary function 2 given. This suggests the primary function for these
pins is actually RSB, and that is indeed the case.

Add the "s_rsb" pin functions so the RSB controller can be used.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20210103100007.32867-3-samuel@sholland.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun50i-h6-r.c