clocksource:timer:Modify compatible name
authorXingyu Wu <xingyu.wu@starfivetech.com>
Wed, 31 Aug 2022 08:31:41 +0000 (16:31 +0800)
committerXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 1 Sep 2022 02:12:14 +0000 (10:12 +0800)
Modify compatible name to 'starfive,jh7110-timers'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Documentation/devicetree/bindings/timer/starfive,timers.yaml
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/clocksource/timer-starfive.c

index 9406633..081e7ca 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/timer/starfive,timers.yaml#
+$id: http://devicetree.org/schemas/timer/starfive,jh7110-timers.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: StarFive timers bindings
@@ -12,7 +12,7 @@ maintainers:
 
 properties:
   compatible:
-    const: starfive,timers
+    const: starfive,jh7110-timers
 
   reg:
     maxItems: 1
@@ -62,7 +62,7 @@ examples:
     #include <dt-bindings/clock/starfive-jh7110-clkgen.h>
 
     timer0: timer@15200000 {
-            compatible = "starfive,timers";
+            compatible = "starfive,jh7110-timers";
             reg = <0x15200000 0x10000>;
             interrupts = <85>, <86>, <87> ,<88>;
             interrupt-names = "timer0", "timer1", "timer2", "timer3";
index 6ed66a1..e0abbcd 100755 (executable)
                };
 
                timer: timer@13050000 {
-                       compatible = "starfive,timers";
+                       compatible = "starfive,jh7110-timers";
                        reg = <0x0 0x13050000 0x0 0x10000>;
                        interrupts = <69>, <70>, <71> ,<72>;
                        interrupt-names = "timer0", "timer1",
index 9802874..ea1f41b 100755 (executable)
@@ -458,7 +458,7 @@ static int __init starfive_timer_of_init(struct device_node *np)
 {
        return do_starfive_timer_of_init(np, &jh7110_starfive_timer);
 }
-TIMER_OF_DECLARE(starfive_timer, "starfive,timers", starfive_timer_of_init);
+TIMER_OF_DECLARE(starfive_timer, "starfive,jh7110-timers", starfive_timer_of_init);
 
 MODULE_AUTHOR("xingyu.wu <xingyu.wu@starfivetech.com>");
 MODULE_AUTHOR("samin.guo <samin.guo@starfivetech.com>");