public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema
@ 2025-05-06 22:00 Rob Herring (Arm)
  2025-05-07 13:57 ` Thierry Reding
  2025-05-13  3:28 ` Dinh Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-05-06 22:00 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Krzysztof Kozlowski, Conor Dooley,
	Dinh Nguyen
  Cc: linux-kernel, linux-serial, devicetree

Convert the Altera JTAG UART binding to DT schema. The "ALTR,uart-1.0"
compatible has long been deprecated, so drop it.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/serial/altera_uart.txt           |  8 ------
 .../bindings/serial/altr,uart-1.0.yaml        | 25 +++++++++++++++++++
 2 files changed, 25 insertions(+), 8 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/altera_uart.txt
 create mode 100644 Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml

diff --git a/Documentation/devicetree/bindings/serial/altera_uart.txt b/Documentation/devicetree/bindings/serial/altera_uart.txt
deleted file mode 100644
index 81bf7ffb1a81..000000000000
--- a/Documentation/devicetree/bindings/serial/altera_uart.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Altera UART
-
-Required properties:
-- compatible : should be "ALTR,uart-1.0" <DEPRECATED>
-- compatible : should be "altr,uart-1.0"
-
-Optional properties:
-- clock-frequency : frequency of the clock input to the UART
diff --git a/Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml b/Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml
new file mode 100644
index 000000000000..72d4972e1e22
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/altr,uart-1.0.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Altera UART
+
+maintainers:
+  - Dinh Nguyen <dinguyen@kernel.org>
+
+allOf:
+  - $ref: /schemas/serial/serial.yaml#
+
+properties:
+  compatible:
+    const: altr,uart-1.0
+
+  clock-frequency:
+    description: Frequency of the clock input to the UART.
+
+required:
+  - compatible
+
+unevaluatedProperties: false
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema
  2025-05-06 22:00 [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema Rob Herring (Arm)
@ 2025-05-07 13:57 ` Thierry Reding
  2025-05-13  3:28 ` Dinh Nguyen
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2025-05-07 13:57 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Greg Kroah-Hartman, Jiri Slaby, Krzysztof Kozlowski, Conor Dooley,
	Dinh Nguyen, linux-kernel, linux-serial, devicetree

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

On Tue, May 06, 2025 at 05:00:03PM -0500, Rob Herring (Arm) wrote:
> Convert the Altera JTAG UART binding to DT schema. The "ALTR,uart-1.0"
> compatible has long been deprecated, so drop it.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  .../bindings/serial/altera_uart.txt           |  8 ------
>  .../bindings/serial/altr,uart-1.0.yaml        | 25 +++++++++++++++++++
>  2 files changed, 25 insertions(+), 8 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/serial/altera_uart.txt
>  create mode 100644 Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml

Reviewed-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema
  2025-05-06 22:00 [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema Rob Herring (Arm)
  2025-05-07 13:57 ` Thierry Reding
@ 2025-05-13  3:28 ` Dinh Nguyen
  1 sibling, 0 replies; 3+ messages in thread
From: Dinh Nguyen @ 2025-05-13  3:28 UTC (permalink / raw)
  To: Rob Herring (Arm), Greg Kroah-Hartman, Jiri Slaby,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-kernel, linux-serial, devicetree

On 5/6/25 17:00, Rob Herring (Arm) wrote:
> Convert the Altera JTAG UART binding to DT schema. The "ALTR,uart-1.0"
> compatible has long been deprecated, so drop it.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>   .../bindings/serial/altera_uart.txt           |  8 ------
>   .../bindings/serial/altr,uart-1.0.yaml        | 25 +++++++++++++++++++
>   2 files changed, 25 insertions(+), 8 deletions(-)
>   delete mode 100644 Documentation/devicetree/bindings/serial/altera_uart.txt
>   create mode 100644 Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml
> 

Applied!

Thanks,
Dinh


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-13  3:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 22:00 [PATCH] dt-bindings: serial: Convert altr,uart-1.0 to DT schema Rob Herring (Arm)
2025-05-07 13:57 ` Thierry Reding
2025-05-13  3:28 ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox