DT: video: atmel_lcdc: Add example of fixed framebuffer memory
authorAlexander Stein <alexander.stein@systec-electronic.com>
Thu, 5 Mar 2015 07:35:38 +0000 (08:35 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 23 Mar 2015 14:36:30 +0000 (15:36 +0100)
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>
Documentation/devicetree/bindings/video/atmel,lcdc.txt

index f059dd0b3d286c3adc1e2b42571a2d48de4b641b..ecb8da063d07b82350060ff3ce8f3af9df35a549 100644 (file)
@@ -10,7 +10,9 @@ Required properties:
        "atmel,at91sam9g45es-lcdc" ,
        "atmel,at91sam9rl-lcdc" ,
        "atmel,at32ap-lcdc"
-- reg : Should contain 1 register ranges(address and length)
+- reg : Should contain 1 register ranges(address and length).
+       Can contain an additional register range(address and length)
+       for fixed framebuffer memory. Useful for dedicated memories.
 - interrupts : framebuffer controller interrupt
 - display: a phandle pointing to the display node
 
@@ -38,6 +40,14 @@ Example:
 
        };
 
+Example for fixed framebuffer memory:
+
+       fb0: fb@0x00500000 {
+               compatible = "atmel,at91sam9263-lcdc";
+               reg = <0x00700000 0x1000 0x70000000 0x200000>;
+               [...]
+       };
+
 Atmel LCDC Display
 -----------------------------------------------------
 Required properties (as per of_videomode_helper):