[PATCH] pinctrl: rockchip: Fix RK3506 pinctrl support
Heiko Stübner
heiko at sntech.de
Thu Nov 19 13:40:28 PST 2026
Am Donnerstag, 19. November 2026, 22:17:39 Mitteleuropäische Normalzeit schrieb Jonas Karlman:
> The pinctrl driver added in commit dbd2317d7b9f ("pinctrl: rockchip:
> Add rk3506 pinctrl support") depends on a rockchip,ioc1 property not
> documented in dt-bindings to work, i.e. it expects the pinctrl node to
> look something like following:
>
> pinctrl {
> rockchip,pmu = <&gpio0_ioc>;
> rockchip,ioc1 = <&gpio1_ioc>;
> rockchip,grf = <&gpio234_ioc>;
>
> gpio0 { };
> gpio1 { };
> gpio2 { };
> };
>
> With the commit 63113d4fce6c ("pinctrl: rockchip: Add RV1106 pinctrl
> support") the driver gained support for using GPIO bank referenced IO
> control register blocks using the rockchip,grf phandle of the bank node.
>
> Change the driver to work with dt-bindings documented nodes and
> properties, i.e. something like:
>
> pinctrl {
> rockchip,grf = <&gpio234_ioc>;
>
> gpio0 {
> rockchip,grf = <&gpio0_ioc>;
> };
> gpio1 {
> rockchip,grf = <&gpio1_ioc>;
> };
> gpio2 { };
> };
>
> Fixes: dbd2317d7b9f ("pinctrl: rockchip: Add rk3506 pinctrl support")
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
thanks for working on this, also as the rk3506 devicetree has so far
_not_ made it mainline at all, this change cannot break any backwards
compatiblity - as there's nothing to break.
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list