diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi index c50f81a688973a..cad5bda45408f0 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi @@ -71,6 +71,25 @@ }; }; +&mdss_dsi0 { + panel: panel@0 { + reg = <0>; + + reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&panel_in>; +}; + &mpss_mem { reg = <0x0 0x86800000 0x0 0x5a00000>; }; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-e7.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-e7.dts index 3ee7587a5267ec..9937dcc19f8ae5 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-e7.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-e7.dts @@ -34,6 +34,30 @@ pinctrl-0 = <&tsp_en_1p8_default>; pinctrl-names = "default"; }; + + reg_vlcd_vdd3: regulator-vlcd-vdd3 { + compatible = "regulator-fixed"; + regulator-name = "vlcd_vdd3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&pm8916_s4>; + + gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&lcd_en_default>; + }; + + reg_vlcd_vci: regulator-vlcd-vci { + compatible = "regulator-fixed"; + regulator-name = "vlcd_vci"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + + gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; &battery { @@ -63,12 +87,27 @@ }; }; +&panel { + compatible = "samsung,e7-panel"; + + vdd3-supply = <®_vlcd_vdd3>; + vci-supply = <®_vlcd_vci>; +}; + &pm8916_l17 { regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; }; &tlmm { + lcd_en_default: lcd-en-default-state { + pins = "gpio87"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + tsp_en_1p8_default: tsp-en-1p8-default-state { pins = "gpio60"; function = "gpio";