aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@freescale.com>2014-02-17 13:28:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 12:50:26 -0800
commit12f287878afc39acea00b3e62baf72c79878c427 (patch)
tree109e53cf0c2a0d9046f3182e91af768eb997754e /Documentation/devicetree/bindings/serial
parentserial: fsl_lpuart: add DMA support (diff)
downloadlinux-dev-12f287878afc39acea00b3e62baf72c79878c427.tar.xz
linux-dev-12f287878afc39acea00b3e62baf72c79878c427.zip
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 b06e3053af9f..a1d1205d8185 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";