From: Mark Rutland <mark.rutland@arm.com>
To: Yuantian Tang <Yuantian.Tang@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: 答复: [v7] clk: corenet: Adds the clock binding
Date: Wed, 8 Jan 2014 09:30:46 +0000 [thread overview]
Message-ID: <20140108093046.GB6701@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <375c32b2f4e34589ae336af61468a51b@BL2PR03MB115.namprd03.prod.outlook.com>
On Wed, Jan 08, 2014 at 08:53:56AM +0000, Yuantian Tang wrote:
>
> ________________________________________
> 发件人: Wood Scott-B07421
> 发送时间: 2014年1月8日 8:21
> 收件人: Tang Yuantian-B29983
> 抄送: galak@kernel.crashing.org; mark.rutland@arm.com; devicetree@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
> 主题: Re: [v7] clk: corenet: Adds the clock binding
>
> On Wed, Nov 20, 2013 at 05:04:49PM +0800, tang yuantian wrote:
> > +Recommended properties:
> > +- ranges: Allows valid translation between child's address space and
> > + parent's. Must be present if the device has sub-nodes.
> > +- #address-cells: Specifies the number of cells used to represent
> > + physical base addresses. Must be present if the device has
> > + sub-nodes and set to 1 if present
> > +- #size-cells: Specifies the number of cells used to represent
> > + the size of an address. Must be present if the device has
> > + sub-nodes and set to 1 if present
>
> Why are we specifying #address-cells/#size-cells here?
>
> A: it has sub-nodes which have REG property, don't we need to
> specify #address-cells/#size-cells?
If a node has a reg entry, its parent should have #size-cells and
#address-cells to allow it to be parsed properly.
Mark.
next prev parent reply other threads:[~2014-01-08 9:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-20 9:04 [PATCH v7] clk: corenet: Adds the clock binding Yuantian.Tang
2013-11-22 2:58 ` Yuantian Tang
2013-12-13 3:39 ` Yuantian Tang
2014-01-08 0:21 ` [v7] " Scott Wood
2014-01-08 8:53 ` 答复: " Yuantian Tang
2014-01-08 9:30 ` Mark Rutland [this message]
2014-01-08 18:43 ` Scott Wood
2014-01-09 2:57 ` Yuantian Tang
2014-01-09 21:19 ` Scott Wood
2014-01-10 2:38 ` Yuantian Tang
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=20140108093046.GB6701@e106331-lin.cambridge.arm.com \
--to=mark.rutland@arm.com \
--cc=Yuantian.Tang@freescale.com \
--cc=devicetree@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.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).