Skip to content

Commit 7824d9e

Browse files
committed
Merge tag 'qcom-arm32-for-6.17' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt
Qualcomm Arm32 DeviceTree updates for v6.17 Add aliases for MMC controllers on MSM8974, enable USB charging on the Sony Xperia Rhine platform and add new DeviceTree for the Sony Xperia Z Ultra device. Tidy up interrupts specifiers on MSM8960, by using macro constants. * tag 'qcom-arm32-for-6.17' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: ARM: dts: qcom: msm8974-sony-xperia-rhine: Add alias for mmc0 & mmc1 ARM: dts: qcom: msm8974-hammerhead: Add alias for mmc0 ARM: dts: qcom: msm8974-oneplus-bacon: Add alias for mmc0 ARM: dts: qcom: Add initial support for Sony Xperia Z Ultra (togari) dt-bindings: arm: qcom: Add Sony Xperia Z Ultra (togari) ARM: dts: qcom: msm8974-sony-xperia-rhine: Move camera buttons to amami & honami ARM: dts: qcom: msm8974-sony-xperia-rhine: Enable USB charging ARM: dts: qcom: msm8960: use macros for interrupts ARM: dts: qcom: Align wifi node name with bindings Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 4ec8959 + fb84f0e commit 7824d9e

9 files changed

+63
-21
lines changed

Documentation/devicetree/bindings/arm/qcom.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ properties:
209209
- samsung,hlte
210210
- sony,xperia-amami
211211
- sony,xperia-honami
212+
- sony,xperia-togari
212213
- const: qcom,msm8974
213214

214215
- items:

arch/arm/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
4747
qcom-msm8974-samsung-hlte.dtb \
4848
qcom-msm8974-sony-xperia-rhine-amami.dtb \
4949
qcom-msm8974-sony-xperia-rhine-honami.dtb \
50+
qcom-msm8974-sony-xperia-rhine-togari.dtb \
5051
qcom-msm8974pro-fairphone-fp2.dtb \
5152
qcom-msm8974pro-htc-m8.dtb \
5253
qcom-msm8974pro-oneplus-bacon.dtb \

arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
cpus {
1919
#address-cells = <1>;
2020
#size-cells = <0>;
21-
interrupts = <GIC_PPI 14 0x304>;
21+
interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
2222

2323
cpu@0 {
2424
compatible = "qcom,krait";
@@ -96,7 +96,7 @@
9696

9797
cpu-pmu {
9898
compatible = "qcom,krait-pmu";
99-
interrupts = <GIC_PPI 10 0x304>;
99+
interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
100100
qcom,no-pc-write;
101101
};
102102

@@ -149,9 +149,9 @@
149149
timer@200a000 {
150150
compatible = "qcom,kpss-wdt-msm8960", "qcom,kpss-timer",
151151
"qcom,msm-timer";
152-
interrupts = <GIC_PPI 1 0x301>,
153-
<GIC_PPI 2 0x301>,
154-
<GIC_PPI 3 0x301>;
152+
interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
153+
<GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
154+
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
155155
reg = <0x0200a000 0x100>;
156156
clock-frequency = <27000000>;
157157
clocks = <&sleep_clk>;

arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
chassis-type = "handset";
1313

1414
aliases {
15+
mmc0 = &sdhc_1;
1516
serial0 = &blsp1_uart1;
1617
serial1 = &blsp2_uart4;
1718
};
@@ -598,7 +599,7 @@
598599
pinctrl-0 = <&sdc2_on>;
599600
pinctrl-1 = <&sdc2_off>;
600601

601-
bcrmf@1 {
602+
wifi@1 {
602603
compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
603604
reg = <1>;
604605

arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
model = "Sony Xperia Z1 Compact";
66
compatible = "sony,xperia-amami", "qcom,msm8974";
77
chassis-type = "handset";
8+
9+
gpio-keys {
10+
key-camera-snapshot {
11+
label = "camera_snapshot";
12+
gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
13+
linux,input-type = <1>;
14+
linux,code = <KEY_CAMERA>;
15+
};
16+
17+
key-camera-focus {
18+
label = "camera_focus";
19+
gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
20+
linux,input-type = <1>;
21+
linux,code = <KEY_CAMERA_FOCUS>;
22+
};
23+
};
824
};
925

1026
&smbb {

arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,20 @@
55
model = "Sony Xperia Z1";
66
compatible = "sony,xperia-honami", "qcom,msm8974";
77
chassis-type = "handset";
8+
9+
gpio-keys {
10+
key-camera-snapshot {
11+
label = "camera_snapshot";
12+
gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
13+
linux,input-type = <1>;
14+
linux,code = <KEY_CAMERA>;
15+
};
16+
17+
key-camera-focus {
18+
label = "camera_focus";
19+
gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
20+
linux,input-type = <1>;
21+
linux,code = <KEY_CAMERA_FOCUS>;
22+
};
23+
};
824
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
#include "qcom-msm8974-sony-xperia-rhine.dtsi"
3+
4+
/* Togari uses a different touchscreen compared to other rhine devices */
5+
/delete-node/ &touchscreen;
6+
7+
/ {
8+
model = "Sony Xperia Z Ultra";
9+
compatible = "sony,xperia-togari", "qcom,msm8974";
10+
chassis-type = "handset";
11+
};
12+
13+
&pm8941_l23 {
14+
regulator-min-microvolt = <2600000>;
15+
regulator-max-microvolt = <2600000>;
16+
};

arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/ {
1010
aliases {
11+
mmc0 = &sdhc_1;
12+
mmc1 = &sdhc_2;
1113
serial0 = &blsp1_uart2;
1214
};
1315

@@ -28,20 +30,6 @@
2830
linux,code = <KEY_VOLUMEDOWN>;
2931
};
3032

31-
key-camera-snapshot {
32-
label = "camera_snapshot";
33-
gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
34-
linux,input-type = <1>;
35-
linux,code = <KEY_CAMERA>;
36-
};
37-
38-
key-camera-focus {
39-
label = "camera_focus";
40-
gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
41-
linux,input-type = <1>;
42-
linux,code = <KEY_CAMERA_FOCUS>;
43-
};
44-
4533
key-volume-up {
4634
label = "volume_up";
4735
gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
@@ -98,7 +86,7 @@
9886
status = "okay";
9987
clock-frequency = <355000>;
10088

101-
synaptics@2c {
89+
touchscreen: synaptics@2c {
10290
compatible = "syna,rmi4-i2c";
10391
reg = <0x2c>;
10492

@@ -446,6 +434,8 @@
446434
};
447435

448436
&smbb {
437+
usb-charge-current-limit = <1800000>;
438+
449439
qcom,fast-charge-safe-current = <1500000>;
450440
qcom,fast-charge-current-limit = <1500000>;
451441
qcom,dc-current-limit = <1800000>;

arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
qcom,board-id = <8 0>;
1414

1515
aliases {
16+
mmc0 = &sdhc_1;
1617
serial0 = &blsp1_uart2;
1718
};
1819

0 commit comments

Comments
 (0)