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
        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>;
 
        };
 };
 
+&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";
 
        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>;
 
        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";
 };