]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: serial: Convert altr,juart-1.0 to DT schema
authorRob Herring (Arm) <robh@kernel.org>
Fri, 2 May 2025 01:14:26 +0000 (20:14 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 11 Jun 2025 22:43:11 +0000 (17:43 -0500)
Convert the Altera JTAG UART binding to DT schema. The "ALTR,juart-1.0"
compatible has long been deprecated, so drop it.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/serial/altera_jtaguart.txt [deleted file]
Documentation/devicetree/bindings/serial/altr,juart-1.0.yaml [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/altera_jtaguart.txt b/Documentation/devicetree/bindings/serial/altera_jtaguart.txt
deleted file mode 100644 (file)
index 55a9010..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Altera JTAG UART
-
-Required properties:
-- compatible : should be "ALTR,juart-1.0" <DEPRECATED>
-- compatible : should be "altr,juart-1.0"
diff --git a/Documentation/devicetree/bindings/serial/altr,juart-1.0.yaml b/Documentation/devicetree/bindings/serial/altr,juart-1.0.yaml
new file mode 100644 (file)
index 0000000..02e20fa
--- /dev/null
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/altr,juart-1.0.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Altera JTAG UART
+
+maintainers:
+  - Dinh Nguyen <dinguyen@kernel.org>
+
+properties:
+  compatible:
+    const: altr,juart-1.0
+
+required:
+  - compatible
+
+additionalProperties: false