arm64: dts: qcom: msm8998-xperia: Configure display boost regulators

Add configuration for the LAB and IBB regulators (in boost mode):
this platform has smartphones with three different display sizes,
hence different displays requiring different voltage.

The common configuration parameters have been put in the common
device-tree, while specific voltage specs and soft-start-us are
variant specific, so they have been put into the machine specific
dts file.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210909123733.367248-5-angelogioacchino.delregno@somainline.org
This commit is contained in:
AngeloGioacchino Del Regno 2021-09-09 14:37:31 +02:00 committed by Bjorn Andersson
parent 4de9700d03
commit 67372ee2c0
4 changed files with 58 additions and 0 deletions

View File

@ -13,6 +13,17 @@
compatible = "sony,xperia-lilac", "qcom,msm8998";
};
&ibb {
regulator-min-microvolt = <5500000>;
regulator-max-microvolt = <5500000>;
};
&lab {
regulator-min-microvolt = <5500000>;
regulator-max-microvolt = <5500000>;
qcom,soft-start-us = <800>;
};
&vreg_l22a_2p85 {
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;

View File

@ -25,6 +25,17 @@
};
};
&ibb {
regulator-min-microvolt = <5600000>;
regulator-max-microvolt = <5600000>;
};
&lab {
regulator-min-microvolt = <5800000>;
regulator-max-microvolt = <5800000>;
qcom,soft-start-us = <200>;
};
&pmi8998_gpio {
disp_dvdd_en: disp-dvdd-en-active {
pins = "gpio10";

View File

@ -13,6 +13,17 @@
compatible = "sony,xperia-poplar", "qcom,msm8998";
};
&ibb {
regulator-min-microvolt = <5600000>;
regulator-max-microvolt = <5600000>;
};
&lab {
regulator-min-microvolt = <5600000>;
regulator-max-microvolt = <5600000>;
qcom,soft-start-us = <800>;
};
&vreg_l18a_2p85 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;

View File

@ -202,6 +202,31 @@
status = "okay";
};
&ibb {
regulator-min-microamp = <800000>;
regulator-max-microamp = <800000>;
regulator-enable-ramp-delay = <200>;
regulator-over-current-protection;
regulator-pull-down;
regulator-ramp-delay = <1>;
regulator-settling-time-up-us = <600>;
regulator-settling-time-down-us = <1000>;
regulator-soft-start;
qcom,discharge-resistor-kohms = <300>;
};
&lab {
regulator-min-microamp = <200000>;
regulator-max-microamp = <200000>;
regulator-enable-ramp-delay = <500>;
regulator-over-current-protection;
regulator-pull-down;
regulator-ramp-delay = <1>;
regulator-settling-time-up-us = <50000>;
regulator-settling-time-down-us = <3000>;
regulator-soft-start;
};
&mmcc {
status = "ok";
};