Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-samsung-on7: Add backlight node
Browse files Browse the repository at this point in the history
  • Loading branch information
jja2000 committed Jul 17, 2024
1 parent 5a64127 commit 9110945
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-on7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@
compatible = "ti,lm363x-regulator";

enable-gpios = <&tlmm 97 GPIO_ACTIVE_HIGH>,
<&tlmm 98 GPIO_ACTIVE_HIGH>,
<&tlmm 120 GPIO_ACTIVE_HIGH>;

pinctrl-names = "default";
pinctrl-0 = <&bl_default>;

reg_lcd_vboost: vboost {
regulator-name = "lcd_boost";
regulator-min-microvolt = <6000000>;
Expand All @@ -92,6 +96,17 @@
regulator-max-microvolt = <5500000>;
};
};

backlight {
compatible = "ti,lm3632-backlight";

pwm-names = "lmu-backlight";

lcd {
led-sources = <0 1>;
pwm-period = <10000>;
};
};
};
};

Expand Down Expand Up @@ -229,6 +244,14 @@
bias-pull-up;
};

bl_default: bl-default {
pins = "gpio97", "gpio98", "gpio120";
function = "gpio";

drive-strength = <2>;
bias-disable;
};

bl_i2c_default: bl-i2c-default {
pins = "gpio101", "gpio102";
function = "gpio";
Expand Down

0 comments on commit 9110945

Please sign in to comment.