From: Adam Ford <aford173@xxxxxxxxx> The backlight bindings require a regulator. If one is missing, the system generates an warning. This patch creates a dummy regulator for the backlight to eliminate this warning. Signed-off-by: Adam Ford <aford173@xxxxxxxxx> diff --git a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts index da85984..9276070 100644 --- a/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts @@ -144,6 +144,12 @@ }; }; + backlight_reg: backlight_reg { + regulator-name = "backlight-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + bl: backlight { compatible = "pwm-backlight"; pinctrl-names = "default"; @@ -151,6 +157,7 @@ pwms = <&twl_pwm 0 5000000>; brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; default-brightness-level = <7>; + power-supply = <&backlight_reg>; enable-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* gpio_8 */ }; }; diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts index 08cce17..8741c47 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts @@ -177,6 +177,12 @@ }; }; + backlight_reg: backlight_reg { + regulator-name = "backlight-supply"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + bl: backlight { compatible = "pwm-backlight"; pinctrl-names = "default"; @@ -184,6 +190,7 @@ pwms = <&pwm10 0 5000000 0>; brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; default-brightness-level = <7>; + power-supply = <&backlight_reg>; enable-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>; /* gpio_154 */ }; }; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html