mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 05:17:15 +02:00
arm64: dts: qcom: sc8180x-primus: Describe the display power net
Describe and wire up the power supplies for the eDP panel and its
backlight. Previously, this was only working because of settings
inherited from the bootloader.
Fixes: 2ce38cc1e8 ("arm64: dts: qcom: sc8180x: Introduce Primus")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260616-topic-8180_disp_power-v2-2-167785993231@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
ae51d9396f
commit
80bf2eb87b
|
|
@ -29,9 +29,10 @@ backlight: backlight {
|
|||
compatible = "pwm-backlight";
|
||||
pwms = <&pmc8180c_lpg 4 1000000>;
|
||||
enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
|
||||
power-supply = <&vled_bl_pw>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_pwm_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
@ -167,6 +168,38 @@ reserved-region@9a500000 {
|
|||
};
|
||||
};
|
||||
|
||||
vled_bl_pw: regulator-vled-bl-pw {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "VLED_BL_PW";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
||||
gpio = <&pmc8180_2_gpios 1 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-0 = <&bl_pwr_en>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
vreg_lcm_3v3: regulator-edp-3p3 {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "VREG_LCM_3V3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
||||
gpio = <&tlmm 130 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-0 = <&lcm_3v3_en>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
vreg_nvme_0p9: regulator-nvme-0p9 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vreg_nvme_0p9";
|
||||
|
|
@ -540,6 +573,7 @@ &mdss_edp {
|
|||
aux-bus {
|
||||
panel {
|
||||
compatible = "edp-panel";
|
||||
power-supply = <&vreg_lcm_3v3>;
|
||||
|
||||
backlight = <&backlight>;
|
||||
|
||||
|
|
@ -769,6 +803,12 @@ &wifi {
|
|||
};
|
||||
|
||||
/* PINCTRL */
|
||||
&pmc8180_2_gpios {
|
||||
bl_pwr_en: bl-pwr-en-state {
|
||||
pins = "gpio1";
|
||||
function = "normal";
|
||||
};
|
||||
};
|
||||
|
||||
&pmc8180c_gpios {
|
||||
bl_pwm_default: bl-pwm-default-state {
|
||||
|
|
@ -950,4 +990,10 @@ rx-pins {
|
|||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
lcm_3v3_en: lcm-3v3-en-state {
|
||||
pins = "gpio130";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user