devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
@ 2014-04-01  6:28 Alexander Stein
       [not found] ` <1396333730-10592-1-git-send-email-alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Stein @ 2014-04-01  6:28 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
  Cc: Alexander Stein, devicetree-u79uwXL29TY76Z2rM5mHXA

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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
---
Actually I stumbled myself over this wondering how can I use this specific
feature. In the end I found it myself my coincidence. So it's best to add
this as an example for other people maybe not that experienced on
device-tree.

 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 1ec175e..92492b7 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.Usefull for dedicated memories.
 - interrupts : framebuffer controller interrupt
 - display: a phandle pointing to the display node
 
@@ -35,6 +37,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):
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
       [not found] ` <1396333730-10592-1-git-send-email-alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
@ 2014-04-15 14:57   ` Alexander Stein
  2014-04-15 15:19     ` Nicolas Ferre
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Stein @ 2014-04-15 14:57 UTC (permalink / raw)
  To: Rob Herring
  Cc: Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Any feedback in this?

Regards,
Alexander

On Tuesday 01 April 2014 08:28:50, Alexander Stein wrote:
> 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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
> ---
> Actually I stumbled myself over this wondering how can I use this specific
> feature. In the end I found it myself my coincidence. So it's best to add
> this as an example for other people maybe not that experienced on
> device-tree.
> 
>  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 1ec175e..92492b7 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.Usefull for dedicated memories.
>  - interrupts : framebuffer controller interrupt
>  - display: a phandle pointing to the display node
>  
> @@ -35,6 +37,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):
> 

-- 
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Tel.: 03765 38600-1156
Fax: 03765 38600-4100
Email: alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org
Website: www.systec-electronic.com
 
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 28082

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
  2014-04-15 14:57   ` Alexander Stein
@ 2014-04-15 15:19     ` Nicolas Ferre
       [not found]       ` <534D4DF4.7060301-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Ferre @ 2014-04-15 15:19 UTC (permalink / raw)
  To: Alexander Stein, Rob Herring
  Cc: Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On 15/04/2014 16:57, Alexander Stein :
> Any feedback in this?

Actually I didn't notice it previously: thanks for the heads up.

> Regards,
> Alexander
> 
> On Tuesday 01 April 2014 08:28:50, Alexander Stein wrote:
>> 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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>

Indeed, it can be useful:

Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>


>> ---
>> Actually I stumbled myself over this wondering how can I use this specific
>> feature. In the end I found it myself my coincidence. So it's best to add
>> this as an example for other people maybe not that experienced on
>> device-tree.
>>
>>  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 1ec175e..92492b7 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.Usefull for dedicated memories.
>>  - interrupts : framebuffer controller interrupt
>>  - display: a phandle pointing to the display node
>>  
>> @@ -35,6 +37,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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory
       [not found]       ` <534D4DF4.7060301-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2014-10-29 11:38         ` Alexander Stein
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Stein @ 2014-10-29 11:38 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Will someone pick this up? It is laying around for 6 months now.

Thanks and best regards,
Alexander

On Tuesday 15 April 2014 17:19:16, Nicolas Ferre wrote:
> On 15/04/2014 16:57, Alexander Stein :
> > Any feedback in this?
> 
> Actually I didn't notice it previously: thanks for the heads up.
> 
> > Regards,
> > Alexander
> > 
> > On Tuesday 01 April 2014 08:28:50, Alexander Stein wrote:
> >> 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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
> 
> Indeed, it can be useful:
> 
> Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> 
> 
> >> ---
> >> Actually I stumbled myself over this wondering how can I use this specific
> >> feature. In the end I found it myself my coincidence. So it's best to add
> >> this as an example for other people maybe not that experienced on
> >> device-tree.
> >>
> >>  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 1ec175e..92492b7 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.Usefull for dedicated memories.
> >>  - interrupts : framebuffer controller interrupt
> >>  - display: a phandle pointing to the display node
> >>  
> >> @@ -35,6 +37,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):
> >>
> > 
> 
> 
> 

-- 
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Tel.: 03765 38600-1156
Fax: 03765 38600-4100
Email: alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org
Website: www.systec-electronic.com
 
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 28082

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-29 11:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01  6:28 [PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory Alexander Stein
     [not found] ` <1396333730-10592-1-git-send-email-alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
2014-04-15 14:57   ` Alexander Stein
2014-04-15 15:19     ` Nicolas Ferre
     [not found]       ` <534D4DF4.7060301-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-10-29 11:38         ` Alexander Stein

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).