mfd: rk808: Re-add rk808-clkout to RK818
authorTom Fitzhenry <tom@tom-fitzhenry.me.uk>
Mon, 2 Jan 2023 11:11:47 +0000 (22:11 +1100)
committerLee Jones <lee@kernel.org>
Wed, 22 Feb 2023 08:25:51 +0000 (08:25 +0000)
Fixes RK818 (e.g. on Pinephone Pro) to register its clock, without which
dependent devices (e.g. wifi/BT, via sdio-wifi-pwrseq) fail to probe.

This line was removed in commit 3633daacea2e
("mfd: rk808: Permit having multiple PMIC instances"), but only from RK818.

Fixes: 3633daacea2e ("mfd: rk808: Permit having multiple PMIC instances")
Signed-off-by: Tom Fitzhenry <tom@tom-fitzhenry.me.uk>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230102111147.2580861-1-tom@tom-fitzhenry.me.uk
drivers/mfd/rk808.c

index f44fc3f080a8ed10525dd08e1660a91a4541d9a1..0f22ef61e8170dd594777597bc2d7e34daa99cd1 100644 (file)
@@ -189,6 +189,7 @@ static const struct mfd_cell rk817s[] = {
 };
 
 static const struct mfd_cell rk818s[] = {
+       { .name = "rk808-clkout", .id = PLATFORM_DEVID_NONE, },
        { .name = "rk808-regulator", .id = PLATFORM_DEVID_NONE, },
        {
                .name = "rk808-rtc",