From: David Heidelberg <[email protected]> Wire up the Samsung AMB630QY01 AMOLED panel on the Pixel 3 XL and drop the MDSS/DISPCC disables that kept simple-framebuffer alive.
Assisted-by: LLM Signed-off-by: David Heidelberg <[email protected]> --- .../boot/dts/qcom/sdm845-google-crosshatch.dts | 60 +++++++++++++++++++--- 1 file changed, 52 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-google-crosshatch.dts b/arch/arm64/boot/dts/qcom/sdm845-google-crosshatch.dts index 2a81ca1d00b1b..3b788757b7303 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-google-crosshatch.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-google-crosshatch.dts @@ -10,27 +10,71 @@ / { }; &battery { charge-full-design-microamp-hours = <3480000>; voltage-min-design-microvolt = <3600000>; voltage-max-design-microvolt = <4400000>; }; -&dispcc { - /* Disable for now so simple-framebuffer continues working */ - status = "disabled"; -}; - &framebuffer0 { width = <1440>; height = <2960>; stride = <(1440 * 4)>; }; -&mdss { - /* Disable for now so simple-framebuffer continues working */ - status = "disabled"; +&ibb { + regulator-min-microvolt = <4600000>; + regulator-max-microvolt = <6000000>; + regulator-over-current-protection; + regulator-pull-down; + regulator-soft-start; +}; + +&lab { + regulator-min-microvolt = <4600000>; + regulator-max-microvolt = <6000000>; + regulator-soft-start; + regulator-pull-down; +}; + +&mdss_dsi0 { + vdda-supply = <&vdda_mipi_dsi0_1p2>; + + status = "okay"; + + panel@0 { + compatible = "samsung,s6e3ha8-amb630qy01"; + reg = <0>; + + vdd3-supply = <&vreg_l14a_1p8>; + vci-supply = <&vreg_l28a_3p0>; + vddpos-supply = <&lab>; + vddneg-supply = <&ibb>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&panel_default>; + pinctrl-names = "default"; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&panel_in>; + qcom,te-source = "mdp_vsync_e"; +}; + +&mdss_dsi0_phy { + vdds-supply = <&vdda_mipi_dsi0_pll>; + + status = "okay"; }; &wifi { qcom,calibration-variant = "Google_crosshatch"; }; -- 2.55.0
