rtc: starfive: Standardize property "compatible"
authorHal Feng <hal.feng@starfivetech.com>
Tue, 30 Aug 2022 09:24:11 +0000 (17:24 +0800)
committerHal Feng <hal.feng@starfivetech.com>
Tue, 30 Aug 2022 09:24:11 +0000 (17:24 +0800)
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/rtc/rtc-starfive.c

index fc25056..65c039a 100755 (executable)
                };
 
                rtc: rtc@17040000 {
-                       compatible = "starfive,rtc_hms";
+                       compatible = "starfive,jh7110-rtc";
                        reg = <0x0 0x17040000 0x0 0x10000>;
                        interrupts = <10>, <11>, <12>;
                        interrupt-names = "rtc_ms_pulse", "rtc_sec_pulse", "rtc";
index 9d82d91..15872c6 100644 (file)
@@ -716,7 +716,7 @@ static int sft_rtc_resume(struct device *dev)
 static SIMPLE_DEV_PM_OPS(sft_rtc_pm_ops, sft_rtc_suspend, sft_rtc_resume);
 
 static const struct of_device_id sft_rtc_of_match[] = {
-       { .compatible = "starfive,rtc_hms" },
+       { .compatible = "starfive,jh7110-rtc" },
        { },
 };
 MODULE_DEVICE_TABLE(of, sft_rtc_of_match);