Enable MDSS, DSI0, and its PHY. Attach the SW43103 panel with its power rails, enable and reset GPIOs, and four-lane DSI link.
Signed-off-by: Abdur Rofik <[email protected]> --- arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts b/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts index 00e3fa560e95e..59d6c1518a469 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts @@ -461,6 +461,42 @@ &gpu_zap_shader { firmware-name = "qcom/sm8250/LG/timelm/a650_zap.mbn"; }; +&mdss { + status = "okay"; +}; + +&mdss_dsi0 { + vdda-supply = <&vreg_l9a_1p2>; + status = "okay"; + + panel@0 { + compatible = "lg,sw43103"; + reg = <0>; + + vddi-supply = <&vreg_l14a_1p8>; + vpnl-supply = <&vreg_l11c_3p0>; + + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; + enable-gpios = <&pm8150l_gpios 4 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel_in>; + data-lanes = <0 1 2 3>; +}; + +&mdss_dsi0_phy { + vdds-supply = <&vreg_l5a_0p88>; + status = "okay"; +}; + &pm8150_gpios { google_assist_state: google-assist-state { pins = "gpio1"; -- 2.39.5
