Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: bcm958625-meraki-mx6x: Use #pwm-cells = <3>

bcm-nsp.dtsi has #pwm-cells = <3> as is specified in the binding. So to
also use that correct value for bcm958625-meraki-mx6x the property
overriding that value just has to be dropped. This fixes a few warnings
like:

arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65.dtb: pwm@31000: #pwm-cells: 3 was expected
from schema $id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml#

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20250527181320.373572-2-u.kleine-koenig@baylibre.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Uwe Kleine-König and committed by
Florian Fainelli
8df00d6b 81f83a36

+3 -4
+3 -4
arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi
··· 17 17 led-1 { 18 18 function = LED_FUNCTION_INDICATOR; 19 19 color = <LED_COLOR_ID_RED>; 20 - pwms = <&pwm 1 50000>; 20 + pwms = <&pwm 1 50000 0>; 21 21 max-brightness = <255>; 22 22 }; 23 23 24 24 led-2 { 25 25 function = LED_FUNCTION_POWER; 26 26 color = <LED_COLOR_ID_GREEN>; 27 - pwms = <&pwm 2 50000>; 27 + pwms = <&pwm 2 50000 0>; 28 28 max-brightness = <255>; 29 29 }; 30 30 31 31 led-3 { 32 32 function = LED_FUNCTION_INDICATOR; 33 33 color = <LED_COLOR_ID_BLUE>; 34 - pwms = <&pwm 3 50000>; 34 + pwms = <&pwm 3 50000 0>; 35 35 max-brightness = <255>; 36 36 }; 37 37 }; ··· 132 132 133 133 &pwm { 134 134 status = "okay"; 135 - #pwm-cells = <2>; 136 135 }; 137 136 138 137 &uart0 {