From: Scott Wood <scottwood@freescale.com>
To: Vijay Nikam <vijay.t.nikam@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Regarding irq_of_parse_and_map
Date: Tue, 17 Feb 2009 11:14:51 -0600 [thread overview]
Message-ID: <499AF08B.6010702@freescale.com> (raw)
In-Reply-To: <f234e2140902170341y31662e8fla8a8cf87473ed419@mail.gmail.com>
Vijay Nikam wrote:
> I added the gpio node as follows to mpc8313erdb.dts;
>
> gpio@c00 {
> linux,phandle = <c00>;
Don't specify this explicitly. Please base new development off of the
device tree that is in upstream Linux, not the very old tree in your BSP.
> device_type = "gpio";
No device_type.
> The only thing I need to know what should I write at 'compatible' tag
> ? ? ? the compatible tag format is "manufacturer,model" the
> manufacturer is 'fsl' i.e. I think freescale but the model, as it is
> the model number where I can find this model ? ? ? Please let me know
> ... thanks ...
compatible = "fsl,mpc8313-gpio", "fsl,mpc8349-gpio";
> Also I would like to ask if the above device node is written according
> to bindings ... I think it should be right as I referred
> 'bootingwithout-of.txt' ... but please correct me if I am worng ? ? ?
See also Documentation/powerpc/dts-bindings/fsl/8xxx_gpio.txt.
Also note that current Linux has a driver in
arch/powerpc/sysdev/mpc8xxx_gpio.c.
-Scott
next prev parent reply other threads:[~2009-02-17 17:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 11:55 Regarding irq_of_parse_and_map Vijay Nikam
2009-02-16 18:08 ` Scott Wood
2009-02-17 11:41 ` Vijay Nikam
2009-02-17 17:14 ` Scott Wood [this message]
2009-02-18 12:01 ` Vijay Nikam
2009-02-18 16:57 ` Scott Wood
2009-02-19 11:51 ` Vijay Nikam
2009-02-19 17:24 ` Jon Loeliger
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=499AF08B.6010702@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=vijay.t.nikam@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.