Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit fed1c79

Browse files
André Apitzschandersson
authored andcommitted
ARM: dts: qcom: msm8926-motorola-peregrine: Add framebuffer supplies
Add regulators used by the framebuffer of Motorola Moto G 4G (2013). Signed-off-by: André Apitzsch <git@apitzsch.eu> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240617-peregrine-v2-3-c8835d2da7af@apitzsch.eu Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent c9c8638 commit fed1c79

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

arch/arm/boot/dts/qcom/qcom-msm8926-motorola-peregrine.dts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
height = <1280>;
3030
stride = <(720 * 3)>;
3131
format = "r8g8b8";
32+
vsp-supply = <&reg_lcd_pos>;
33+
vsn-supply = <&reg_lcd_neg>;
34+
vdd-supply = <&pm8226_l28>;
35+
vddio-supply = <&vddio_disp_vreg>;
3236
};
3337
};
3438

@@ -51,6 +55,18 @@
5155
};
5256
};
5357

58+
vddio_disp_vreg: regulator-vddio-disp {
59+
compatible = "regulator-fixed";
60+
regulator-name = "vddio_disp";
61+
gpio = <&tlmm 34 GPIO_ACTIVE_HIGH>;
62+
startup-delay-us = <300>;
63+
enable-active-high;
64+
regulator-boot-on;
65+
vin-supply = <&pm8226_l8>;
66+
pinctrl-0 = <&disp_vddio_default>;
67+
pinctrl-names = "default";
68+
};
69+
5470
reserved-memory {
5571
#address-cells = <1>;
5672
#size-cells = <1>;
@@ -342,6 +358,14 @@
342358
output-disable;
343359
};
344360

361+
disp_vddio_default: disp-vddio-default-state {
362+
pins = "gpio34";
363+
function = "gpio";
364+
drive-strength = <2>;
365+
bias-disable;
366+
output-high;
367+
};
368+
345369
mag_int_default: mag-int-default-state {
346370
pins = "gpio38";
347371
function = "gpio";

0 commit comments

Comments
 (0)