From: Byungho An <bh74.an@samsung.com>
To: 'Mark Rutland' <mark.rutland@arm.com>
Cc: 'netdev' <netdev@vger.kernel.org>,
linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
'David Miller' <davem@davemloft.net>,
'GIRISH K S' <ks.giri@samsung.com>,
'SIVAREDDY KALLAM' <siva.kallam@samsung.com>,
'Vipul Chandrakant' <vipul.pandya@samsung.com>,
'Ilho Lee' <ilho215.lee@samsung.com>
Subject: RE: [PATCH V8 1/7] sxgbe: Add device-tree binding support document
Date: Fri, 21 Mar 2014 07:57:39 -0700 [thread overview]
Message-ID: <004c01cf4515$e8ecb350$bac619f0$@samsung.com> (raw)
In-Reply-To: <20140321110212.GM23372@e106331-lin.cambridge.arm.com>
Mark Rutland <mark.rutland@arm.com> wrote:
> > +Example:
> > +
> > + aliases {
> > + ethernet0 = <&sxgbe0>;
> > + };
> > +
> > + sxgbe0: ethernet@1a040000 {
> > + compatible = "samsung,sxgbe-v2.0a";
> > + reg = <0 0x1a040000 0 0x10000>;
> > + interrupt-parent = <&gic>;
> > + interrupts = <0 209 4>, <0 185 4>, <0 186 4>, <0 187 4>,
> > + <0 188 4>, <0 189 4>, <0 190 4>, <0 191 4>,
> > + <0 192 4>, <0 193 4>, <0 194 4>, <0 195 4>,
> > + <0 196 4>, <0 197 4>, <0 198 4>, <0 199 4>,
> > + <0 200 4>, <0 201 4>, <0 202 4>, <0 203 4>,
> > + <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>,
> > + <0 208 4>, <0 210 4>;
> > + samsung,pbl = <0x08>
> > + samsung,burst-map = <0x20>
> > + samsung,adv-addr-mode = "true"
> > + samsung,force-sf-dma-mode = "true"
>
> You don't need these strings for boolean properties. Their presence of the
> property alone (even in the absende of a value) is sufficient. These should
> simply be:
>
> samsung,adv-addr-map;
> samsung,force-sf-dma-mode;
OK. It looks better
>
> It is still an open question as to whether these properties are necessary.
I understood, actually those two properties are for future.
"samsung,adv-addr-map" is needed for more than 32 bit addressing and
"force-sf-dma-mode" to use full dma fifo.
As of now these are not mandatory property.
These will be added later, I'll remove it this patch series.
>
> Cheers,
> Mark.
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in the
body of
> a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-03-21 14:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-20 17:25 [PATCH V8 1/7] sxgbe: Add device-tree binding support document Byungho An
2014-03-21 11:02 ` Mark Rutland
2014-03-21 14:57 ` Byungho An [this message]
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='004c01cf4515$e8ecb350$bac619f0$@samsung.com' \
--to=bh74.an@samsung.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=ilho215.lee@samsung.com \
--cc=ks.giri@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=siva.kallam@samsung.com \
--cc=vipul.pandya@samsung.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).