From: Tomasz Figa <tomasz.figa@gmail.com>
To: balbi@ti.com
Cc: Vivek Gautam <gautamvivek1987@gmail.com>,
Vivek Gautam <gautam.vivek@samsung.com>,
linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org, linux-usb@vger.kernel.org,
kgene.kim@samsung.com, av.tikhomirov@samsung.com,
yulgon.kim@samsung.com,
Thomas Abraham <thomas.abraham@linaro.org>,
Praveen Paneri <p.paneri@samsung.com>
Subject: Re: [PATCH] ARM: Exynos5250: Enabling dwc3-exynos driver
Date: Wed, 07 Nov 2012 18:18:15 +0100 [thread overview]
Message-ID: <1719536.A7tLiC5qER@flatron> (raw)
In-Reply-To: <20121107164322.GC12714@arwen.pp.htv.fi>
Hi Vivek, Felipe,
On Wednesday 07 of November 2012 18:43:22 Felipe Balbi wrote:
> Hi,
>
> On Wed, Nov 07, 2012 at 06:55:03PM +0530, Vivek Gautam wrote:
> > Hi,
> >
> > On Tue, Nov 6, 2012 at 10:13 PM, Felipe Balbi <balbi@ti.com> wrote:
> > > On Tue, Nov 06, 2012 at 08:58:49PM +0530, Vivek Gautam wrote:
> > >> Adding DWC3 device tree node for Exynos5250 along with the
> > >> device address and clock support needed for the controller.
> > >>
> > >> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> > >> ---
> > >>
> > >> arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++
> > >> arch/arm/mach-exynos/clock-exynos5.c | 24
> > >> ++++++++++++++++++++++++
> > >> arch/arm/mach-exynos/include/mach/map.h | 1 +
> > >> arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++
> > >> drivers/usb/Kconfig | 1 +
> > >> 5 files changed, 34 insertions(+), 0 deletions(-)
> > >>
> > >> diff --git a/arch/arm/boot/dts/exynos5250.dtsi
> > >> b/arch/arm/boot/dts/exynos5250.dtsi index cf6a02d..52bca54 100644
> > >> --- a/arch/arm/boot/dts/exynos5250.dtsi
> > >> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> > >> @@ -68,6 +68,12 @@
> > >>
> > >> interrupts = <0 96 0>;
> > >>
> > >> };
> > >>
> > >> + dwc3 {
> > >
> > > shouldn't this be usb@12000000 ??
> >
> > Kept this in accordance with controller's name, similar to the change
> > in following:
> > http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg12800.
> > html
> >
> > Needs to be changed ?
>
> I'll leave it to DT experts, but I was under the impression that we
> should be using generic functionality names (usb, i2c, spi, uart, gpio,
> etc) instead of the IP name. IP name is something more for compatible
> flag.
>
> Don't take my word for it though :-) DT experts are the ones with final
> saying
Wrt node name, as far as I am aware of, there is no strict convention of
naming nodes, but the way you suggested is better in terms of readability -
you don't have to know this particular IP to find out what it is used for.
Similar thing is with @addr in node names. I've been always adding @addr to
the name whenever the node had reg property inside (with the same address
of course), but I'm not sure if there is a strict convention here.
Best regards,
Tomasz Figa
next prev parent reply other threads:[~2012-11-07 17:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-06 15:28 [PATCH] ARM: EXYNOS5250: Add support for USB 3.0 dwc3 controller Vivek Gautam
2012-11-06 15:28 ` [PATCH] ARM: Exynos5250: Enabling dwc3-exynos driver Vivek Gautam
2012-11-06 16:43 ` Felipe Balbi
[not found] ` <20121106164304.GD3993-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-11-07 13:25 ` Vivek Gautam
[not found] ` <CAFp+6iGFwTAvhamhoQszBL8QUau64XtDWGR1yX0azbuw1iWgVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-07 16:43 ` Felipe Balbi
2012-11-07 17:18 ` Tomasz Figa [this message]
2012-11-08 5:06 ` Vivek Gautam
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=1719536.A7tLiC5qER@flatron \
--to=tomasz.figa@gmail.com \
--cc=av.tikhomirov@samsung.com \
--cc=balbi@ti.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=gautam.vivek@samsung.com \
--cc=gautamvivek1987@gmail.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=p.paneri@samsung.com \
--cc=thomas.abraham@linaro.org \
--cc=yulgon.kim@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