Skip to content

Commit a9025a5

Browse files
committed
Merge tag 'soc-newsoc-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull new ARM SoC support from Arnd Bergmann: "There are two new SoC families this time, and both appear fairly similar: The Nuvoton MA35D1 and the STMicroelectronics STM32MP2 are both dual-core Cortex-A35 based chips for the low-power industrial embedded market, and they mark the first 64-bit product in a widely used family of 32-bit Arm MCUs and SoCs. The way into the kernel is completely different here: The team at ST has a long history of working upstream with their STM32MP1 and other SoCs, and they produced a complete port to arm64 together with the initial announcement. Nuvoton also has multiple SoC product lines with current or previous upstream support, but those are maintained by third parties and are unrelated. The patch series from Nuvoton's Jacky Huang had to go through many revisisions to get to this point and is still missing a few drivers including the serial port for the moment. The branch contains the devicetree files as well as all the code changes, in order to have something that can be tested standalone" * tag 'soc-newsoc-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (25 commits) clk: nuvoton: Use clk_parent_data instead of string for parent clock clk: nuvoton: Update all constant hex values to lowercase clk: nuvoton: Add clk-ma35d1.h for driver extern functions remoteproc: stm32: use correct format strings on 64-bit MAINTAINERS: add entry for ARM/STM32 ARCHITECTURE arm64: defconfig: enable ARCH_STM32 and STM32 serial driver arm64: dts: st: add stm32mp257f-ev1 board support dt-bindings: stm32: document stm32mp257f-ev1 board arm64: dts: st: introduce stm32mp25 pinctrl files arm64: dts: st: introduce stm32mp25 SoCs family arm64: introduce STM32 family on Armv8 architecture dt-bindings: stm32: add st,stm32mp25-syscfg compatible for syscon pinctrl: stm32: add stm32mp257 pinctrl support dt-bindings: pinctrl: stm32: support for stm32mp257 and additional packages Documentation/process: add soc maintainer handbook reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35 reset: Add Nuvoton ma35d1 reset driver support clk: nuvoton: Add clock driver for ma35d1 clock controller arm64: dts: nuvoton: Add initial ma35d1 device tree dt-bindings: serial: Document ma35d1 uart controller ...
2 parents 6c1561f + f50a000 commit a9025a5

51 files changed

Lines changed: 6216 additions & 12 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,ma35d1.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton MA35 series SoC based platforms
8+
9+
maintainers:
10+
- Jacky Huang <ychuang3@nuvoton.com>
11+
12+
description: |
13+
Boards with an ARMv8 based Nuvoton MA35 series SoC shall have
14+
the following properties.
15+
16+
properties:
17+
$nodename:
18+
const: '/'
19+
compatible:
20+
oneOf:
21+
22+
- description: MA35D1 based boards
23+
items:
24+
- enum:
25+
- nuvoton,ma35d1-iot
26+
- nuvoton,ma35d1-som
27+
- const: nuvoton,ma35d1
28+
29+
additionalProperties: true
30+
...

Documentation/devicetree/bindings/arm/npcm/npcm.yaml renamed to Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/arm/npcm/npcm.yaml#
4+
$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,npcm.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: NPCM Platforms

Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ properties:
1515
oneOf:
1616
- items:
1717
- enum:
18-
- st,stm32mp157-syscfg
19-
- st,stm32mp151-pwr-mcu
20-
- st,stm32-syscfg
2118
- st,stm32-power-config
19+
- st,stm32-syscfg
2220
- st,stm32-tamp
2321
- st,stm32f4-gcan
22+
- st,stm32mp151-pwr-mcu
23+
- st,stm32mp157-syscfg
24+
- st,stm32mp25-syscfg
2425
- const: syscon
2526
- items:
2627
- const: st,stm32-tamp

Documentation/devicetree/bindings/arm/stm32/stm32.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ properties:
161161
- const: phytec,phycore-stm32mp157c-som
162162
- const: st,stm32mp157
163163

164+
- description: ST STM32MP257 based Boards
165+
items:
166+
- enum:
167+
- st,stm32mp257f-ev1
168+
- const: st,stm32mp257
169+
164170
additionalProperties: true
165171

166172
...
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/nuvoton,ma35d1-clk.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton MA35D1 Clock Controller Module
8+
9+
maintainers:
10+
- Chi-Fang Li <cfli0@nuvoton.com>
11+
- Jacky Huang <ychuang3@nuvoton.com>
12+
13+
description: |
14+
The MA35D1 clock controller generates clocks for the whole chip,
15+
including system clocks and all peripheral clocks.
16+
17+
See also:
18+
include/dt-bindings/clock/ma35d1-clk.h
19+
20+
properties:
21+
compatible:
22+
items:
23+
- const: nuvoton,ma35d1-clk
24+
25+
reg:
26+
maxItems: 1
27+
28+
"#clock-cells":
29+
const: 1
30+
31+
clocks:
32+
maxItems: 1
33+
34+
nuvoton,pll-mode:
35+
description:
36+
A list of PLL operation mode corresponding to CAPLL, DDRPLL, APLL,
37+
EPLL, and VPLL in sequential.
38+
maxItems: 5
39+
items:
40+
enum:
41+
- integer
42+
- fractional
43+
- spread-spectrum
44+
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
45+
46+
required:
47+
- compatible
48+
- reg
49+
- "#clock-cells"
50+
- clocks
51+
52+
additionalProperties: false
53+
54+
examples:
55+
- |
56+
57+
clock-controller@40460200 {
58+
compatible = "nuvoton,ma35d1-clk";
59+
reg = <0x40460200 0x100>;
60+
#clock-cells = <1>;
61+
clocks = <&clk_hxt>;
62+
};
63+
...

Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ properties:
2727
- st,stm32mp135-pinctrl
2828
- st,stm32mp157-pinctrl
2929
- st,stm32mp157-z-pinctrl
30+
- st,stm32mp257-pinctrl
31+
- st,stm32mp257-z-pinctrl
3032

3133
'#address-cells':
3234
const: 1
@@ -56,7 +58,7 @@ properties:
5658
Indicates the SOC package used.
5759
More details in include/dt-bindings/pinctrl/stm32-pinfunc.h
5860
$ref: /schemas/types.yaml#/definitions/uint32
59-
enum: [1, 2, 4, 8]
61+
enum: [0x1, 0x2, 0x4, 0x8, 0x100, 0x400, 0x800]
6062

6163
patternProperties:
6264
'^gpio@[0-9a-f]*$':
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/reset/nuvoton,ma35d1-reset.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton MA35D1 Reset Controller
8+
9+
maintainers:
10+
- Chi-Fang Li <cfli0@nuvoton.com>
11+
- Jacky Huang <ychuang3@nuvoton.com>
12+
13+
description:
14+
The system reset controller can be used to reset various peripheral
15+
controllers in MA35D1 SoC.
16+
17+
properties:
18+
compatible:
19+
items:
20+
- const: nuvoton,ma35d1-reset
21+
22+
reg:
23+
maxItems: 1
24+
25+
'#reset-cells':
26+
const: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- '#reset-cells'
32+
33+
additionalProperties: false
34+
35+
examples:
36+
# system reset controller node:
37+
- |
38+
39+
system-management@40460000 {
40+
compatible = "nuvoton,ma35d1-reset";
41+
reg = <0x40460000 0x200>;
42+
#reset-cells = <1>;
43+
};
44+
...
45+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART)
8+
9+
maintainers:
10+
- Min-Jen Chen <mjchen@nuvoton.com>
11+
- Jacky Huang <ychuang3@nuvoton.com>
12+
13+
allOf:
14+
- $ref: serial.yaml
15+
16+
properties:
17+
compatible:
18+
const: nuvoton,ma35d1-uart
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
clocks:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
- interrupts
33+
- clocks
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
#include <dt-bindings/interrupt-controller/arm-gic.h>
40+
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
41+
42+
serial@40700000 {
43+
compatible = "nuvoton,ma35d1-uart";
44+
reg = <0x40700000 0x100>;
45+
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
46+
clocks = <&clk UART0_GATE>;
47+
};
48+
...

Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml renamed to Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gcr.yaml#
4+
$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Global Control Registers block in Nuvoton SoCs

Documentation/process/maintainer-handbooks.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ Contents:
1515
:numbered:
1616
:maxdepth: 2
1717

18-
maintainer-tip
1918
maintainer-netdev
19+
maintainer-soc
20+
maintainer-tip

0 commit comments

Comments
 (0)