diff mbox series

[v3,7/9] dt-bindings: serial: Add Milbeaut serial driver description

Message ID 1550648677-11164-1-git-send-email-sugaya.taichi@socionext.com
State Accepted
Commit 0e585aabc500693461a0663013319264ba5927f3
Headers show
Series None | expand

Commit Message

Sugaya Taichi Feb. 20, 2019, 7:44 a.m. UTC
Add DT bindings document for Milbeaut serial driver.

Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>

---
 .../devicetree/bindings/serial/milbeaut-uart.txt    | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt

-- 
1.9.1

Comments

Rob Herring (Arm) Feb. 22, 2019, 6:38 p.m. UTC | #1
On Wed, 20 Feb 2019 16:44:37 +0900, Sugaya Taichi wrote:
> Add DT bindings document for Milbeaut serial driver.

> 

> Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>

> ---

>  .../devicetree/bindings/serial/milbeaut-uart.txt    | 21 +++++++++++++++++++++

>  1 file changed, 21 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Sugaya Taichi Feb. 25, 2019, 12:13 p.m. UTC | #2
Hi Rob,

On 2019/02/23 3:38, Rob Herring wrote:
> On Wed, 20 Feb 2019 16:44:37 +0900, Sugaya Taichi wrote:

>> Add DT bindings document for Milbeaut serial driver.

>>

>> Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>

>> ---

>>   .../devicetree/bindings/serial/milbeaut-uart.txt    | 21 +++++++++++++++++++++

>>   1 file changed, 21 insertions(+)

>>   create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt

>>

> 

> Reviewed-by: Rob Herring <robh@kernel.org>

> 


Thank you!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/milbeaut-uart.txt b/Documentation/devicetree/bindings/serial/milbeaut-uart.txt
new file mode 100644
index 0000000..3d2fb1a
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/milbeaut-uart.txt
@@ -0,0 +1,21 @@ 
+Socionext Milbeaut UART controller
+
+Required properties:
+- compatible: should be "socionext,milbeaut-usio-uart".
+- reg: offset and length of the register set for the device.
+- interrupts: two interrupts specifier.
+- interrupt-names: should be "rx", "tx".
+- clocks: phandle to the input clock.
+
+Optional properties:
+- auto-flow-control: flow control enable.
+
+Example:
+	usio1: usio_uart@1e700010 {
+		compatible = "socionext,milbeaut-usio-uart";
+		reg = <0x1e700010 0x10>;
+		interrupts = <0 141 0x4>, <0 149 0x4>;
+		interrupt-names = "rx", "tx";
+		clocks = <&clk 2>;
+		auto-flow-control;
+	};