[PATCH] pinctrl: rk805: Add the platform module alias
Linus Walleij
linusw at kernel.org
Wed Nov 25 09:55:54 PST 2026
On Wed, Nov 11, 2026 at 3:05 AM Igor Velkov via B4 Relay
<devnull+iav.iav.lv at kernel.org> wrote:
> From: Igor Velkov <iav at iav.lv>
>
> The rk8xx MFD core registers the pin controller of the RK805, RK806 and
> RK816 as a platform device named "rk805-pinctrl", but the driver has
> neither a MODULE_ALIAS nor a platform_device_id table. Built as a module
> it is never loaded on its own, and everything that uses the PMIC GPIOs
> waits for it: on the Pine64 ROCK64 the gpio-leds device with both
> LEDs stays in deferred probe.
>
> The other rk8xx cell drivers (rk805-pwrkey, rk808-regulator, rtc-rk808,
> clk-rk808) carry such an alias. Add one here as well.
>
> Fixes: ea479996c79b ("pinctrl: Add pinctrl driver for the RK805 PMIC")
> Cc: stable at vger.kernel.org
> Signed-off-by: Igor Velkov <iav at iav.lv>
> ---
> Tested on a Pine64 ROCK64 (RK805) with v7.3.4 and CONFIG_PINCTRL_RK805=m:
> without the alias the module is not loaded and both LEDs stay in
> deferred probe over three boots; with it the module loads at boot, both
> LEDs register and the deferred list is empty.
No reaction from the maintainers so patch applied!
Yours,
Linus Walleij
More information about the Linux-rockchip
mailing list