diff --git a/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts b/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts index 0b686bac0f8dd0..1682b596439815 100644 --- a/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts +++ b/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts @@ -104,6 +104,32 @@ }; }; +&adreno_gpu { + status = "okay"; + + opp-table { + /delete-node/ opp-700000000; + + opp-430000000 { + opp-hz = /bits/ 64 <430000000>; + opp-level = ; + // opp-peak-kBps = <2724000>; + opp-supported-hw = <0xff>; + }; + + opp-370000000 { + opp-hz = /bits/ 64 <370000000>; + opp-level = ; + opp-peak-kBps = <2188000>; + opp-supported-hw = <0xff>; + }; + }; + + zap-shader { + firmware-name = "qcom/a512_zap.mdt"; + }; +}; + &adsp_pil { status = "okay"; }; @@ -161,14 +187,31 @@ }; }; +&gpucc { + status = "okay"; +}; + +&kgsl_smmu { + status = "okay"; +}; + &lpass_smmu { status = "okay"; }; +&mdss { + status = "okay"; +}; + &mdss_dsi0 { + status = "okay"; + #address-cells = <1>; #size-cells = <0>; + vdd-supply = <&vreg_l1b_0p925>; + vdda-supply = <&vreg_l1a_1p225>; + panel: panel@0 { compatible = "tianma,nt36672a-xiaomi-tulip-simple"; reg = <0>; @@ -179,9 +222,29 @@ pinctrl-names = "default"; pinctrl-0 = <&mdss_dsi_active &mdss_te_active>; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; }; }; +&mdss_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&panel_in>; +}; + +&mdss_dsi0_phy { + vcca-supply = <&vreg_l1b_0p925>; + status = "okay"; +}; + +&mmss_smmu { + status = "okay"; +}; + &pm660_charger { monitored-battery = <&battery>;