diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2019-06-24 16:10:23 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2019-06-24 16:11:11 +0530 |
commit | 0844773d685dade38d6841c9d17d131adb1d273f (patch) | |
tree | 4bf1ef926a5f915646cee6b6daf442770309c9f1 | |
parent | 90d8b89de9e2f7e616776adb2c4b7bef8927c0f9 (diff) |
dts: blueline: add panel nodesdev/blueline-mainline-tracking-panel
nodes needed to enable LG sw43408 panel
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sdm845-blueline.dts | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts index f01c5284233a..14d1a51dfd45 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts @@ -248,6 +248,7 @@ regulator-max-microvolt = <1028000>; }; + vdda_mipi_dsi0_pll: vreg_l1a_0p875: ldo1 { regulator-min-microvolt = <880000>; regulator-max-microvolt = <880000>; @@ -278,6 +279,13 @@ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; }; + vreg_l14a_1p88: ldo14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l17a_1p3: ldo17 { regulator-min-microvolt = <1304000>; regulator-max-microvolt = <1304000>; @@ -308,11 +316,18 @@ regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; }; + vdda_mipi_dsi0_1p2: vreg_l26a_1p2: ldo26 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; }; + + vreg_l28a_3p0: ldo28 { + regulator-min-microvolt = <2856000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; }; pmi8998-rpmh-regulators { @@ -560,3 +575,63 @@ bias-pull-up; }; }; + +&dsi0 { + status = "okay"; + vdda-supply = <&vdda_mipi_dsi0_1p2>; + + ports { + port@0 { + endpoint { + remote-endpoint = <&lg_sw43408_in_0>; + data-lanes = <0 1 2 3>; + }; + }; + }; + + panel@0 { + compatible = "lg,sw43408"; + reg = <0>; + vddi-supply = <&vreg_l14a_1p88>; + vpnl-supply = <&vreg_l28a_3p0>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + lg_sw43408_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +}; + +&dsi0_phy { + status = "okay"; + vdds-supply = <&vdda_mipi_dsi0_pll>; +}; + +&dsi1 { + status = "disabled"; +}; + +&dsi1_phy { + status = "disabled"; +}; + +&vreg_l28a_3p0{ + qcom,init-voltage = <3000000>; +}; + +&mdss { + status = "okay"; +}; + +&mdss_mdp { + status = "okay"; +}; |