From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: i.MX35: Add kernel oftree support
Date: Mon, 13 Aug 2012 17:35:03 +0200 [thread overview]
Message-ID: <20120813153503.GC2232@pengutronix.de> (raw)
In-Reply-To: <20120813081518.GA27480@S2101-09.ap.freescale.net>
Hi Shawn,
On Mon, Aug 13, 2012 at 04:15:21PM +0800, Shawn Guo wrote:
> On Fri, Aug 10, 2012 at 11:32:49AM +0200, Uwe Kleine-K?nig wrote:
> > + emi at 80000000 { /* External Memory Interface */
> > + compatible = "fsl,emi", "simple-bus";
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + reg = <0x80000000 0x40000000>;
> > + ranges;
> > +
> > + nand at bb000000 {
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > +
> These should not be needed, until you will have sub-nodes with "reg"
> property.
The obvious sub-nodes are partitions. I thought it sensible to already
add #address-cells and #size-cells because they are identical for all
users and so repeating is minimized.
> > + compatible = "fsl,imx35-nand", "fsl,imx25-nand";
> > + reg = <0xbb000000 0x2000>;
> > + interrupts = <33>;
> > + status = "disabled";
> > + };
> > + };
> > + };
> > +};
> > [...]
> > + imx3_init_l2x0();
>
> Any problem with using l2x0_of_init instead here?
Yeah, the problem is that I never used l2x0_of_init and so it's
unimplemented and untested on i.MX35 :-)
I will take a look.
> > + pinctrl_provide_dummies();
>
> Ideally, we should not have this. But at least have a comment saying
> this is a stop-gap solution before pinctrl is ready, and should be
> removed once pinctrl is in place.
I will look into this, too.
Thanks for your feedback,
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2012-08-13 15:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 9:32 [PATCH v2 1/2] ARM: i.MX35: Add kernel oftree support Uwe Kleine-König
2012-08-10 9:32 ` [PATCH v2 2/2] ARM: imx/pcm043: add " Uwe Kleine-König
2012-08-10 13:35 ` Fabio Estevam
2012-08-10 13:38 ` Fabio Estevam
2012-08-10 13:58 ` Uwe Kleine-König
2012-08-13 15:04 ` Shawn Guo
2012-08-13 8:15 ` [PATCH v2 1/2] ARM: i.MX35: Add kernel " Shawn Guo
2012-08-13 15:35 ` Uwe Kleine-König [this message]
2012-08-14 1:35 ` Shawn Guo
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=20120813153503.GC2232@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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).