Commit 81c3e08f authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916-huawei-g7: Add display regulator

The display on the Huawei Ascend G7 is supplied by a TI TPS65132
regulator. The panel needs a driver in mainline first, but the
TPS65132 is already supported in mainline by the tps65132 driver.
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210514104328.18756-4-stephan@gerhold.netSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 3305642d
...@@ -135,6 +135,30 @@ proximity@39 { ...@@ -135,6 +135,30 @@ proximity@39 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&prox_irq_default>; pinctrl-0 = <&prox_irq_default>;
}; };
regulator@3e {
compatible = "ti,tps65132";
reg = <0x3e>;
pinctrl-names = "default";
pinctrl-0 = <&reg_lcd_en_default>;
reg_lcd_pos: outp {
regulator-name = "outp";
regulator-min-microvolt = <5400000>;
regulator-max-microvolt = <5400000>;
enable-gpios = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
regulator-active-discharge = <1>;
};
reg_lcd_neg: outn {
regulator-name = "outn";
regulator-min-microvolt = <5400000>;
regulator-max-microvolt = <5400000>;
enable-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>;
regulator-active-discharge = <1>;
};
};
}; };
&blsp_i2c5 { &blsp_i2c5 {
...@@ -370,6 +394,14 @@ prox_irq_default: prox-irq-default { ...@@ -370,6 +394,14 @@ prox_irq_default: prox-irq-default {
bias-disable; bias-disable;
}; };
reg_lcd_en_default: reg-lcd-en-default {
pins = "gpio32", "gpio97";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
sdhc2_cd_default: sdhc2-cd-default { sdhc2_cd_default: sdhc2-cd-default {
pins = "gpio56"; pins = "gpio56";
function = "gpio"; function = "gpio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment