From: Christian Marangi <ansuelsmth@gmail.com>
To: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Benjamin Larsson" <benjamin.larsson@genexis.eu>,
"Christian Marangi" <ansuelsmth@gmail.com>,
"John Ogness" <john.ogness@linutronix.de>,
"Jacques Nilo" <jnilo@free.fr>,
"Randy Dunlap" <rdunlap@infradead.org>,
"Rong Zhang" <rongrong@oss.cipunited.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Gerhard Engleder" <eg@keba.com>,
"Binbin Zhou" <zhoubinbin@loongson.cn>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Haowei Zheng" <zhenghaowei@loongson.cn>,
"Lubomir Rintel" <lkundrak@v3.sk>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-serial@vger.kernel.org
Subject: [PATCH v5 1/3] dt-bindings: serial: 8250: Reorganize compatible to single enum
Date: Mon, 10 Aug 2026 17:26:33 +0200 [thread overview]
Message-ID: <20260810152636.658955-2-ansuelsmth@gmail.com> (raw)
In-Reply-To: <20260810152636.658955-1-ansuelsmth@gmail.com>
Instead of declaring each single compatible string with a const, move them
to a single enum and reorder them.
First put the generic ns one and then follow alphabetical order.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
.../devicetree/bindings/serial/8250.yaml | 27 ++++++++++---------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index bb7b9c87a807..039bd392f876 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -99,19 +99,20 @@ allOf:
properties:
compatible:
oneOf:
- - const: ns8250
- - const: ns16450
- - const: ns16550
- - const: ns16550a
- - const: ns16850
- - const: aspeed,ast2400-vuart
- - const: aspeed,ast2500-vuart
- - const: intel,xscale-uart
- - const: mrvl,pxa-uart
- - const: nuvoton,wpcm450-uart
- - const: nuvoton,npcm750-uart
- - const: nvidia,tegra20-uart
- - const: nxp,lpc3220-uart
+ - enum:
+ - ns8250
+ - ns16450
+ - ns16550
+ - ns16550a
+ - ns16850
+ - aspeed,ast2400-vuart
+ - aspeed,ast2500-vuart
+ - intel,xscale-uart
+ - mrvl,pxa-uart
+ - nuvoton,npcm750-uart
+ - nuvoton,wpcm450-uart
+ - nvidia,tegra20-uart
+ - nxp,lpc3220-uart
- items:
- enum:
- exar,xr16l2552
--
2.53.0
next prev parent reply other threads:[~2026-08-10 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 15:26 [PATCH v5 0/3] serial: 8250: Add AN7581 UART support Christian Marangi
2026-08-10 15:26 ` Christian Marangi [this message]
2026-08-10 15:26 ` [PATCH v5 2/3] dt-bindings: serial: 8250: Add Airoha compatibles Christian Marangi
2026-08-10 15:26 ` [PATCH v5 3/3] serial: 8250: Add Airoha SoC UART and HSUART support Christian Marangi
2026-08-10 15:52 ` sashiko-bot
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=20260810152636.658955-2-ansuelsmth@gmail.com \
--to=ansuelsmth@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=benjamin.larsson@genexis.eu \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eg@keba.com \
--cc=gregkh@linuxfoundation.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jiaxun.yang@flygoat.com \
--cc=jirislaby@kernel.org \
--cc=jnilo@free.fr \
--cc=john.ogness@linutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=lkundrak@v3.sk \
--cc=rdunlap@infradead.org \
--cc=robh@kernel.org \
--cc=rongrong@oss.cipunited.com \
--cc=zhenghaowei@loongson.cn \
--cc=zhoubinbin@loongson.cn \
/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