From fbb97e46efe1f4d24b1d2b1a53ae5386af531cd9 Mon Sep 17 00:00:00 2001 From: Andy Duan Date: Wed, 29 Mar 2017 14:56:19 +0800 Subject: MLK-14546 tty: serial: fsl_lpuart: add per_clk support i.MX8QM lpuart has ipg_clk and per_clk, ipg_clk for bus and register accessing, per_clk is lpuart module clock. Add per_clk support in driver. Signed-off-by: Fugang Duan --- Documentation/devicetree/bindings/serial/fsl-lpuart.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree/bindings/serial') diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt index c95005efbcb8..9ad9ddc7c666 100644 --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt @@ -6,14 +6,24 @@ Required properties: on Vybrid vf610 SoC with 8-bit register organization - "fsl,ls1021a-lpuart" for lpuart compatible with the one integrated on LS1021A SoC with 32-bit big-endian register organization + - "fsl,imx7ulp-lpuart" for lpuart compatible with the one integrated + on i.MX7ULP SoC with 32-bit little-endian register organization + - "fsl,imx8qm-lpuart"for lpuart compatible with the one integrated + on i.MX8QM SoC with 32-bit little-endian register organization, which + is based on i.MX7ULP lpuart IP but add EEOP new feature. - 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 +- clock-names : should contain: "ipg" - the uart peripheral register accessing + clock source, if "per" clock missing, the "ipg" clock also is the uart module + clock. Optional properties: - dmas: A list of two dma specifiers, one for each entry in dma-names. - dma-names: should contain "tx" and "rx". +- clocks : phandle + clock specifier pairs, one for each entry in clock-names +- clock-names : "per" - the uart module clock. + clock. Note: Optional properties for DMA support. Write them both or both not. -- cgit v1.2.3