Merge tag 'rtc-6.2-fixes' into rtc-next
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 25 Feb 2023 22:31:23 +0000 (23:31 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 25 Feb 2023 22:31:23 +0000 (23:31 +0100)
Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
drivers/rtc/rtc-sunplus.c

index 0a7aa29..21c8ea0 100644 (file)
@@ -40,6 +40,8 @@ properties:
     description:
       Indicates that the setting of RTC time is allowed by the host CPU.
 
+  wakeup-source: true
+
 required:
   - compatible
   - reg
index e8e2ab1..4b578e4 100644 (file)
@@ -240,8 +240,8 @@ static int sp_rtc_probe(struct platform_device *plat_dev)
        if (IS_ERR(sp_rtc->reg_base))
                return dev_err_probe(&plat_dev->dev, PTR_ERR(sp_rtc->reg_base),
                                            "%s devm_ioremap_resource fail\n", RTC_REG_NAME);
-       dev_dbg(&plat_dev->dev, "res = 0x%x, reg_base = 0x%lx\n",
-               sp_rtc->res->start, (unsigned long)sp_rtc->reg_base);
+       dev_dbg(&plat_dev->dev, "res = %pR, reg_base = %p\n",
+               sp_rtc->ressp_rtc->reg_base);
 
        sp_rtc->irq = platform_get_irq(plat_dev, 0);
        if (sp_rtc->irq < 0)