Skip to content

Commit 9110945

Browse files
committed
arm64: dts: qcom: msm8916-samsung-on7: Add backlight node
1 parent 5a64127 commit 9110945

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

arch/arm64/boot/dts/qcom/msm8916-samsung-on7.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@
7171
compatible = "ti,lm363x-regulator";
7272

7373
enable-gpios = <&tlmm 97 GPIO_ACTIVE_HIGH>,
74+
<&tlmm 98 GPIO_ACTIVE_HIGH>,
7475
<&tlmm 120 GPIO_ACTIVE_HIGH>;
7576

77+
pinctrl-names = "default";
78+
pinctrl-0 = <&bl_default>;
79+
7680
reg_lcd_vboost: vboost {
7781
regulator-name = "lcd_boost";
7882
regulator-min-microvolt = <6000000>;
@@ -92,6 +96,17 @@
9296
regulator-max-microvolt = <5500000>;
9397
};
9498
};
99+
100+
backlight {
101+
compatible = "ti,lm3632-backlight";
102+
103+
pwm-names = "lmu-backlight";
104+
105+
lcd {
106+
led-sources = <0 1>;
107+
pwm-period = <10000>;
108+
};
109+
};
95110
};
96111
};
97112

@@ -229,6 +244,14 @@
229244
bias-pull-up;
230245
};
231246

247+
bl_default: bl-default {
248+
pins = "gpio97", "gpio98", "gpio120";
249+
function = "gpio";
250+
251+
drive-strength = <2>;
252+
bias-disable;
253+
};
254+
232255
bl_i2c_default: bl-i2c-default {
233256
pins = "gpio101", "gpio102";
234257
function = "gpio";

0 commit comments

Comments
 (0)