mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
tty/serial: at91: document clock properties
Document the clock properties required by the at91 usart driver. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5855b2104b
commit
8be3da65d9
1 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ Required properties:
|
||||||
additional mode or an USART new feature.
|
additional mode or an USART new feature.
|
||||||
- reg: Should contain registers location and length
|
- reg: Should contain registers location and length
|
||||||
- interrupts: Should contain interrupt
|
- interrupts: Should contain interrupt
|
||||||
|
- clock-names: tuple listing input clock names.
|
||||||
|
Required elements: "usart"
|
||||||
|
- clocks: phandles to input clocks.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- atmel,use-dma-rx: use of PDC or DMA for receiving data
|
- atmel,use-dma-rx: use of PDC or DMA for receiving data
|
||||||
|
|
@ -26,6 +29,8 @@ Example:
|
||||||
compatible = "atmel,at91sam9260-usart";
|
compatible = "atmel,at91sam9260-usart";
|
||||||
reg = <0xfff8c000 0x4000>;
|
reg = <0xfff8c000 0x4000>;
|
||||||
interrupts = <7>;
|
interrupts = <7>;
|
||||||
|
clocks = <&usart0_clk>;
|
||||||
|
clock-names = "usart";
|
||||||
atmel,use-dma-rx;
|
atmel,use-dma-rx;
|
||||||
atmel,use-dma-tx;
|
atmel,use-dma-tx;
|
||||||
};
|
};
|
||||||
|
|
@ -35,6 +40,8 @@ Example:
|
||||||
compatible = "atmel,at91sam9260-usart";
|
compatible = "atmel,at91sam9260-usart";
|
||||||
reg = <0xf001c000 0x100>;
|
reg = <0xf001c000 0x100>;
|
||||||
interrupts = <12 4 5>;
|
interrupts = <12 4 5>;
|
||||||
|
clocks = <&usart0_clk>;
|
||||||
|
clock-names = "usart";
|
||||||
atmel,use-dma-rx;
|
atmel,use-dma-rx;
|
||||||
atmel,use-dma-tx;
|
atmel,use-dma-tx;
|
||||||
dmas = <&dma0 2 0x3>,
|
dmas = <&dma0 2 0x3>,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue