serial: fsl_lpuart: documented the clock requirement.
authorYuan Yao <yao.yuan@freescale.com>
Mon, 17 Feb 2014 05:28:08 +0000 (13:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:50:26 +0000 (12:50 -0800)
This is a correction to the documentation. It was previously required but not documented.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/fsl-lpuart.txt

index b06e305..a1d1205 100644 (file)
@@ -4,6 +4,8 @@ Required properties:
 - compatible : Should be "fsl,<soc>-lpuart"
 - reg : Address and length of the register set for the device
 - interrupts : Should contain uart interrupt
+- clocks : phandle + clock specifier pairs, one for each entry in clock-names
+- clock-names : should contain: "ipg" - the uart clock
 
 Optional properties:
 - dmas: A list of two dma specifiers, one for each entry in dma-names.
@@ -17,6 +19,8 @@ uart0: serial@40027000 {
                compatible = "fsl,vf610-lpuart";
                reg = <0x40027000 0x1000>;
                interrupts = <0 61 0x00>;
+               clocks = <&clks VF610_CLK_UART0>;
+               clock-names = "ipg";
                dmas = <&edma0 0 2>,
                        <&edma0 0 3>;
                dma-names = "rx","tx";