From: Jacky Huang <ychuang3@xxxxxxxxxxx> This patchset adds initial support for the Nuvoton ma35d1 SoC, including initial device tree, clock driver, reset driver, and serial driver. This patchset cover letter is based from the initial support for Nuvoton ma35d1 to keep tracking the version history. This patchset had been applied to Linux kernel 6.3-rc2 and tested on the Nuvoton ma35d1 SOM evaluation board. (ma35d1 information: https://www.nuvoton.com/products/microprocessors/arm-cortex-a35-mpus/) MA35D1 porting on linux-5.10.y can be found at: https://github.com/OpenNuvoton/MPU-Family Jacky Huang (15): arm64: Kconfig.platforms: Add config for Nuvoton MA35 platform arm64: defconfig: Add Nuvoton MA35 family support mfd: Add the header file of Nuvoton ma35d1 system manager dt-bindings: clock: nuvoton: add binding for ma35d1 clock controller dt-bindings: reset: nuvoton: add binding for ma35d1 IP reset control dt-bindings: mfd: syscon: Add nuvoton,ma35d1-sys compatible dt-bindings: arm: Add initial bindings for Nuvoton platform dt-bindings: clock: Document ma35d1 clock controller bindings dt-bindings: reset: Document ma35d1 reset controller bindings dt-bindings: serial: Document ma35d1 uart controller bindings arm64: dts: nuvoton: Add initial ma35d1 device tree clk: nuvoton: Add clock driver for ma35d1 clock controller reset: Add Nuvoton ma35d1 reset driver support tty: serial: Add Nuvoton ma35d1 serial driver support MAINTAINERS: Add entry for NUVOTON MA35 .../devicetree/bindings/arm/nuvoton.yaml | 30 + .../bindings/clock/nuvoton,ma35d1-clk.yaml | 83 ++ .../devicetree/bindings/mfd/syscon.yaml | 1 + .../bindings/reset/nuvoton,ma35d1-reset.yaml | 50 + .../serial/nuvoton,ma35d1-serial.yaml | 52 + MAINTAINERS | 12 + arch/arm64/Kconfig.platforms | 9 + arch/arm64/boot/dts/nuvoton/Makefile | 2 + .../boot/dts/nuvoton/ma35d1-iot-512m.dts | 24 + .../boot/dts/nuvoton/ma35d1-som-256m.dts | 23 + arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 272 +++++ arch/arm64/configs/defconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/nuvoton/Makefile | 4 + drivers/clk/nuvoton/clk-ma35d1-divider.c | 144 +++ drivers/clk/nuvoton/clk-ma35d1-pll.c | 534 ++++++++++ drivers/clk/nuvoton/clk-ma35d1.c | 970 ++++++++++++++++++ drivers/clk/nuvoton/clk-ma35d1.h | 198 ++++ drivers/reset/Kconfig | 6 + drivers/reset/Makefile | 1 + drivers/reset/reset-ma35d1.c | 152 +++ drivers/tty/serial/Kconfig | 18 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/ma35d1_serial.c | 842 +++++++++++++++ drivers/tty/serial/ma35d1_serial.h | 93 ++ .../dt-bindings/clock/nuvoton,ma35d1-clk.h | 253 +++++ .../dt-bindings/reset/nuvoton,ma35d1-reset.h | 108 ++ include/linux/mfd/ma35d1-sys.h | 95 ++ include/uapi/linux/serial_core.h | 3 + 29 files changed, 3982 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/nuvoton.yaml create mode 100644 Documentation/devicetree/bindings/clock/nuvoton,ma35d1-clk.yaml create mode 100644 Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml create mode 100644 arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts create mode 100644 arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts create mode 100644 arch/arm64/boot/dts/nuvoton/ma35d1.dtsi create mode 100644 drivers/clk/nuvoton/Makefile create mode 100644 drivers/clk/nuvoton/clk-ma35d1-divider.c create mode 100644 drivers/clk/nuvoton/clk-ma35d1-pll.c create mode 100644 drivers/clk/nuvoton/clk-ma35d1.c create mode 100644 drivers/clk/nuvoton/clk-ma35d1.h create mode 100644 drivers/reset/reset-ma35d1.c create mode 100644 drivers/tty/serial/ma35d1_serial.c create mode 100644 drivers/tty/serial/ma35d1_serial.h create mode 100644 include/dt-bindings/clock/nuvoton,ma35d1-clk.h create mode 100644 include/dt-bindings/reset/nuvoton,ma35d1-reset.h create mode 100644 include/linux/mfd/ma35d1-sys.h -- 2.34.1