Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: serial: Convert socionext,milbeaut-usio-uart to DT schema

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>
Link: https://lore.kernel.org/r/20250507154924.1602842-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rob Herring (Arm) and committed by
Greg Kroah-Hartman
669bd383 76619c4f

+56 -21
-21
Documentation/devicetree/bindings/serial/milbeaut-uart.txt
··· 1 - Socionext Milbeaut UART controller 2 - 3 - Required properties: 4 - - compatible: should be "socionext,milbeaut-usio-uart". 5 - - reg: offset and length of the register set for the device. 6 - - interrupts: two interrupts specifier. 7 - - interrupt-names: should be "rx", "tx". 8 - - clocks: phandle to the input clock. 9 - 10 - Optional properties: 11 - - auto-flow-control: flow control enable. 12 - 13 - Example: 14 - usio1: usio_uart@1e700010 { 15 - compatible = "socionext,milbeaut-usio-uart"; 16 - reg = <0x1e700010 0x10>; 17 - interrupts = <0 141 0x4>, <0 149 0x4>; 18 - interrupt-names = "rx", "tx"; 19 - clocks = <&clk 2>; 20 - auto-flow-control; 21 - };
+56
Documentation/devicetree/bindings/serial/socionext,milbeaut-usio-uart.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/socionext,milbeaut-usio-uart.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Socionext Milbeaut UART controller 8 + 9 + maintainers: 10 + - Sugaya Taichi <sugaya.taichi@socionext.com> 11 + 12 + allOf: 13 + - $ref: /schemas/serial/serial.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: socionext,milbeaut-usio-uart 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupts: 23 + items: 24 + - description: RX interrupt specifier 25 + - description: TX interrupt specifier 26 + 27 + interrupt-names: 28 + items: 29 + - const: rx 30 + - const: tx 31 + 32 + clocks: 33 + maxItems: 1 34 + 35 + auto-flow-control: 36 + description: Enable automatic flow control. 37 + type: boolean 38 + 39 + required: 40 + - compatible 41 + - reg 42 + - interrupts 43 + - interrupt-names 44 + 45 + unevaluatedProperties: false 46 + 47 + examples: 48 + - | 49 + serial@1e700010 { 50 + compatible = "socionext,milbeaut-usio-uart"; 51 + reg = <0x1e700010 0x10>; 52 + interrupts = <0 141 0x4>, <0 149 0x4>; 53 + interrupt-names = "rx", "tx"; 54 + clocks = <&clk 2>; 55 + auto-flow-control; 56 + };