summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2023-06-17 15:36:18 +0200
committerFlorian Fainelli <florian.fainelli@broadcom.com>2023-07-12 19:17:48 +0200
commit81b875892022181d1d8f9a04416403b307b66754 (patch)
tree207cea2eb3469fed1b46da3a0ca91d9bbea18fe8 /arch
parentARM: dts: bcm2835: adjust DMA node names (diff)
downloadlinux-81b875892022181d1d8f9a04416403b307b66754.tar.xz
linux-81b875892022181d1d8f9a04416403b307b66754.zip
ARM: dts: bcm283x: Increase pwm-cells
The pwm-bcm2835 supports PWM polarity, so adjust the affected dtsi files accordingly and fix the dtbs_check warning: pwm@7e20c000: #pwm-cells:0:0: 3 was expected Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230617133620.53129-6-stefan.wahren@i2se.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/broadcom/bcm2711.dtsi2
-rw-r--r--arch/arm/boot/dts/broadcom/bcm283x.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
index d30c19311145..4a379a14966d 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
@@ -278,7 +278,7 @@
clocks = <&clocks BCM2835_CLOCK_PWM>;
assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
assigned-clock-rates = <10000000>;
- #pwm-cells = <2>;
+ #pwm-cells = <3>;
status = "disabled";
};
diff --git a/arch/arm/boot/dts/broadcom/bcm283x.dtsi b/arch/arm/boot/dts/broadcom/bcm283x.dtsi
index c9c52a19ef3b..2ca8a2505a4d 100644
--- a/arch/arm/boot/dts/broadcom/bcm283x.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm283x.dtsi
@@ -416,7 +416,7 @@
clocks = <&clocks BCM2835_CLOCK_PWM>;
assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
assigned-clock-rates = <10000000>;
- #pwm-cells = <2>;
+ #pwm-cells = <3>;
status = "disabled";
};