Skip to content

Commit 0f56e65

Browse files
committed
Merge tag 'arm-fixes-6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "The final bug fixes for Qualcomm and Rockchips came in, all of them for devicetree files: - Devices on Qualcomm SC7180/SC7280 that are cache coherent are now marked so correctly to fix a regression after a change in kernel behavior - Rockchips has a few minor changes for correctness of regulator and cache properties, as well as fixes for incorrect behavior of the RK3568 PCI controller and reset pins on two boards" * tag 'arm-fixes-6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: arm64: dts: qcom: sc7280: Mark SCM as dma-coherent for chrome devices arm64: dts: qcom: sc7180: Mark SCM as dma-coherent for trogdor arm64: dts: qcom: sc7180: Mark SCM as dma-coherent for IDP dt-bindings: firmware: qcom,scm: Document that SCM can be dma-coherent arm64: dts: rockchip: Fix rk356x PCIe register and range mappings arm64: dts: rockchip: fix button reset pin for nanopi r5c arm64: dts: rockchip: fix nEXTRST on SOQuartz arm64: dts: rockchip: add missing cache properties arm64: dts: rockchip: fix USB regulator on ROCK64
2 parents 569fa93 + ed8ff04 commit 0f56e65

16 files changed

+69
-48
lines changed

Documentation/devicetree/bindings/firmware/qcom,scm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ properties:
7171
minItems: 1
7272
maxItems: 3
7373

74+
dma-coherent: true
75+
7476
interconnects:
7577
maxItems: 1
7678

arch/arm64/boot/dts/qcom/sc7180-idp.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,11 @@
393393
qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
394394
};
395395

396+
&scm {
397+
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
398+
dma-coherent;
399+
};
400+
396401
&sdhc_1 {
397402
status = "okay";
398403

arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,11 @@ hp_i2c: &i2c9 {
892892
qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
893893
};
894894

895+
&scm {
896+
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
897+
dma-coherent;
898+
};
899+
895900
&sdhc_1 {
896901
status = "okay";
897902

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
};
370370

371371
firmware {
372-
scm {
372+
scm: scm {
373373
compatible = "qcom,scm-sc7180", "qcom,scm";
374374
};
375375
};

arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
firmware-name = "ath11k/WCN6750/hw1.0/wpss.mdt";
8080
};
8181

82+
&scm {
83+
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
84+
dma-coherent;
85+
};
86+
8287
&wifi {
8388
status = "okay";
8489

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@
656656
};
657657

658658
firmware {
659-
scm {
659+
scm: scm {
660660
compatible = "qcom,scm-sc7280", "qcom,scm";
661661
};
662662
};

arch/arm64/boot/dts/rockchip/rk3308.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
l2: l2-cache {
9898
compatible = "cache";
9999
cache-level = <2>;
100+
cache-unified;
100101
};
101102
};
102103

arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
vin-supply = <&vcc_io>;
3838
};
3939

40-
vcc_host_5v: vcc-host-5v-regulator {
40+
/* Common enable line for all of the rails mentioned in the labels */
41+
vcc_host_5v: vcc_host1_5v: vcc_otg_5v: vcc-host-5v-regulator {
4142
compatible = "regulator-fixed";
4243
gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
4344
pinctrl-names = "default";
@@ -48,17 +49,6 @@
4849
vin-supply = <&vcc_sys>;
4950
};
5051

51-
vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
52-
compatible = "regulator-fixed";
53-
gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
54-
pinctrl-names = "default";
55-
pinctrl-0 = <&usb20_host_drv>;
56-
regulator-name = "vcc_host1_5v";
57-
regulator-always-on;
58-
regulator-boot-on;
59-
vin-supply = <&vcc_sys>;
60-
};
61-
6252
vcc_sys: vcc-sys {
6353
compatible = "regulator-fixed";
6454
regulator-name = "vcc_sys";

arch/arm64/boot/dts/rockchip/rk3328.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
l2: l2-cache0 {
104104
compatible = "cache";
105105
cache-level = <2>;
106+
cache-unified;
106107
};
107108
};
108109

arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
regulator-max-microvolt = <5000000>;
2929
vin-supply = <&vcc12v_dcin>;
3030
};
31+
32+
vcc_sd_pwr: vcc-sd-pwr-regulator {
33+
compatible = "regulator-fixed";
34+
regulator-name = "vcc_sd_pwr";
35+
regulator-always-on;
36+
regulator-boot-on;
37+
regulator-min-microvolt = <3300000>;
38+
regulator-max-microvolt = <3300000>;
39+
vin-supply = <&vcc3v3_sys>;
40+
};
3141
};
3242

3343
/* phy for pcie */
@@ -130,13 +140,7 @@
130140
};
131141

132142
&sdmmc0 {
133-
vmmc-supply = <&sdmmc_pwr>;
134-
status = "okay";
135-
};
136-
137-
&sdmmc_pwr {
138-
regulator-min-microvolt = <3300000>;
139-
regulator-max-microvolt = <3300000>;
143+
vmmc-supply = <&vcc_sd_pwr>;
140144
status = "okay";
141145
};
142146

0 commit comments

Comments
 (0)