pwm: pwm-starfive-ptc: Standardize property "compatible"
authorHal Feng <hal.feng@starfivetech.com>
Tue, 30 Aug 2022 11:55:32 +0000 (19:55 +0800)
committerHal Feng <hal.feng@starfivetech.com>
Wed, 31 Aug 2022 06:25:09 +0000 (14:25 +0800)
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/pwm/pwm-starfive-ptc.c

index 7a492ad..637fa0c 100755 (executable)
                };
 
                ptc: pwm@120d0000 {
-                       compatible = "starfive,pwm";
+                       compatible = "starfive,jh7110-pwm";
                        reg = <0x0 0x120d0000 0x0 0x10000>;
                        reg-names = "control";
                        clocks = <&clkgen JH7110_PWM_CLK_APB>;
index 3ebff9e..85cfaf0 100644 (file)
@@ -247,7 +247,7 @@ static int starfive_pwm_ptc_remove(struct platform_device *dev)
 }
 
 static const struct of_device_id starfive_pwm_ptc_of_match[] = {
-       { .compatible = "starfive,pwm" },
+       { .compatible = "starfive,jh7110-pwm" },
        {},
 };
 MODULE_DEVICE_TABLE(of, starfive_pwm_ptc_of_match);