Skip to content

Commit 81b8758

Browse files
Stefan Wahrenffainelli
authored andcommitted
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>
1 parent 3450f9f commit 81b8758

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/broadcom/bcm2711.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
clocks = <&clocks BCM2835_CLOCK_PWM>;
279279
assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
280280
assigned-clock-rates = <10000000>;
281-
#pwm-cells = <2>;
281+
#pwm-cells = <3>;
282282
status = "disabled";
283283
};
284284

arch/arm/boot/dts/broadcom/bcm283x.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
clocks = <&clocks BCM2835_CLOCK_PWM>;
417417
assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
418418
assigned-clock-rates = <10000000>;
419-
#pwm-cells = <2>;
419+
#pwm-cells = <3>;
420420
status = "disabled";
421421
};
422422

0 commit comments

Comments
 (0)