Skip to content

Commit 90a4146

Browse files
committed
Merge tag 'dt64-cleanup-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt
Minor improvements in ARM64 DTS for v6.11 Few cleanups and improvements which were missed by their maintainers: 1. Spreadtrum: correct PMU nodes - split per clusters. 2. HiSilicon: add dedicated compatible to syscon node ("syscon" alone is not allowed). 3. APM: add dedicated compatible to syscon node (binding applied to MFD tree). * tag 'dt64-cleanup-6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt: arm64: dts: apm: Add dedicated syscon poweroff compatibles arm64: dts: hisilicon: hi3660: add dedicated hi3660-usb3-otg-bc compatible dt-bindings: soc: hisilicon: document hi3660-usb3-otg-bc arm64: dts: sprd: Split PMU nodes for heterogeneous CPUs Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents c36a19e + c030444 commit 90a4146

File tree

6 files changed

+69
-11
lines changed

6 files changed

+69
-11
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Hisilicon Kirin 960 USB OTG Battery Charging Syscon
8+
9+
maintainers:
10+
- Mauro Carvalho Chehab <[email protected]>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- const: hisilicon,hi3660-usb3-otg-bc
16+
- const: syscon
17+
- const: simple-mfd
18+
19+
reg:
20+
maxItems: 1
21+
22+
usb-phy:
23+
$ref: /schemas/phy/hisilicon,hi3660-usb3.yaml
24+
description: USB Phy node
25+
26+
required:
27+
- compatible
28+
- reg
29+
- usb-phy
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
syscon@ff200000 {
36+
compatible = "hisilicon,hi3660-usb3-otg-bc", "syscon", "simple-mfd";
37+
reg = <0xff200000 0x1000>;
38+
39+
usb-phy {
40+
compatible = "hisilicon,hi3660-usb-phy";
41+
#phy-cells = <0>;
42+
hisilicon,pericrg-syscon = <&crg_ctrl>;
43+
hisilicon,pctrl-syscon = <&pctrl>;
44+
hisilicon,eye-diagram-param = <0x22466e4>;
45+
};
46+
};

arch/arm64/boot/dts/apm/apm-merlin.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
};
3333

3434
poweroff_mbox: poweroff_mbox@10548000 {
35-
compatible = "syscon";
35+
compatible = "apm,merlin-poweroff-mailbox", "syscon";
3636
reg = <0x0 0x10548000 0x0 0x30>;
3737
};
3838

arch/arm64/boot/dts/apm/apm-mustang.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
};
3333

3434
poweroff_mbox: poweroff_mbox@10548000 {
35-
compatible = "syscon";
35+
compatible = "apm,mustang-poweroff-mailbox", "syscon";
3636
reg = <0x0 0x10548000 0x0 0x30>;
3737
};
3838

arch/arm64/boot/dts/hisilicon/hi3660.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@
11611161
};
11621162

11631163
usb3_otg_bc: usb3_otg_bc@ff200000 {
1164-
compatible = "syscon", "simple-mfd";
1164+
compatible = "hisilicon,hi3660-usb3-otg-bc", "syscon", "simple-mfd";
11651165
reg = <0x0 0xff200000 0x0 0x1000>;
11661166

11671167
usb_phy: usb-phy {

arch/arm64/boot/dts/sprd/ums512.dtsi

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,22 @@
136136
<GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; /* Hipervisor PPI */
137137
};
138138

139-
pmu {
140-
compatible = "arm,armv8-pmuv3";
139+
pmu-a55 {
140+
compatible = "arm,cortex-a55-pmu";
141141
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
142142
<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
143143
<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
144144
<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
145145
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
146-
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
147-
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
146+
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
147+
interrupt-affinity = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, <&CPU4>, <&CPU5>;
148+
};
149+
150+
pmu-a75 {
151+
compatible = "arm,cortex-a75-pmu";
152+
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
148153
<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
154+
interrupt-affinity = <&CPU6>, <&CPU7>;
149155
};
150156

151157
soc: soc {

arch/arm64/boot/dts/sprd/ums9620.dtsi

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,22 @@
144144
<GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; /* Hipervisor PPI */
145145
};
146146

147-
pmu {
148-
compatible = "arm,armv8-pmuv3";
147+
pmu-a55 {
148+
compatible = "arm,cortex-a55-pmu";
149149
interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
150150
<GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
151151
<GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
152-
<GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
153-
<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
152+
<GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
153+
interrupt-affinity = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>;
154+
};
155+
156+
pmu-a76 {
157+
compatible = "arm,cortex-a76-pmu";
158+
interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
154159
<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
155160
<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
156161
<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
162+
interrupt-affinity = <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7>;
157163
};
158164

159165
soc: soc {

0 commit comments

Comments
 (0)