diff options
| author | Alexander Stein <alexander.stein@systec-electronic.com> | 2015-03-05 02:35:38 -0500 |
|---|---|---|
| committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-03-23 10:36:30 -0400 |
| commit | 4518996f90b1c2e04dfa15137dcafe59a47b59f7 (patch) | |
| tree | 6c07aa47f9fa5f4d1eccdc85ef8f7c9796e27a37 | |
| parent | 35762a624f82dbea7c62177bf3ef0cde0d0f84bc (diff) | |
DT: video: atmel_lcdc: Add example of fixed framebuffer memory
This drivers allows a fixed framebuffer memory to be set by an additional
IORESOURCE_MEM resource. Thus add an example to the DT documentation.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
| -rw-r--r-- | Documentation/devicetree/bindings/video/atmel,lcdc.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/video/atmel,lcdc.txt b/Documentation/devicetree/bindings/video/atmel,lcdc.txt index f059dd0b3d28..ecb8da063d07 100644 --- a/Documentation/devicetree/bindings/video/atmel,lcdc.txt +++ b/Documentation/devicetree/bindings/video/atmel,lcdc.txt | |||
| @@ -10,7 +10,9 @@ Required properties: | |||
| 10 | "atmel,at91sam9g45es-lcdc" , | 10 | "atmel,at91sam9g45es-lcdc" , |
| 11 | "atmel,at91sam9rl-lcdc" , | 11 | "atmel,at91sam9rl-lcdc" , |
| 12 | "atmel,at32ap-lcdc" | 12 | "atmel,at32ap-lcdc" |
| 13 | - reg : Should contain 1 register ranges(address and length) | 13 | - reg : Should contain 1 register ranges(address and length). |
| 14 | Can contain an additional register range(address and length) | ||
| 15 | for fixed framebuffer memory. Useful for dedicated memories. | ||
| 14 | - interrupts : framebuffer controller interrupt | 16 | - interrupts : framebuffer controller interrupt |
| 15 | - display: a phandle pointing to the display node | 17 | - display: a phandle pointing to the display node |
| 16 | 18 | ||
| @@ -38,6 +40,14 @@ Example: | |||
| 38 | 40 | ||
| 39 | }; | 41 | }; |
| 40 | 42 | ||
| 43 | Example for fixed framebuffer memory: | ||
| 44 | |||
| 45 | fb0: fb@0x00500000 { | ||
| 46 | compatible = "atmel,at91sam9263-lcdc"; | ||
| 47 | reg = <0x00700000 0x1000 0x70000000 0x200000>; | ||
| 48 | [...] | ||
| 49 | }; | ||
| 50 | |||
| 41 | Atmel LCDC Display | 51 | Atmel LCDC Display |
| 42 | ----------------------------------------------------- | 52 | ----------------------------------------------------- |
| 43 | Required properties (as per of_videomode_helper): | 53 | Required properties (as per of_videomode_helper): |
