Skip to content

Commit a0f480d

Browse files
committed
Merge tag 'qcom-arm64-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt
Qualcomm ARM64 updates for v5.15 SDM660 and SDM630 was concluded to be similar enough that they should be merged, and the derivative SDM636 was added to the bunch. The combined platform gained support for GPU, DMA, I2C, IMEM, display, power-domains, SDHCI, thermal, USB, interconnects, VADC, WLED and audio remoteproc. The Sony Xperia "Ganges" platform was similarly merged with "Nile", got cleaned up and gained touchscreen, USB, volume keys and uSD support. IPQ6018 gains USB2 and PCIe support and a few minor fixes. IPQ8074 gains SCM, PRNG and Crypto support and a DT style update of the PCIe nodes. MSM8916 gains Coresight STM support. The Xiaomi Redmi 2 is introduced, with touchscreen, notification LED and IMU support. MSM8996 gains support for GPU cooling and v3.0 of the SoC, which is used to introduce support for the Sony Xperia X Performance, XZ and XZs phones. SC7180 finally gains DisplayPort support and LPASS is updated accordingly. A number of fixes are introduced and with the newly introduced DRM aux bus in place Trogdor's panel is moved under the eDP bridge. SC7280 gained USB, eMMC, SD-card, QFPROM and IPA support, the new IDP2 board was added. SM6126 (aka Snapdragon 665) was introduced, together with the Sony Xperia 10II phone with support for framebuffer, USB, eMMC and volume keys. SM8150 gained inline crypto support for UFS enabled, CPU opp-tables was introduced to scale DDR and L3 frequencies and SPI nodes where added, in addition to a number of smaller fixes. SM8250 gained a number of minor fixes and had its serial engines wired up to use the GENI wrappers' DMA engines. SM8350 had wakeup-parent defined for the TLMM gpio node and I2C13 was introduced. SDM845 display clocks was corrected and Lenovo Yoga C630 got IPA enabled and now has working LTE connectivity. Additionally a number of minor fixes throughout to correct DT validation warnings. Lastly v5.14-rc3 is merge in to resolve the merge conflicts caused by the USB maintainer deciding to fix a regression in his tree. * tag 'qcom-arm64-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (114 commits) arm64: dts: qcom: sm8250: assign DSI clock source parents arm64: dts: qcom: sdm845-mtp: assign DSI clock source parents arm64: dts: qcom: sdm845: assign DSI clock source parents arm64: dts: qcom: sc7180: assign DSI clock source parents arm64: dts: qcom: sc7280-idp: Add device tree files for IDP2 dt-bindings: arm: qcom: Document qcom,sc7280-idp2 board arm64: dts: qcom: sm8350: fix IPA interconnects arm64: dts: qcom: sc7180: define ipa_fw_mem node arm64: dts: qcom: sc7280: enable IPA for sc7280-idp arm64: dts: qcom: sc7280: add IPA information arm64: dts: qcom: sc7180-trogdor: Move panel under the bridge chip arm64: dts: qcom: ipq8074: add PRNG node arm64: dts: qcom: ipq8074: add crypto nodes arm64: dts: qcom: sm8350: add qupv3_id_1/i2c13 nodes arm64: dts: qcom: ipq6018: Add pcie support arm64: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster arm64: dts: qcom: sm8150: add SPI nodes arm64: dts: qcom: msm8916: Enable CoreSight STM component arm64: dts: qcom: sc7280: Add qfprom node arm64: dts: qcom: sc7280: Fixup the cpufreq node ... Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 4d31417 + 198b8c8 commit a0f480d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+6754
-892
lines changed

Documentation/devicetree/bindings/arm/qcom.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ properties:
135135
- const: qcom,msm8974
136136

137137
- items:
138+
- enum:
139+
- alcatel,idol347
138140
- const: qcom,msm8916-mtp/1
139141
- const: qcom,msm8916-mtp
140142
- const: qcom,msm8916
@@ -187,6 +189,8 @@ properties:
187189
- items:
188190
- enum:
189191
- qcom,sc7280-idp
192+
- qcom,sc7280-idp2
193+
- google,piglin
190194
- google,senor
191195
- const: qcom,sc7280
192196

Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ properties:
4848
- qcom,sc7180-tsens
4949
- qcom,sc7280-tsens
5050
- qcom,sc8180x-tsens
51+
- qcom,sdm630-tsens
5152
- qcom,sdm845-tsens
5253
- qcom,sm8150-tsens
5354
- qcom,sm8250-tsens

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-longcheer-l8910.dtb
1515
dtb-$(CONFIG_ARCH_QCOM) += msm8916-mtp.dtb
1616
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a3u-eur.dtb
1717
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a5u-eur.dtb
18+
dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb
1819
dtb-$(CONFIG_ARCH_QCOM) += msm8992-bullhead-rev-101.dtb
1920
dtb-$(CONFIG_ARCH_QCOM) += msm8992-msft-lumia-octagon-talkman.dtb
2021
dtb-$(CONFIG_ARCH_QCOM) += msm8992-xiaomi-libra.dtb
@@ -26,6 +27,12 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-satsuki.dtb
2627
dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-sumire.dtb
2728
dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-suzuran.dtb
2829
dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb
30+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-pmi8996-sony-xperia-tone-dora.dtb
31+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-pmi8996-sony-xperia-tone-kagura.dtb
32+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-pmi8996-sony-xperia-tone-keyaki.dtb
33+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-dora.dtb
34+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-kagura.dtb
35+
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-keyaki.dtb
2936
dtb-$(CONFIG_ARCH_QCOM) += msm8998-asus-novago-tp370ql.dtb
3037
dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb
3138
dtb-$(CONFIG_ARCH_QCOM) += msm8998-lenovo-miix-630.dtb
@@ -60,6 +67,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pompom-r3-lte.dtb
6067
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1.dtb
6168
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1-lte.dtb
6269
dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp.dtb
70+
dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp2.dtb
6371
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb
6472
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb
6573
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-pioneer.dtb
@@ -75,6 +83,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-enchilada.dtb
7583
dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-fajita.dtb
7684
dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium.dtb
7785
dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb
86+
dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb
7887
dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb
7988
dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb
8089
dtb-$(CONFIG_ARCH_QCOM) += sm8150-mtp.dtb

arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@
414414
&funnel0 { status = "okay"; };
415415
&funnel1 { status = "okay"; };
416416
&replicator { status = "okay"; };
417+
&stm { status = "okay"; };
417418
&tpiu { status = "okay"; };
418419

419420
&smd_rpm_regulators {

arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@
9292
status = "okay";
9393
};
9494

95+
&hdmi {
96+
status = "okay";
97+
};
98+
99+
&hdmi_phy {
100+
status = "okay";
101+
};
102+
95103
&mdss {
96104
status = "okay";
97105
};

arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,11 @@
7878
nand-bus-width = <8>;
7979
};
8080
};
81+
82+
&qusb_phy_1 {
83+
status = "ok";
84+
};
85+
86+
&usb2 {
87+
status = "ok";
88+
};

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

Lines changed: 152 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
#size-cells = <2>;
152152
ranges;
153153

154-
rpm_msg_ram: memory@0x60000 {
154+
rpm_msg_ram: memory@60000 {
155155
reg = <0x0 0x60000 0x0 0x6000>;
156156
no-map;
157157
};
@@ -258,9 +258,9 @@
258258
reg = <0x0 0x01905000 0x0 0x8000>;
259259
};
260260

