mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
ARM: dts: imx51-ts4800: Use #pwm-cells = <3> for imx27-pwm device
The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx51-ts4800.dtb: pwm@73fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
committed by
Shawn Guo
parent
c834a78476
commit
4e2511d7f3
@@ -45,7 +45,7 @@ backlight_reg: regulator-backlight {
|
||||
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm1 0 78770>;
|
||||
pwms = <&pwm1 0 78770 0>;
|
||||
brightness-levels = <0 150 200 255>;
|
||||
default-brightness-level = <1>;
|
||||
power-supply = <&backlight_reg>;
|
||||
@@ -113,7 +113,6 @@ &ipu_di0_disp1 {
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
#pwm-cells = <2>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm_backlight>;
|
||||
status = "okay";
|
||||
|
||||
Reference in New Issue
Block a user