Skip to content

Commit 18b68c6

Browse files
committed
Merge tag 'qcom-arm64-for-6.3-3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt
Last set of Qualcomm ARM64 DTS updates for v6.3 This introduces additional DisplayPort controllers and pmic_glink on SC8280XP (8cx Gen3), which provides support for USB Type-C-based displays on the the Lenovo ThinkPad X13s and the compute reference device. The pmic_glink also provides battery and power supply status. Interrupt-parents are corrected across the SC8280XP PMICs, to allow non-Linux OSs to properly handle interrupts in the various blocks therein. It cleans up the SM8350 base dtsi and introduces GPU support on this platform, as well as enable this for the Hardware Development Kit (HDK). It enables i2c busses on the Fairphone FP4 Lastly it aligns glink node names with bindings across a few platforms, and corrects the compatible for the PON block in the pmk8350 PMIC. * tag 'qcom-arm64-for-6.3-3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: arm64: dts: qcom: msm8996: align RPM G-Link clock-controller node with bindings arm64: dts: qcom: qcs404: align RPM G-Link node with bindings arm64: dts: qcom: ipq6018: align RPM G-Link node with bindings arm64: dts: qcom: sm8550: remove invalid interconnect property from cryptobam arm64: dts: qcom: sc7280: Adjust zombie PWM frequency arm64: dts: qcom: sc8280xp-pmics: Specify interrupt parent explicitly arm64: dts: qcom: sm7225-fairphone-fp4: enable remaining i2c busses arm64: dts: qcom: sm7225-fairphone-fp4: move status property down arm64: dts: qcom: pmk8350: Use the correct PON compatible arm64: dts: qcom: sc8280xp-x13s: Enable external display arm64: dts: qcom: sc8280xp-crd: Introduce pmic_glink arm64: dts: qcom: sc8280xp: Add USB-C-related DP blocks arm64: dts: qcom: sm8350-hdk: enable GPU arm64: dts: qcom: sm8350: add GPU, GMU, GPU CC and SMMU nodes arm64: dts: qcom: sm8350: finish reordering nodes arm64: dts: qcom: sm8350: move more nodes to correct place arm64: dts: qcom: sm8350: reorder device nodes Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 7dbdc16 + 407ef89 commit 18b68c6

13 files changed

+1972
-1206
lines changed

arch/arm64/boot/dts/qcom/ipq6018.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
qcom,rpm-msg-ram = <&rpm_msg_ram>;
177177
mboxes = <&apcs_glb 0>;
178178

179-
rpm_requests: glink-channel {
179+
rpm_requests: rpm-requests {
180180
compatible = "qcom,rpm-ipq6018";
181181
qcom,glink-channels = "rpm_requests";
182182

arch/arm64/boot/dts/qcom/msm8996.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
compatible = "qcom,rpm-msm8996";
484484
qcom,glink-channels = "rpm_requests";
485485

486-
rpmcc: qcom,rpmcc {
486+
rpmcc: clock-controller {
487487
compatible = "qcom,rpmcc-msm8996", "qcom,rpmcc";
488488
#clock-cells = <1>;
489489
clocks = <&xo_board>;

arch/arm64/boot/dts/qcom/pmk8350.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#size-cells = <0>;
2222

2323
pmk8350_pon: pon@1300 {
24-
compatible = "qcom,pm8998-pon";
24+
compatible = "qcom,pmk8350-pon";
2525
reg = <0x1300>, <0x800>;
2626
reg-names = "hlos", "pbs";
2727

arch/arm64/boot/dts/qcom/qcs404.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
qcom,rpm-msg-ram = <&rpm_msg_ram>;
224224
mboxes = <&apcs_glb 0>;
225225

226-
rpm_requests: glink-channel {
226+
rpm_requests: rpm-requests {
227227
compatible = "qcom,rpm-qcs404";
228228
qcom,glink-channels = "rpm_requests";
229229

arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ ap_tp_i2c: &i2c0 {
6161
};
6262

6363
&pm8350c_pwm_backlight {
64-
/* Set the PWM period to 200 microseconds (5kHz duty cycle) */
65-
pwms = <&pm8350c_pwm 3 200000>;
64+
/* Set the PWM period to 320 microseconds (3.125kHz frequency) */
65+
pwms = <&pm8350c_pwm 3 320000>;
6666
};
6767

6868
&pwmleds {

arch/arm64/boot/dts/qcom/sc8280xp-crd.dts

Lines changed: 194 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,84 @@
3636
stdout-path = "serial0:115200n8";
3737
};
3838

39+
pmic-glink {
40+
compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
41+
42+
#address-cells = <1>;
43+
#size-cells = <0>;
44+
45+
connector@0 {
46+
compatible = "usb-c-connector";
47+
reg = <0>;
48+
power-role = "dual";
49+
data-role = "dual";
50+
51+
ports {
52+
#address-cells = <1>;
53+
#size-cells = <0>;
54+
55+
port@0 {
56+
reg = <0>;
57+
58+
pmic_glink_con0_hs: endpoint {
59+
remote-endpoint = <&usb_0_role_switch>;
60+
};
61+
};
62+
63+
port@1 {
64+
reg = <1>;
65+
66+
pmic_glink_con0_ss: endpoint {
67+
remote-endpoint = <&mdss0_dp0_out>;
68+
};
69+
};
70+
71+
port@2 {
72+
reg = <2>;
73+
74+
pmic_glink_con0_sbu: endpoint {
75+
remote-endpoint = <&usb0_sbu_mux>;
76+
};
77+
};
78+
};
79+
};
80+
81+
connector@1 {
82+
compatible = "usb-c-connector";
83+
reg = <1>;
84+
power-role = "dual";
85+
data-role = "dual";
86+
87+
ports {
88+
#address-cells = <1>;
89+
#size-cells = <0>;
90+
port@0 {
91+
reg = <0>;
92+
93+
pmic_glink_con1_hs: endpoint {
94+
remote-endpoint = <&usb_1_role_switch>;
95+
};
96+
};
97+
98+
port@1 {
99+
reg = <1>;
100+
101+
pmic_glink_con1_ss: endpoint {
102+
remote-endpoint = <&mdss0_dp1_out>;
103+
};
104+
};
105+
106+
port@2 {
107+
reg = <2>;
108+
109+
pmic_glink_con1_sbu: endpoint {
110+
remote-endpoint = <&usb1_sbu_mux>;
111+
};
112+
};
113+
};
114+
};
115+
};
116+
39117
vreg_edp_3p3: regulator-edp-3p3 {
40118
compatible = "regulator-fixed";
41119

@@ -139,6 +217,46 @@
139217
linux,cma-default;
140218
};
141219
};
220+
221+
usb0-sbu-mux {
222+
compatible = "pericom,pi3usb102", "gpio-sbu-mux";
223+
224+
enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
225+
select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
226+
227+
pinctrl-names = "default";
228+
pinctrl-0 = <&usb0_sbu_default>;
229+
230+
mode-switch;
231+
orientation-switch;
232+
svid = /bits/ 16 <0xff01>;
233+
234+
port {
235+
usb0_sbu_mux: endpoint {
236+
remote-endpoint = <&pmic_glink_con0_sbu>;
237+
};
238+
};
239+
};
240+
241+
usb1-sbu-mux {
242+
compatible = "pericom,pi3usb102", "gpio-sbu-mux";
243+
244+
enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
245+
select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
246+
247+
pinctrl-names = "default";
248+
pinctrl-0 = <&usb1_sbu_default>;
249+
250+
mode-switch;
251+
orientation-switch;
252+
svid = /bits/ 16 <0xff01>;
253+
254+
port {
255+
usb1_sbu_mux: endpoint {
256+
remote-endpoint = <&pmic_glink_con1_sbu>;
257+
};
258+
};
259+
};
142260
};
143261

144262
&apps_rsc {
@@ -262,6 +380,24 @@
262380
status = "okay";
263381
};
264382

383+
&mdss0_dp0 {
384+
status = "okay";
385+
};
386+
387+
&mdss0_dp0_out {
388+
data-lanes = <0 1>;
389+
remote-endpoint = <&pmic_glink_con0_ss>;
390+
};
391+
392+
&mdss0_dp1 {
393+
status = "okay";
394+
};
395+
396+
&mdss0_dp1_out {
397+
data-lanes = <0 1>;
398+
remote-endpoint = <&pmic_glink_con1_ss>;
399+
};
400+
265401
&mdss0_dp3 {
266402
compatible = "qcom,sc8280xp-edp";
267403
/delete-property/ #sound-dai-cells;
@@ -480,7 +616,6 @@
480616
};
481617

482618
&usb_0_dwc3 {
483-
/* TODO: Define USB-C connector properly */
484619
dr_mode = "host";
485620
};
486621

@@ -499,12 +634,15 @@
499634
status = "okay";
500635
};
501636

637+
&usb_0_role_switch {
638+
remote-endpoint = <&pmic_glink_con0_hs>;
639+
};
640+
502641
&usb_1 {
503642
status = "okay";
504643
};
505644

506645
&usb_1_dwc3 {
507-
/* TODO: Define USB-C connector properly */
508646
dr_mode = "host";
509647
};
510648

@@ -523,6 +661,10 @@
523661
status = "okay";
524662
};
525663

664+
&usb_1_role_switch {
665+
remote-endpoint = <&pmic_glink_con1_hs>;
666+
};
667+
526668
&xo_board_clk {
527669
clock-frequency = <38400000>;
528670
};
@@ -709,4 +851,54 @@
709851
drive-strength = <16>;
710852
};
711853
};
854+
855+
usb0_sbu_default: usb0-sbu-state {
856+
oe-n-pins {
857+
pins = "gpio101";
858+
function = "gpio";
859+
bias-disable;
860+
drive-strengh = <16>;
861+
output-high;
862+
};
863+
864+
sel-pins {
865+
pins = "gpio164";
866+
function = "gpio";
867+
bias-disable;
868+
drive-strength = <16>;
869+
};
870+
871+
mode-pins {
872+
pins = "gpio167";
873+
function = "gpio";
874+
bias-disable;
875+
drive-strength = <16>;
876+
output-high;
877+
};
878+
};
879+
880+
usb1_sbu_default: usb1-sbu-state {
881+
oe-n-pins {
882+
pins = "gpio48";
883+
function = "gpio";
884+
bias-disable;
885+
drive-strengh = <16>;
886+
output-high;
887+
};
888+
889+
sel-pins {
890+
pins = "gpio47";
891+
function = "gpio";
892+
bias-disable;
893+
drive-strength = <16>;
894+
};
895+
896+
mode-pins {
897+
pins = "gpio50";
898+
function = "gpio";
899+
bias-disable;
900+
drive-strength = <16>;
901+
output-high;
902+
};
903+
};
712904
};

0 commit comments

Comments
 (0)