arm64: dts: qcom: sdm632-fairphone-fp3: Enable display and GPU

Add the description for the display panel found on this phone.
Unfortunately the LCDB module on PMI632 isn't yet supported upstream so
we need to use a dummy regulator-fixed in the meantime.

And with this done we can also enable the GPU and set the zap shader
firmware path.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250611-fp3-display-v4-4-ef67701e7687@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Luca Weiss 2025-06-11 18:33:18 +02:00 committed by Bjorn Andersson
parent d56ddcee01
commit 4ea55ecb49
2 changed files with 63 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ &bimc SLV_EBI RPM_ALWAYS_TAG>,
status = "disabled";
zap-shader {
gpu_zap_shader: zap-shader {
memory-region = <&zap_shader_region>;
};

View File

@ -36,6 +36,14 @@ key-volume-up {
};
};
/* Dummy regulator until PMI632 has LCDB VSP/VSN support */
lcdb_dummy: regulator-lcdb-dummy {
compatible = "regulator-fixed";
regulator-name = "lcdb_dummy";
regulator-min-microvolt = <5500000>;
regulator-max-microvolt = <5500000>;
};
vph_pwr: vph-pwr-regulator {
compatible = "regulator-fixed";
regulator-name = "vph_pwr";
@ -44,6 +52,14 @@ vph_pwr: vph-pwr-regulator {
};
};
&gpu {
status = "okay";
};
&gpu_zap_shader {
firmware-name = "qcom/msm8953/fairphone/fp3/a506_zap.mbn";
};
&hsusb_phy {
vdd-supply = <&pm8953_l3>;
vdda-pll-supply = <&pm8953_l7>;
@ -87,6 +103,45 @@ &lpass {
status = "okay";
};
&mdss {
status = "okay";
};
&mdss_dsi0 {
vdda-supply = <&pm8953_s3>;
status = "okay";
panel@0 {
compatible = "djn,98-03057-6598b-i";
reg = <0>;
reset-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
iovcc-supply = <&pm8953_l6>;
vsn-supply = <&lcdb_dummy>;
vsp-supply = <&lcdb_dummy>;
pinctrl-0 = <&mdss_te_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>;
};
&mdss_dsi0_phy {
vcca-supply = <&pm8953_l3>;
status = "okay";
};
&mpss {
firmware-name = "qcom/msm8953/fairphone/fp3/mba.mbn",
"qcom/msm8953/fairphone/fp3/modem.mbn";
@ -292,6 +347,13 @@ &tlmm {
* 135-138: fingerprint reader (SPI)
*/
gpio-reserved-ranges = <0 4>, <135 4>;
mdss_te_default: mdss-te-default-state {
pins = "gpio24";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};
};
&uart_0 {