diff mbox series

[v6,08/11] dt-bindings: serial: Document RDA Micro UART

Message ID 20181218080527.10801-9-manivannan.sadhasivam@linaro.org
State Superseded
Headers show
Series [v6,01/11] dt-bindings: Add RDA Micro vendor prefix | expand

Commit Message

Manivannan Sadhasivam Dec. 18, 2018, 8:05 a.m. UTC
From: Andreas Färber <afaerber@suse.de>


Add an initial binding for the UART in RDA Micro RDA8810PL SoC.

Signed-off-by: Andreas Färber <afaerber@suse.de>

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 .../bindings/serial/rda,8810pl-uart.txt         | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt

-- 
2.17.1

Comments

Rob Herring (Arm) Dec. 18, 2018, 2:54 p.m. UTC | #1
On Tue, Dec 18, 2018 at 01:35:24PM +0530, Manivannan Sadhasivam wrote:
> From: Andreas Färber <afaerber@suse.de>

> 

> Add an initial binding for the UART in RDA Micro RDA8810PL SoC.

> 

> Signed-off-by: Andreas Färber <afaerber@suse.de>

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  .../bindings/serial/rda,8810pl-uart.txt         | 17 +++++++++++++++++

>  1 file changed, 17 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt


Please add acks/reviewed-bys when posting new versions.

Rob
Manivannan Sadhasivam Dec. 18, 2018, 2:57 p.m. UTC | #2
On Tue, Dec 18, 2018 at 08:54:43AM -0600, Rob Herring wrote:
> On Tue, Dec 18, 2018 at 01:35:24PM +0530, Manivannan Sadhasivam wrote:

> > From: Andreas Färber <afaerber@suse.de>

> > 

> > Add an initial binding for the UART in RDA Micro RDA8810PL SoC.

> > 

> > Signed-off-by: Andreas Färber <afaerber@suse.de>

> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > ---

> >  .../bindings/serial/rda,8810pl-uart.txt         | 17 +++++++++++++++++

> >  1 file changed, 17 insertions(+)

> >  create mode 100644 Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt

> 

> Please add acks/reviewed-bys when posting new versions.

>


Hi Rob,

Sorry for that. I missed your Reviewed-by tag here. Will add it in the
next iteration which I'm going to send to ARM SoC list.

Regards,
Mani

> Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt b/Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
new file mode 100644
index 000000000000..a08df97a69e6
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
@@ -0,0 +1,17 @@ 
+RDA Micro UART
+
+Required properties:
+- compatible :  "rda,8810pl-uart" for RDA8810PL SoCs.
+- reg        :  Offset and length of the register set for the device.
+- interrupts :  Should contain UART interrupt.
+- clocks     :  Phandle to the input clock.
+
+
+Example:
+
+		uart2: serial@20a90000 {
+			compatible = "rda,8810pl-uart";
+			reg = <0x20a90000 0x1000>;
+			interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&uart_clk>;
+		};