[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230123073305.149940-1-lchen@ambarella.com>
Date: Mon, 23 Jan 2023 15:32:15 +0800
From: Li Chen <lchen@...arella.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Li Chen <lchen@...arella.com>,
Andreas Böhler <dev@...ehler.at>,
Arnd Bergmann <arnd@...db.de>,
Brian Norris <briannorris@...omium.org>,
Chris Morgan <macromorgan@...mail.com>,
Christian Lamparter <chunkeey@...il.com>,
Chuanhong Guo <gch981213@...il.com>,
Conor Dooley <conor.dooley@...rochip.com>,
Daniel Palmer <daniel@...f.com>,
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS), Florian Fainelli <f.fainelli@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Guenter Roeck <linux@...ck-us.net>,
Heiko Stuebner <heiko@...ech.de>,
Hitomi Hasegawa <hasegawa-hitomi@...itsu.com>,
Jean Delvare <jdelvare@...e.de>,
Jonathan Corbet <corbet@....net>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Liang Yang <liang.yang@...ogic.com>,
Li Chen <lchen@...arella.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-arm-kernel@...ts.infradead.org (moderated list:ARM64 PORT
(AARCH64 ARCHITECTURE)),
linux-clk@...r.kernel.org (open list:COMMON CLK FRAMEWORK),
linux-doc@...r.kernel.org (open list:DOCUMENTATION),
linux-gpio@...r.kernel.org (open list:PIN CONTROL SUBSYSTEM),
linux-kernel@...r.kernel.org (open list),
linux-mtd@...ts.infradead.org (open list:MEMORY TECHNOLOGY DEVICES
(MTD)), linux-serial@...r.kernel.org (open list:SERIAL DRIVERS),
Miquel Raynal <miquel.raynal@...tlin.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Richard Weinberger <richard@....at>,
Rickard x Andersson <rickaran@...s.com>,
Rob Herring <robh@...nel.org>,
Roger Quadros <rogerq@...nel.org>,
Samuel Holland <samuel@...lland.org>,
Shawn Guo <shawnguo@...nel.org>,
Sven Peter <sven@...npeter.dev>,
Yinbo Zhu <zhuyinbo@...ngson.cn>
Subject: [PATCH 00/15] Ambarella S6LM SoC bring-up
This series brings up initial support for the Ambarella S6LM
SoC.
The following features are supported in this initial port:
- UART with console support
- Pinctrl with GPIO controller
- Nand flash controller
- Devicetree
Li Chen (15):
debugfs: allow to use regmap for print regs
dt-bindings: vendor-prefixes: add Ambarella prefix
dt-bindings: arm: ambarella: Add binding for Ambarella ARM platforms
dt-bindings: arm: add support for Ambarella SoC
arm64: Kconfig: Introduce CONFIG_ARCH_AMBARELLA
soc: add Ambarella driver
dt-bindings: clock: Add Ambarella clock bindings
clk: add support for Ambarella clocks
dt-bindings: serial: add support for Ambarella
serial: ambarella: add support for Ambarella uart_port
dt-bindings: mtd: Add binding for Ambarella
mtd: nand: add Ambarella nand support
dt-bindings: pinctrl: add support for Ambarella
pinctrl: Add pinctrl/GPIO for Ambarella SoCs
arm64: dts: ambarella: introduce Ambarella s6lm SoC
.../devicetree/bindings/arm/ambarella.yaml | 22 +
.../arm/ambarella/ambarella,cpuid.yaml | 24 +
.../bindings/arm/ambarella/ambarella,rct.yaml | 24 +
.../arm/ambarella/ambarella,scratchpad.yaml | 24 +
.../bindings/arm/ambarella/ambarella.yaml | 22 +
.../clock/ambarella,composite-clock.yaml | 52 +
.../bindings/clock/ambarella,pll-clock.yaml | 59 +
.../bindings/mtd/ambarella,nand.yaml | 77 +
.../bindings/pinctrl/ambarella,pinctrl.yaml | 160 ++
.../bindings/serial/ambarella_uart.yaml | 57 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
Documentation/filesystems/debugfs.rst | 2 +
MAINTAINERS | 29 +
arch/arm64/Kconfig.platforms | 9 +
.../boot/dts/ambarella/ambarella-s6lm.dtsi | 332 ++++
.../boot/dts/ambarella/s6lm_pineapple.dts | 29 +
drivers/clk/Makefile | 1 +
drivers/clk/ambarella/Makefile | 5 +
drivers/clk/ambarella/clk-composite.c | 293 +++
drivers/clk/ambarella/clk-pll-common.c | 308 ++++
drivers/clk/ambarella/clk-pll-common.h | 96 +
drivers/clk/ambarella/clk-pll-normal.c | 328 ++++
drivers/mtd/nand/raw/Kconfig | 8 +
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/ambarella_combo_nand.c | 1519 ++++++++++++++++
drivers/mtd/nand/raw/ambarella_combo_nand.h | 370 ++++
drivers/mtd/nand/raw/nand_ids.c | 4 +
drivers/pinctrl/Kconfig | 6 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-ambarella.c | 1357 ++++++++++++++
drivers/soc/Makefile | 1 +
drivers/soc/ambarella/Makefile | 3 +
drivers/soc/ambarella/soc.c | 136 ++
drivers/tty/serial/Kconfig | 16 +
drivers/tty/serial/Makefile | 1 +
drivers/tty/serial/ambarella_uart.c | 1581 +++++++++++++++++
drivers/tty/serial/ambarella_uart.h | 120 ++
fs/debugfs/file.c | 43 +-
include/linux/debugfs.h | 11 +
include/soc/ambarella/misc.h | 17 +
40 files changed, 7149 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/arm/ambarella.yaml
create mode 100644 Documentation/devicetree/bindings/arm/ambarella/ambarella,cpuid.yaml
create mode 100644 Documentation/devicetree/bindings/arm/ambarella/ambarella,rct.yaml
create mode 100644 Documentation/devicetree/bindings/arm/ambarella/ambarella,scratchpad.yaml
create mode 100644 Documentation/devicetree/bindings/arm/ambarella/ambarella.yaml
create mode 100644 Documentation/devicetree/bindings/clock/ambarella,composite-clock.yaml
create mode 100644 Documentation/devicetree/bindings/clock/ambarella,pll-clock.yaml
create mode 100644 Documentation/devicetree/bindings/mtd/ambarella,nand.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/ambarella,pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/serial/ambarella_uart.yaml
create mode 100644 arch/arm64/boot/dts/ambarella/ambarella-s6lm.dtsi
create mode 100644 arch/arm64/boot/dts/ambarella/s6lm_pineapple.dts
create mode 100644 drivers/clk/ambarella/Makefile
create mode 100644 drivers/clk/ambarella/clk-composite.c
create mode 100644 drivers/clk/ambarella/clk-pll-common.c
create mode 100644 drivers/clk/ambarella/clk-pll-common.h
create mode 100644 drivers/clk/ambarella/clk-pll-normal.c
create mode 100644 drivers/mtd/nand/raw/ambarella_combo_nand.c
create mode 100644 drivers/mtd/nand/raw/ambarella_combo_nand.h
create mode 100644 drivers/pinctrl/pinctrl-ambarella.c
create mode 100644 drivers/soc/ambarella/Makefile
create mode 100644 drivers/soc/ambarella/soc.c
create mode 100644 drivers/tty/serial/ambarella_uart.c
create mode 100644 drivers/tty/serial/ambarella_uart.h
create mode 100644 include/soc/ambarella/misc.h
--
2.34.1
Powered by blists - more mailing lists