Skip to contentSkip to conversation

dt-bindings: serial: Convert altr,uart-1.0 to DT schema

PATCH Applied Rob Herring (Arm) 3 participants 3 messages May 6, 2025 – May 13, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: serial: Convert altr,uart-1.0 to DT schema

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

---
 .../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
Documentation/devicetree/bindings/serial/altera_uart.txt deleted +0 -8
deleted file mode 100644
index 81bf7ffb1a81..000000000000
@@ -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
Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml new file +25 -0
new file mode 100644
index 000000000000..72d4972e1e22
@@ -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 <[email protected]>
+
+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
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Rob Herring (Arm)

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

---
 .../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
#2 lore raw
In reply to Rob Herring (Arm)
Quoted 11 lines · Rob Herring (Arm)

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

---
  .../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