261-
tcsr_q6: syscon@1945000 {
261+
tcsr: syscon@1937000 {
262262
compatible = "syscon";
263-
reg = <0x0 0x01945000 0x0 0xe000>;
263+
reg = <0x0 0x01937000 0x0 0x21000>;
264264
};
265265

266266
blsp_dma: dma-controller@7884000 {
@@ -384,6 +384,105 @@
384384
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
385385
};
386386

387+
pcie_phy: phy@84000 {
388+
compatible = "qcom,ipq6018-qmp-pcie-phy";
389+
reg = <0x0 0x84000 0x0 0x1bc>; /* Serdes PLL */
390+
status = "disabled";
391+
#address-cells = <2>;
392+
#size-cells = <2>;
393+
ranges;
394+
395+
clocks = <&gcc GCC_PCIE0_AUX_CLK>,
396+
<&gcc GCC_PCIE0_AHB_CLK>;
397+
clock-names = "aux", "cfg_ahb";
398+
399+
resets = <&gcc GCC_PCIE0_PHY_BCR>,
400+
<&gcc GCC_PCIE0PHY_PHY_BCR>;
401+
reset-names = "phy",
402+
"common";
403+
404+
pcie_phy0: lane@84200 {
405+
reg = <0x0 0x84200 0x0 0x16c>, /* Serdes Tx */
406+
<0x0 0x84400 0x0 0x200>, /* Serdes Rx */
407+
<0x0 0x84800 0x0 0x4f4>; /* PCS: Lane0, COM, PCIE */
408+
#phy-cells = <0>;
409+
410+
clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
411+
clock-names = "pipe0";
412+
clock-output-names = "gcc_pcie0_pipe_clk_src";
413+
#clock-cells = <0>;
414+
};
415+
};
416+
417+
pcie0: pci@20000000 {
418+
compatible = "qcom,pcie-ipq6018";
419+
reg = <0x0 0x20000000 0x0 0xf1d>,
420+
<0x0 0x20000f20 0x0 0xa8>,
421+
<0x0 0x20001000 0x0 0x1000>,
422+
<0x0 0x80000 0x0 0x4000>,
423+
<0x0 0x20100000 0x0 0x1000>;
424+
reg-names = "dbi", "elbi", "atu", "parf", "config";
425+
426+
device_type = "pci";
427+
linux,pci-domain = <0>;
428+
bus-range = <0x00 0xff>;
429+
num-lanes = <1>;
430+
#address-cells = <3>;
431+
#size-cells = <2>;
432+
433+
phys = <&pcie_phy0>;
434+
phy-names = "pciephy";
435+
436+
ranges = <0x81000000 0 0x20200000 0 0x20200000
437+
0 0x10000>, /* downstream I/O */
438+
<0x82000000 0 0x20220000 0 0x20220000
439+
0 0xfde0000>; /* non-prefetchable memory */
440+
441+
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
442+
interrupt-names = "msi";
443+
444+
#interrupt-cells = <1>;
445+
interrupt-map-mask = <0 0 0 0x7>;
446+
interrupt-map = <0 0 0 1 &intc 0 75
447+
IRQ_TYPE_LEVEL_HIGH>, /* int_a */
448+
<0 0 0 2 &intc 0 78
449+
IRQ_TYPE_LEVEL_HIGH>, /* int_b */
450+
<0 0 0 3 &intc 0 79
451+
IRQ_TYPE_LEVEL_HIGH>, /* int_c */
452+
<0 0 0 4 &intc 0 83
453+
IRQ_TYPE_LEVEL_HIGH>; /* int_d */
454+
455+
clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
456+
<&gcc GCC_PCIE0_AXI_M_CLK>,
457+
<&gcc GCC_PCIE0_AXI_S_CLK>,
458+
<&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
459+
<&gcc PCIE0_RCHNG_CLK>;
460+
clock-names = "iface",
461+
"axi_m",
462+
"axi_s",
463+
"axi_bridge",
464+
"rchng";
465+
466+
resets = <&gcc GCC_PCIE0_PIPE_ARES>,
467+
<&gcc GCC_PCIE0_SLEEP_ARES>,
468+
<&gcc GCC_PCIE0_CORE_STICKY_ARES>,
469+
<&gcc GCC_PCIE0_AXI_MASTER_ARES>,
470+
<&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
471+
<&gcc GCC_PCIE0_AHB_ARES>,
472+
<&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
473+
<&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
474+
reset-names = "pipe",
475+
"sleep",
476+
"sticky",
477+
"axi_m",
478+
"axi_s",
479+
"ahb",
480+
"axi_m_sticky",
481+
"axi_s_sticky";
482+
483+
status = "disabled";
484+
};
485+
387486
watchdog@b017000 {
388487
compatible = "qcom,kpss-wdt";
389488
interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
@@ -477,7 +576,7 @@
477576
};
478577

479578
q6v5_wcss: remoteproc@cd00000 {
480-
compatible = "qcom,ipq8074-wcss-pil";
579+
compatible = "qcom,ipq6018-wcss-pil";
481580
reg = <0x0 0x0cd00000 0x0 0x4040>,
482581
<0x0 0x004ab000 0x0 0x20>;
483582
reg-names = "qdsp6",
@@ -504,7 +603,7 @@
504603
clocks = <&gcc GCC_PRNG_AHB_CLK>;
505604
clock-names = "prng";
506605

507-
qcom,halt-regs = <&tcsr_q6 0xa000 0xd000 0x0>;
606+
qcom,halt-regs = <&tcsr 0x18000 0x1b000 0xe000>;
508607

509608
qcom,smem-states = <&wcss_smp2p_out 0>,
510609
<&wcss_smp2p_out 1>;
@@ -524,6 +623,54 @@
524623
};
525624
};
526625

