From 79585a5d344ff3675612171b3f4ccecf7777b04a Mon Sep 17 00:00:00 2001 From: Hal Feng Date: Tue, 30 Aug 2022 19:55:32 +0800 Subject: [PATCH] pwm: pwm-starfive-ptc: Standardize property "compatible" Signed-off-by: Hal Feng --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 2 +- drivers/pwm/pwm-starfive-ptc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 7a492adda..637fa0c 100755 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -1341,7 +1341,7 @@ }; ptc: pwm@120d0000 { - compatible = "starfive,pwm"; + compatible = "starfive,jh7110-pwm"; reg = <0x0 0x120d0000 0x0 0x10000>; reg-names = "control"; clocks = <&clkgen JH7110_PWM_CLK_APB>; diff --git a/drivers/pwm/pwm-starfive-ptc.c b/drivers/pwm/pwm-starfive-ptc.c index 3ebff9e..85cfaf0 100644 --- a/drivers/pwm/pwm-starfive-ptc.c +++ b/drivers/pwm/pwm-starfive-ptc.c @@ -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); -- 2.7.4