From e9fa432278c186e884743ad17b3d90f0baf8c98a Mon Sep 17 00:00:00 2001 From: AxxzyWasTaken Date: Wed, 4 Nov 2026 19:21:36 +0000 Subject: [PATCH] nvmem: apple-spmi: populate the RTC child of a Chapel PMIC apple-pmu-rtc binds to the rtc child of the PMU's SPMI node, but the nvmem driver only populates children on Baku and Abbey PMICs. J616C's PMU is a Chapel with the Abbey alarm layout, so the node never became a device and the machine had no RTC wake alarm. Populate the children of a Chapel PMIC too. Signed-off-by: AxxzyWasTaken --- drivers/nvmem/apple-spmi-nvmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nvmem/apple-spmi-nvmem.c b/drivers/nvmem/apple-spmi-nvmem.c index f615a5ab54516..0e01e787699ba 100644 --- a/drivers/nvmem/apple-spmi-nvmem.c +++ b/drivers/nvmem/apple-spmi-nvmem.c @@ -60,7 +60,8 @@ static int apple_spmi_nvmem_probe(struct spmi_device *sdev) if (IS_ERR(provider)) return PTR_ERR(provider); if (!of_device_is_compatible(sdev->dev.of_node, "apple,baku-pmic") && - !of_device_is_compatible(sdev->dev.of_node, "apple,abbey-pmic")) + !of_device_is_compatible(sdev->dev.of_node, "apple,abbey-pmic") && + !of_device_is_compatible(sdev->dev.of_node, "apple,chapel-pmic")) return 0; return devm_of_platform_populate(&sdev->dev);