From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: devicetree-discuss@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 6/8] ARM: at91: sam9263: add fb dt support
Date: Tue, 16 Apr 2013 17:11:35 +0200 [thread overview]
Message-ID: <516D6A27.6070202@atmel.com> (raw)
In-Reply-To: <20130416141326.GB4998@game.jcrosoft.org>
On 04/16/2013 04:13 PM, Jean-Christophe PLAGNIOL-VILLARD :
> On 16:11 Tue 16 Apr , Nicolas Ferre wrote:
>> On 04/11/2013 05:00 PM, Jean-Christophe PLAGNIOL-VILLARD :
>>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>>> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
>>> ---
>>> arch/arm/boot/dts/at91sam9263.dtsi | 39 ++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 39 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
>>> index 271d4de..3d0effa 100644
>>> --- a/arch/arm/boot/dts/at91sam9263.dtsi
>>> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
>>> @@ -303,6 +303,34 @@
>>> };
>>> };
>>>
>>> + fb {
>>> + pinctrl_fb: fb-0 {
>>> + atmel,pins =
>>> + <2 1 0x1 0x0 /* PC1 periph A */
>>> + 2 2 0x1 0x0 /* PC2 periph A */
>>> + 2 3 0x1 0x0 /* PC3 periph A */
>>> + 1 9 0x2 0x0 /* PB9 periph B */
>>> + 2 6 0x1 0x0 /* PC6 periph A */
>>> + 2 7 0x1 0x0 /* PC7 periph A */
>>> + 2 8 0x1 0x0 /* PC8 periph A */
>>> + 2 9 0x1 0x0 /* PC9 periph A */
>>> + 2 10 0x1 0x0 /* PC10 periph A */
>>> + 2 11 0x1 0x0 /* PC11 periph A */
>>> + 2 14 0x1 0x0 /* PC14 periph A */
>>> + 2 15 0x1 0x0 /* PC15 periph A */
>>> + 2 16 0x1 0x0 /* PC16 periph A */
>>> + 2 12 0x2 0x0 /* PC12 periph B */
>>> + 2 18 0x1 0x0 /* PC18 periph A */
>>> + 2 19 0x1 0x0 /* PC19 periph A */
>>> + 2 22 0x1 0x0 /* PC22 periph A */
>>> + 2 23 0x1 0x0 /* PC23 periph A */
>>> + 2 24 0x1 0x0 /* PC24 periph A */
>>> + 2 17 0x2 0x0 /* PC17 periph B */
>>> + 2 26 0x1 0x0 /* PC26 periph A */
>>> + 2 27 0x1 0x0>; /* PC27 periph A */
>>
>> Verified, okay.
>>
>>> + };
>>> + };
>>> +
>>> pioA: gpio@fffff200 {
>>> compatible = "atmel,at91rm9200-gpio";
>>> reg = <0xfffff200 0x200>;
>>> @@ -464,6 +492,17 @@
>>> };
>>> };
>>>
>>> + fb0: fb@0x00500000 {
>>
>> No, it is 0x700000
>>
>>> + compatible = "atmel,at91sam9263-lcdc";
>>> + reg = <0x00700000 0x1000>;
>>
>> Ditto.
>>
>>> + interrupts = <26 3 0>;
>>
>> <26 4 0> here.
> no lcd is 3 even in c
>
> and even 3 could be slow in some big lcd case
No, you mean the priority, but priority is encoded as the 3rd cell. So,
we end up with:
<26 4 3>
(I agree with the 3)
>>
>>
>>> + pinctrl-names = "default";
>>> + pinctrl-0 = <&pinctrl_fb>;
>>> + status = "disabled";
>>> + #address-cells = <1>;
>>> + #size-cells = <1>;
>>
>> Ditto in 9g45 case.
>>
>>> + };
>>> +
>>> nand0: nand@40000000 {
>>> compatible = "atmel,at91rm9200-nand";
>>> #address-cells = <1>;
>>>
>>
>>
>> --
>> Nicolas Ferre
>
Bye,
--
Nicolas Ferre
next prev parent reply other threads:[~2013-04-16 15:11 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 14:57 [PATCH 0/8] ARM: at91: atmel_lcdc: add DT support Jean-Christophe PLAGNIOL-VILLARD
2013-04-11 15:00 ` [PATCH 1/8] video: atmel_lcdfb: fix platform data struct Jean-Christophe PLAGNIOL-VILLARD
2013-04-11 15:00 ` [PATCH 2/8] video: atmel_lcdfb: introduce atmel_lcdfb_power_control Jean-Christophe PLAGNIOL-VILLARD
[not found] ` <1365692422-9565-2-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
2013-04-16 12:35 ` Nicolas Ferre
2013-04-11 15:00 ` [PATCH 3/8] video: atmel_lcdfb: pass the pdata as params Jean-Christophe PLAGNIOL-VILLARD
[not found] ` <1365692422-9565-3-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
2013-04-16 12:38 ` Nicolas Ferre
2013-04-11 15:00 ` [PATCH 4/8] video: atmel_lcdfb: add device tree suport Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 13:42 ` Nicolas Ferre
2013-04-16 13:44 ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 15:43 ` Nicolas Ferre
[not found] ` <1365692422-9565-4-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
2013-05-29 15:01 ` Richard Genoud
2013-04-11 15:00 ` [PATCH 5/8] ARM: at91: sam9g45: add lcd support Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 13:57 ` Nicolas Ferre
2013-04-16 14:00 ` Nicolas Ferre
[not found] ` <516D5991.8020603-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-16 15:12 ` Nicolas Ferre
2013-04-11 15:00 ` [PATCH 6/8] ARM: at91: sam9263: add fb dt support Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 14:11 ` Nicolas Ferre
2013-04-16 14:13 ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 15:11 ` Nicolas Ferre [this message]
2013-04-16 15:48 ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-11 15:00 ` [PATCH 7/8] ARM: at91: at9sam9m10g45ek: add dt lcd support Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 14:56 ` Nicolas Ferre
2013-04-11 15:00 ` [PATCH 8/8] ARM: at91: sam9263ek: " Jean-Christophe PLAGNIOL-VILLARD
2013-04-16 14:54 ` Nicolas Ferre
2013-04-12 9:52 ` [PATCH 1/8] video: atmel_lcdfb: fix platform data struct Hans-Christian Egtvedt
2013-04-16 12:33 ` Nicolas Ferre
[not found] ` <1365692422-9565-1-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
2013-05-29 14:36 ` Richard Genoud
2013-05-29 17:35 ` Jean-Christophe PLAGNIOL-VILLARD
[not found] ` <20130529173538.GC23899-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2013-05-29 17:44 ` Richard Genoud
[not found] ` <CACQ1gAhhsMw1-Znd8BC=A0rJBrB4pphCtH9v9qOQR+j2dY3vCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-29 19:32 ` Jean-Christophe PLAGNIOL-VILLARD
[not found] ` <20130529193220.GB19468-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2013-05-30 6:39 ` Richard Genoud
2013-05-30 7:23 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-30 14:05 ` Hans-Christian Egtvedt
2013-05-30 14:27 ` Andreas Bießmann
2013-05-30 14:59 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=516D6A27.6070202@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).