diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-05-02 04:15:40 +0300 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-06-12 01:43:11 +0300 |
commit | f75794b6077ec729f57de9a1ad24f14d288a68bb (patch) | |
tree | 3bfa899b4bf44125bd6debc09fed529cdc65637f | |
parent | ed2a6ff0234e21cd5e56b63d8bff80120bbe5f15 (diff) | |
download | linux-f75794b6077ec729f57de9a1ad24f14d288a68bb.tar.xz |
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.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/serial/altera_uart.txt | 8 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/altr,uart-1.0.yaml | 25 |
2 files changed, 25 insertions, 8 deletions
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 |