[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210913060231.15619-1-chiawei_wang@aspeedtech.com>
Date: Mon, 13 Sep 2021 14:02:27 +0800
From: Chia-Wei Wang <chiawei_wang@...eedtech.com>
To: <joel@....id.au>, <andrew@...id.au>, <robh+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-aspeed@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <openbmc@...ts.ozlabs.org>
CC: <osk@...gle.com>, <yulei.sh@...edance.com>
Subject: [PATCH v4 0/4] arm: aspeed: Add UART routing support
Add UART routing driver and the device tree nodes.
v4:
- Convert aspeed-lpc bindings to YAML schema to resolve dependecy issues
v3:
- Add individual bindings in YAML
- Add support for AST24xx (AST25xx shares the same design)
- Add more explanation for the sysfs ABI
v2:
- Add dt-bindings
- Add ABI documents for the exported sysfs interface
- Revise driver implementation suggested by Joel
Chia-Wei Wang (4):
dt-bindings: mfd: aspeed-lpc: Convert to YAML schema
dt-bindings: aspeed: Add UART routing controller
soc: aspeed: Add UART routing support
ARM: dts: aspeed: Add uart routing to device tree
.../testing/sysfs-driver-aspeed-uart-routing | 15 +
.../devicetree/bindings/mfd/aspeed-lpc.txt | 157 -----
.../devicetree/bindings/mfd/aspeed-lpc.yaml | 191 ++++++
.../bindings/soc/aspeed/uart-routing.yaml | 70 ++
arch/arm/boot/dts/aspeed-g4.dtsi | 6 +
arch/arm/boot/dts/aspeed-g5.dtsi | 6 +
arch/arm/boot/dts/aspeed-g6.dtsi | 6 +
drivers/soc/aspeed/Kconfig | 10 +
drivers/soc/aspeed/Makefile | 9 +-
drivers/soc/aspeed/aspeed-uart-routing.c | 603 ++++++++++++++++++
10 files changed, 912 insertions(+), 161 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-aspeed-uart-routing
delete mode 100644 Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
create mode 100644 Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml
create mode 100644 Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml
create mode 100644 drivers/soc/aspeed/aspeed-uart-routing.c
--
2.17.1
Powered by blists - more mailing lists