From: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
To: <joel@jms.id.au>, <andrew@aj.id.au>, <robh+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-aspeed@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <openbmc@lists.ozlabs.org>
Cc: yulei.sh@bytedance.com, osk@google.com
Subject: [PATCH v4 0/4] arm: aspeed: Add UART routing support
Date: Mon, 13 Sep 2021 14:02:27 +0800 [thread overview]
Message-ID: <20210913060231.15619-1-chiawei_wang@aspeedtech.com> (raw)
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
next reply other threads:[~2021-09-13 6:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-13 6:02 Chia-Wei Wang [this message]
2021-09-13 6:02 ` [PATCH v4 1/4] dt-bindings: mfd: aspeed-lpc: Convert to YAML schema Chia-Wei Wang
2021-09-13 12:18 ` Rob Herring
2021-09-14 1:33 ` ChiaWei Wang
2021-09-14 12:28 ` Rob Herring
2021-09-15 2:21 ` ChiaWei Wang
2021-09-13 6:02 ` [PATCH v4 2/4] dt-bindings: aspeed: Add UART routing controller Chia-Wei Wang
2021-09-13 6:02 ` [PATCH v4 3/4] soc: aspeed: Add UART routing support Chia-Wei Wang
2021-09-13 6:02 ` [PATCH v4 4/4] ARM: dts: aspeed: Add uart routing to device tree Chia-Wei Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210913060231.15619-1-chiawei_wang@aspeedtech.com \
--to=chiawei_wang@aspeedtech.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=osk@google.com \
--cc=robh+dt@kernel.org \
--cc=yulei.sh@bytedance.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).