Re: [PATCH] mfd: rk808: re-add rk808-clkout to RK818

From: Tom Fitzhenry
Date: Mon Jan 02 2023 - 06:13:54 EST


On 2/1/23 21:06, Neil Armstrong wrote:
On 28/12/2022 15:07, Tom Fitzhenry wrote:
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.

Signed-off-by: Tom Fitzhenry <tom@xxxxxxxxxxxxxxxxxxx>
---
  drivers/mfd/rk808.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index f44fc3f080a8..0f22ef61e817 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -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",

base-commit: c76083fac3bae1a87ae3d005b5cb1cbc761e31d5

Sorry, my bad...

No worries!

Acked-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>

Thanks, I have added this to the v2 patch.