Skip to content

Commit 669bd38

Browse files
robherringgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: "Rob Herring (Arm)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 76619c4 commit 669bd38

File tree

2 files changed

+56
-21
lines changed

2 files changed

+56
-21
lines changed

Documentation/devicetree/bindings/serial/milbeaut-uart.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 <[email protected]>
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+
};

0 commit comments

Comments
 (0)