aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@freescale.com>2014-02-17 05:28:08 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 20:50:26 (GMT)
commit12f287878afc39acea00b3e62baf72c79878c427 (patch)
tree109e53cf0c2a0d9046f3182e91af768eb997754e /Documentation/devicetree/bindings/serial
parentf1cd8c8792ccc7e9520ef8f27fbdb748448ac482 (diff)
serial: fsl_lpuart: documented the clock requirement.
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>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
-rw-r--r--Documentation/devicetree/bindings/serial/fsl-lpuart.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
index b06e305..a1d1205 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
@@ -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";

Privacy Policy