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

Configure Feed

Select the types of activity you want to include in your feed.

ARM: dts: lpc32xx: Add #pwm-cells property to the two SoC PWMs

If these PWMs are to be used, a #pwm-cells property is necessary. The
right location for that is in the SoC's dtsi file to not make
machine.dts files repeat the value for each usage. Currently the
machines based on nxp/lpc/lpc32xx.dtsi don't make use of the PWMs, so
there are no properties to drop there.

Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Uwe Kleine-König and committed by
Arnd Bergmann
36bbb14e 7eb5b8d0

+2
+2
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
··· 481 481 compatible = "nxp,lpc3220-pwm"; 482 482 reg = <0x4005c000 0x4>; 483 483 clocks = <&clk LPC32XX_CLK_PWM1>; 484 + #pwm-cells = <3>; 484 485 assigned-clocks = <&clk LPC32XX_CLK_PWM1>; 485 486 assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; 486 487 status = "disabled"; ··· 491 490 compatible = "nxp,lpc3220-pwm"; 492 491 reg = <0x4005c004 0x4>; 493 492 clocks = <&clk LPC32XX_CLK_PWM2>; 493 + #pwm-cells = <3>; 494 494 assigned-clocks = <&clk LPC32XX_CLK_PWM2>; 495 495 assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; 496 496 status = "disabled";