Skip to content

Commit d0dc706

Browse files
committed
Merge tag 'qcom-arm64-fixes-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes
Qualcomm ARM64 fixes for v5.14 This fixes three regressions across Angler and Bullhead, introduced by advancements in the platform definition. It then corrects the powerdown GPIOs for the speaker amps on C630 and lastly fixes a typo that assigned CPU7 in SC7280 to the wrong CPUfreq domain. * tag 'qcom-arm64-fixes-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: arm64: dts: qcom: sdm845-oneplus: fix reserved-mem arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem arm64: dts: qcom: sc7280: Fixup cpufreq domain info for cpu7 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem mapping arm64: dts: qcom: msm8992-bullhead: Remove PSCI arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents df97e5f + d77c95b commit d0dc706

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/* Copyright (c) 2015, LGE Inc. All rights reserved.
33
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
4+
* Copyright (c) 2021, Petr Vorel <[email protected]>
45
*/
56

67
/dts-v1/;
@@ -9,6 +10,9 @@
910
#include "pm8994.dtsi"
1011
#include "pmi8994.dtsi"
1112

13+
/* cont_splash_mem has different memory mapping */
14+
/delete-node/ &cont_splash_mem;
15+
1216
/ {
1317
model = "LG Nexus 5X";
1418
compatible = "lg,bullhead", "qcom,msm8992";
@@ -17,6 +21,9 @@
1721
qcom,board-id = <0xb64 0>;
1822
qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
1923

24+
/* Bullhead firmware doesn't support PSCI */
25+
/delete-node/ psci;
26+
2027
aliases {
2128
serial0 = &blsp1_uart2;
2229
};
@@ -38,6 +45,11 @@
3845
ftrace-size = <0x10000>;
3946
pmsg-size = <0x20000>;
4047
};
48+
49+
cont_splash_mem: memory@3400000 {
50+
reg = <0 0x03400000 0 0x1200000>;
51+
no-map;
52+
};
4153
};
4254
};
4355

arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/* Copyright (c) 2015, Huawei Inc. All rights reserved.
33
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
4+
* Copyright (c) 2021, Petr Vorel <[email protected]>
45
*/
56

67
/dts-v1/;
78

89
#include "msm8994.dtsi"
910

11+
/* Angler's firmware does not report where the memory is allocated */
12+
/delete-node/ &cont_splash_mem;
13+
1014
/ {
1115
model = "Huawei Nexus 6P";
1216
compatible = "huawei,angler", "qcom,msm8994";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
&BIG_CPU_SLEEP_1
201201
&CLUSTER_SLEEP_0>;
202202
next-level-cache = <&L2_700>;
203-
qcom,freq-domain = <&cpufreq_hw 1>;
203+
qcom,freq-domain = <&cpufreq_hw 2>;
204204
#cooling-cells = <2>;
205205
L2_700: l2-cache {
206206
compatible = "cache";

arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
};
7070
rmtfs_upper_guard: memory@f5d01000 {
7171
no-map;
72-
reg = <0 0xf5d01000 0 0x2000>;
72+
reg = <0 0xf5d01000 0 0x1000>;
7373
};
7474

7575
/*
@@ -78,7 +78,7 @@
7878
*/
7979
removed_region: memory@88f00000 {
8080
no-map;
81-
reg = <0 0x88f00000 0 0x200000>;
81+
reg = <0 0x88f00000 0 0x1c00000>;
8282
};
8383

8484
ramoops: ramoops@ac300000 {

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,15 +700,15 @@
700700
left_spkr: wsa8810-left{
701701
compatible = "sdw10217211000";
702702
reg = <0 3>;
703-
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
703+
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
704704
#thermal-sensor-cells = <0>;
705705
sound-name-prefix = "SpkrLeft";
706706
#sound-dai-cells = <0>;
707707
};
708708

709709
right_spkr: wsa8810-right{
710710
compatible = "sdw10217211000";
711-
powerdown-gpios = <&wcdgpio 3 GPIO_ACTIVE_HIGH>;
711+
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
712712
reg = <0 4>;
713713
#thermal-sensor-cells = <0>;
714714
sound-name-prefix = "SpkrRight";

0 commit comments

Comments
 (0)