};
};
};
+
+ backlight {
+ status = "okay";
+ disable-on-kernel-charging;
+ };
+
+ i2c@7000c400 {
+ status = "okay";
+ lp8557-backlight-a-wuxga-8-0@2c {
+ /* Enabling this node explicitly for initial panel support */
+ status = "okay";
+ compatible = "ti,lp8557";
+ reg = <0x2c>;
+
+ bl-name = "pwm-backlight"; /* Match liblights naming expectations */
+ init-brt = /bits/ 8 <0xFF>; /* Max brightness */
+ dev-ctrl = /bits/ 8 <0x80>; /* PWM, enable standby mode */
+ pwm-period = <29334>;
+
+ pwm-names = "lp8557";
+ pwms = <&tegra_pwm 0 29334>;
+
+ /* 3 LED string */
+ rom_14h {
+ rom-addr = /bits/ 8 <0x14>;
+ rom-val = /bits/ 8 <0x87>;
+ };
+ };
+
+ lp8557-backlight-s-wuxga-7-0@2c {
+ status = "disabled";
+ compatible = "ti,lp8557";
+ reg = <0x2c>;
+
+ bl-name = "pwm-backlight"; /* Match liblights naming expectations */
+ init-brt = /bits/ 8 <0xFF>; /* Max brightness */
+ dev-ctrl = /bits/ 8 <0x80>; /* PWM, enable standby mode */
+ pwm-period = <29334>;
+
+ pwm-names = "lp8557";
+ pwms = <&tegra_pwm 0 29334>;
+
+ /* 5 LED string */
+ rom_14h {
+ rom-addr = /bits/ 8 <0x14>;
+ rom-val = /bits/ 8 <0x9f>;
+ };
+ };
+
+ lp8557-backlight-s-wuxga-8-0@2c {
+ status = "disabled";
+ compatible = "ti,lp8557";
+ reg = <0x2c>;
+
+ bl-name = "pwm-backlight"; /* Match liblights naming expectations */
+ init-brt = /bits/ 8 <0xFF>; /* Max brightness */
+ dev-ctrl = /bits/ 8 <0x80>; /* PWM, enable standby mode */
+ pwm-period = <29334>;
+
+ pwm-names = "lp8557";
+ pwms = <&tegra_pwm 0 29334>;
+
+ /* 5 LED string */
+ rom_14h {
+ rom-addr = /bits/ 8 <0x14>;
+ rom-val = /bits/ 8 <0x9f>;
+ };
+ };
+ };
};