* [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema
@ 2025-05-07 15:49 Rob Herring (Arm)
2025-05-09 14:50 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-05-07 15:49 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Krzysztof Kozlowski, Conor Dooley,
Taichi Sugaya, Takao Orito
Cc: Thierry Reding, linux-kernel, linux-serial, devicetree,
linux-arm-kernel
Convert the Socionext Milbeaut UART binding to DT schema. It is a
straight-forward conversion.
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
v2:
- Fix $id path
---
.../bindings/serial/milbeaut-uart.txt | 21 -------
.../serial/socionext,milbeaut-usio-uart.yaml | 56 +++++++++++++++++++
2 files changed, 56 insertions(+), 21 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt
create mode 100644 Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
diff --git a/Documentation/devicetree/bindings/serial/milbeaut-uart.txt b/Documentation/devicetree/bindings/serial/milbeaut-uart.txt
deleted file mode 100644
index 3d2fb1a7ba94..000000000000
--- a/Documentation/devicetree/bindings/serial/milbeaut-uart.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Socionext Milbeaut UART controller
-
-Required properties:
-- compatible: should be "socionext,milbeaut-usio-uart".
-- reg: offset and length of the register set for the device.
-- interrupts: two interrupts specifier.
-- interrupt-names: should be "rx", "tx".
-- clocks: phandle to the input clock.
-
-Optional properties:
-- auto-flow-control: flow control enable.
-
-Example:
- usio1: usio_uart@1e700010 {
- compatible = "socionext,milbeaut-usio-uart";
- reg = <0x1e700010 0x10>;
- interrupts = <0 141 0x4>, <0 149 0x4>;
- interrupt-names = "rx", "tx";
- clocks = <&clk 2>;
- auto-flow-control;
- };
diff --git a/Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml b/Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
new file mode 100644
index 000000000000..34a997ca2e11
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/socionext,milbeaut-usio-uart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Socionext Milbeaut UART controller
+
+maintainers:
+ - Sugaya Taichi <sugaya.taichi@socionext.com>
+
+allOf:
+ - $ref: /schemas/serial/serial.yaml#
+
+properties:
+ compatible:
+ const: socionext,milbeaut-usio-uart
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: RX interrupt specifier
+ - description: TX interrupt specifier
+
+ interrupt-names:
+ items:
+ - const: rx
+ - const: tx
+
+ clocks:
+ maxItems: 1
+
+ auto-flow-control:
+ description: Enable automatic flow control.
+ type: boolean
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupt-names
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ serial@1e700010 {
+ compatible = "socionext,milbeaut-usio-uart";
+ reg = <0x1e700010 0x10>;
+ interrupts = <0 141 0x4>, <0 149 0x4>;
+ interrupt-names = "rx", "tx";
+ clocks = <&clk 2>;
+ auto-flow-control;
+ };
--
2.47.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema
2025-05-07 15:49 [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema Rob Herring (Arm)
@ 2025-05-09 14:50 ` Greg Kroah-Hartman
2025-05-09 15:29 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2025-05-09 14:50 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Jiri Slaby, Krzysztof Kozlowski, Conor Dooley, Taichi Sugaya,
Takao Orito, Thierry Reding, linux-kernel, linux-serial,
devicetree, linux-arm-kernel
On Wed, May 07, 2025 at 10:49:22AM -0500, Rob Herring (Arm) wrote:
> Convert the Socionext Milbeaut UART binding to DT schema. It is a
> straight-forward conversion.
>
> Reviewed-by: Thierry Reding <treding@nvidia.com>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> v2:
> - Fix $id path
> ---
> .../bindings/serial/milbeaut-uart.txt | 21 -------
> .../serial/socionext,milbeaut-usio-uart.yaml | 56 +++++++++++++++++++
> 2 files changed, 56 insertions(+), 21 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt
> create mode 100644 Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
Are you wanting all of these serial "convert to dt schema" patches to go
through the tty/serial tree, or will you be taking them? Either is fine
with me, your choice.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema
2025-05-09 14:50 ` Greg Kroah-Hartman
@ 2025-05-09 15:29 ` Rob Herring
2025-05-09 15:30 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2025-05-09 15:29 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Jiri Slaby, Krzysztof Kozlowski, Conor Dooley, Taichi Sugaya,
Takao Orito, Thierry Reding, linux-kernel, linux-serial,
devicetree, linux-arm-kernel
On Fri, May 9, 2025 at 9:51 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Wed, May 07, 2025 at 10:49:22AM -0500, Rob Herring (Arm) wrote:
> > Convert the Socionext Milbeaut UART binding to DT schema. It is a
> > straight-forward conversion.
> >
> > Reviewed-by: Thierry Reding <treding@nvidia.com>
> > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> > ---
> > v2:
> > - Fix $id path
> > ---
> > .../bindings/serial/milbeaut-uart.txt | 21 -------
> > .../serial/socionext,milbeaut-usio-uart.yaml | 56 +++++++++++++++++++
> > 2 files changed, 56 insertions(+), 21 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt
> > create mode 100644 Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
>
> Are you wanting all of these serial "convert to dt schema" patches to go
> through the tty/serial tree, or will you be taking them? Either is fine
> with me, your choice.
You can take them. With all of them, we're done converting serial drivers!
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema
2025-05-09 15:29 ` Rob Herring
@ 2025-05-09 15:30 ` Greg Kroah-Hartman
0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2025-05-09 15:30 UTC (permalink / raw)
To: Rob Herring
Cc: Jiri Slaby, Krzysztof Kozlowski, Conor Dooley, Taichi Sugaya,
Takao Orito, Thierry Reding, linux-kernel, linux-serial,
devicetree, linux-arm-kernel
On Fri, May 09, 2025 at 10:29:07AM -0500, Rob Herring wrote:
> On Fri, May 9, 2025 at 9:51 AM Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > On Wed, May 07, 2025 at 10:49:22AM -0500, Rob Herring (Arm) wrote:
> > > Convert the Socionext Milbeaut UART binding to DT schema. It is a
> > > straight-forward conversion.
> > >
> > > Reviewed-by: Thierry Reding <treding@nvidia.com>
> > > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> > > ---
> > > v2:
> > > - Fix $id path
> > > ---
> > > .../bindings/serial/milbeaut-uart.txt | 21 -------
> > > .../serial/socionext,milbeaut-usio-uart.yaml | 56 +++++++++++++++++++
> > > 2 files changed, 56 insertions(+), 21 deletions(-)
> > > delete mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt
> > > create mode 100644 Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
> >
> > Are you wanting all of these serial "convert to dt schema" patches to go
> > through the tty/serial tree, or will you be taking them? Either is fine
> > with me, your choice.
>
> You can take them. With all of them, we're done converting serial drivers!
Ok, I'll queue them up in a day or so, thanks!
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-09 20:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 15:49 [PATCH v2] dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema Rob Herring (Arm)
2025-05-09 14:50 ` Greg Kroah-Hartman
2025-05-09 15:29 ` Rob Herring
2025-05-09 15:30 ` Greg Kroah-Hartman
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).