Skip to content

Commit 70005c1

Browse files
Dzmitry Sankouskiandersson
authored andcommitted
arm64: dts: qcom: sdm845-starqltechn: add graphics support
Add support for gpu and panel. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Dzmitry Sankouski <[email protected]> Link: https://lore.kernel.org/r/20250225-starqltechn_integration_upstream-v9-11-a5d80375cb66@gmail.com Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 58782c2 commit 70005c1

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,52 @@
208208
};
209209
};
210210

211+
&gpu {
212+
status = "okay";
213+
214+
zap-shader {
215+
memory-region = <&gpu_mem>;
216+
firmware-name = "qcom/sdm845/starqltechn/a630_zap.mbn";
217+
};
218+
};
219+
220+
&mdss {
221+
status = "okay";
222+
};
223+
224+
&mdss_dsi0 {
225+
vdda-supply = <&vreg_l26a_1p2>;
226+
status = "okay";
227+
228+
panel@0 {
229+
compatible = "samsung,s6e3ha8";
230+
reg = <0>;
231+
vci-supply = <&s2dos05_ldo4>;
232+
vddr-supply = <&s2dos05_buck>;
233+
vdd3-supply = <&s2dos05_ldo1>;
234+
te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
235+
reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
236+
pinctrl-0 = <&dsi_default &dsi_te>;
237+
pinctrl-1 = <&dsi_suspend &dsi_te>;
238+
pinctrl-names = "default", "suspend";
239+
240+
port {
241+
panel_in: endpoint {
242+
remote-endpoint = <&mdss_dsi0_out>;
243+
};
244+
};
245+
};
246+
};
247+
248+
&mdss_dsi0_out {
249+
data-lanes = <0 1 2 3>;
250+
remote-endpoint = <&panel_in>;
251+
};
252+
253+
&mdss_dsi0_phy {
254+
vdds-supply = <&vdda_mipi_dsi0_pll>;
255+
status = "okay";
256+
};
211257

212258
&apps_rsc {
213259
regulators-0 {
@@ -864,6 +910,27 @@
864910
gpio-reserved-ranges = <27 4>, /* SPI (eSE - embedded Secure Element) */
865911
<85 4>; /* SPI (fingerprint reader) */
866912

913+
dsi_default: dsi-default-state {
914+
pins = "gpio6";
915+
function = "gpio";
916+
drive-strength = <8>;
917+
bias-disable;
918+
};
919+
920+
dsi_suspend: dsi-suspend-state {
921+
pins = "gpio6";
922+
function = "gpio";
923+
drive-strength = <2>;
924+
bias-pull-down;
925+
};
926+
927+
dsi_te: dsi-te-state {
928+
pins = "gpio10";
929+
function = "mdp_vsync";
930+
drive-strength = <2>;
931+
bias-pull-down;
932+
};
933+
867934
i2c21_sda_state: i2c21-sda-state {
868935
pins = "gpio127";
869936
function = "gpio";

0 commit comments

Comments
 (0)