626+
qusb_phy_1: qusb@59000 {
627+
compatible = "qcom,ipq6018-qusb2-phy";
628+
reg = <0x0 0x059000 0x0 0x180>;
629+
#phy-cells = <0>;
630+
631+
clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
632+
<&xo>;
633+
clock-names = "cfg_ahb", "ref";
634+
635+
resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
636+
status = "disabled";
637+
};
638+
639+
usb2: usb2@7000000 {
640+
compatible = "qcom,ipq6018-dwc3", "qcom,dwc3";
641+
reg = <0x0 0x070F8800 0x0 0x400>;
642+
#address-cells = <2>;
643+
#size-cells = <2>;
644+
ranges;
645+
clocks = <&gcc GCC_USB1_MASTER_CLK>,
646+
<&gcc GCC_USB1_SLEEP_CLK>,
647+
<&gcc GCC_USB1_MOCK_UTMI_CLK>;
648+
clock-names = "master",
649+
"sleep",
650+
"mock_utmi";
651+
652+
assigned-clocks = <&gcc GCC_USB1_MASTER_CLK>,
653+
<&gcc GCC_USB1_MOCK_UTMI_CLK>;
654+
assigned-clock-rates = <133330000>,
655+
<24000000>;
656+
resets = <&gcc GCC_USB1_BCR>;
657+
status = "disabled";
658+
659+
dwc_1: usb@7000000 {
660+
compatible = "snps,dwc3";
661+
reg = <0x0 0x7000000 0x0 0xcd00>;
662+
interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
663+
phys = <&qusb_phy_1>;
664+
phy-names = "usb2-phy";
665+
tx-fifo-resize;
666+
snps,is-utmi-l1-suspend;
667+
snps,hird-threshold = /bits/ 8 <0x0>;
668+
snps,dis_u2_susphy_quirk;
669+
snps,dis_u3_susphy_quirk;
670+
dr_mode = "host";
671+
};
672+
};
673+
527674
};
528675

529676
wcss: wcss-smp2p {

arch/arm64/boot/dts/qcom/ipq8074-hk01.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
stdout-path = "serial0";
2121
};
2222

23-
memory {
23+
memory@40000000 {
2424
device_type = "memory";
2525
reg = <0x0 0x40000000 0x0 0x20000000>;
2626
};

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

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
method = "smc";
7777
};
7878

79+
firmware {
80+
scm {
81+
compatible = "qcom,scm-ipq8074", "qcom,scm";
82+
};
83+
};
84+
7985
soc: soc {
8086
#address-cells = <0x1>;
8187
#size-cells = <0x1>;
@@ -198,6 +204,38 @@
198204
status = "disabled";
199205
};
200206

207+
prng: rng@e3000 {
208+
compatible = "qcom,prng-ee";
209+
reg = <0x000e3000 0x1000>;
210+
clocks = <&gcc GCC_PRNG_AHB_CLK>;
211+
clock-names = "core";
212+
status = "disabled";
213+
};
214+
215+
cryptobam: dma@704000 {
216+
compatible = "qcom,bam-v1.7.0";
217+
reg = <0x00704000 0x20000>;
218+
interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
219+
clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
220+
clock-names = "bam_clk";
221+
#dma-cells = <1>;
222+
qcom,ee = <1>;
223+
qcom,controlled-remotely = <1>;
224+
status = "disabled";
225+
};
226+
227+
crypto: crypto@73a000 {
228+
compatible = "qcom,crypto-v5.1";
229+
reg = <0x0073a000 0x6000>;
230+
clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
231+
<&gcc GCC_CRYPTO_AXI_CLK>,
232+
<&gcc GCC_CRYPTO_CLK>;
233+
clock-names = "iface", "bus", "core";
234+
dmas = <&cryptobam 2>, <&cryptobam 3>;
235+
dma-names = "rx", "tx";
236+
status = "disabled";
237+
};
238+
201239
tlmm: pinctrl@1000000 {
202240
compatible = "qcom,ipq8074-pinctrl";
203241
reg = <0x01000000 0x300000>;
@@ -583,10 +621,10 @@
583621

584622
pcie1: pci@10000000 {
585623
compatible = "qcom,pcie-ipq8074";
586-
reg = <0x10000000 0xf1d
587-
0x10000f20 0xa8
588-
0x00088000 0x2000
589-
0x10100000 0x1000>;
624+
reg = <0x10000000 0xf1d>,
625+
<0x10000f20 0xa8>,
626+
<0x00088000 0x2000>,
627+
<0x10100000 0x1000>;
590628
reg-names = "dbi", "elbi", "parf", "config";
591629
device_type = "pci";
592630
linux,pci-domain = <1>;
@@ -645,10 +683,10 @@
645683

646684
pcie0: pci@20000000 {
647685
compatible = "qcom,pcie-ipq8074";
648-
reg = <0x20000000 0xf1d
649-
0x20000f20 0xa8
650-
0x00080000 0x2000
651-
0x20100000 0x1000>;
686+
reg = <0x20000000 0xf1d>,
687+
<0x20000f20 0xa8>,
688+
<0x00080000 0x2000>,
689+
<0x20100000 0x1000>;
652690
reg-names = "dbi", "elbi", "parf", "config";
653691
device_type = "pci";
654692
linux,pci-domain = <0>;

arch/arm64/boot/dts/qcom/msm8916-mtp.dts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99

1010
/ {
1111
model = "Qualcomm Technologies, Inc. MSM 8916 MTP";
12-
compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1",
13-
"qcom,msm8916", "qcom,mtp";
12+
compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";
1413
};

0 commit comments

Comments
 (0)