diff --git a/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts b/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts index 3fa0e7c9b73eb0..0b85e96323b7ca 100644 --- a/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts +++ b/arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts @@ -10,8 +10,6 @@ #include #include -/delete-node/ &tz_mem; - / { model = "Xiaomi Redmi Note 6 Pro"; compatible = "xiaomi,tulip", "qcom,sdm660", "qcom,sdm636"; @@ -44,15 +42,6 @@ height = <2280>; stride = <(1080 * 4)>; format = "a8r8g8b8"; - - /* In order to allow simple-framebuffer to know - * physical dimensions */ - panel = <&fb_panel>; - - fb_panel: fb-panel { - width-mm = <68>; - height-mm = <143>; - }; }; }; @@ -115,9 +104,32 @@ }; }; -&adsp_pil { - firmware-name = "adsp.mdt"; +&adreno_gpu { + status = "okay"; + + opp-table { + /delete-node/ opp-700000000; + + opp-430000000 { + opp-hz = /bits/ 64 <430000000>; + opp-level = ; + 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"; }; @@ -174,14 +186,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>; @@ -192,9 +221,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>; @@ -481,6 +530,13 @@ regulator-enable-ramp-delay = <250>; }; + vreg_l16a_2p7: l16 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-enable-ramp-delay = <250>; + regulator-always-on; + }; + vreg_l17a_1p8: l17 { regulator-min-microvolt = <1650000>; regulator-max-microvolt = <2950000>; @@ -553,7 +609,7 @@ mdss_te_active: mdss_te_active { pins = "gpio59"; - function = "gpio"; + function = "mdp_vsync"; drive-strength = <2>; bias-pull-down; }; @@ -591,8 +647,6 @@ phys = <&qusb2phy0>; phy-names = "usb2-phy"; dr_mode = "peripheral"; - - status = "okay"; }; &venus {