LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 1/1] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
@ 2015-03-05 7:35 Alexander Stein
2015-03-11 16:39 ` Nicolas Ferre
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Stein @ 2015-03-05 7:35 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: Alexander Stein, devicetree, linux-kernel, Nicolas Ferre
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>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
Changes in v2:
* Fix typo noticed by checkpatch.pl
Documentation/devicetree/bindings/video/atmel,lcdc.txt | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/video/atmel,lcdc.txt b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
index f059dd0..ecb8da0 100644
--- a/Documentation/devicetree/bindings/video/atmel,lcdc.txt
+++ b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
@@ -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):
--
2.0.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/1] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
2015-03-05 7:35 [PATCH v2 1/1] DT: video: atmel_lcdc: Add example of fixed framebuffer memory Alexander Stein
@ 2015-03-11 16:39 ` Nicolas Ferre
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2015-03-11 16:39 UTC (permalink / raw)
To: Alexander Stein, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala
Cc: devicetree, linux-kernel
Le 05/03/2015 08:35, Alexander Stein a écrit :
> 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>
> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Queued in at91-4.1-dt. Thanks!
> ---
> Changes in v2:
> * Fix typo noticed by checkpatch.pl
>
> Documentation/devicetree/bindings/video/atmel,lcdc.txt | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/video/atmel,lcdc.txt b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
> index f059dd0..ecb8da0 100644
> --- a/Documentation/devicetree/bindings/video/atmel,lcdc.txt
> +++ b/Documentation/devicetree/bindings/video/atmel,lcdc.txt
> @@ -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):
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-11 16:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-05 7:35 [PATCH v2 1/1] DT: video: atmel_lcdc: Add example of fixed framebuffer memory Alexander Stein
2015-03-11 16:39 ` Nicolas Ferre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).