From: rvolkov@v1ros.org (Roman Volkov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650
Date: Sun, 1 Mar 2015 22:49:59 +0300 [thread overview]
Message-ID: <20150301224959.4a106bfd@v1ron-s7> (raw)
In-Reply-To: <54F35371.7020608@cogentembedded.com>
? Sun, 01 Mar 2015 20:59:13 +0300
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> ?????:
> On 3/1/2015 7:06 PM, Roman Volkov wrote:
>
> > Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the
> > driver is already in the kernel, this node enables the controller
> > support for WM8650
>
> > Signed-off-by: Roman Volkov <rvolkov@v1ros.org>
> > Reviewed-by: Alexey Charkov <alchark@gmail.com>
> > ---
> > arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
> > 1 file changed, 9 insertions(+)
>
> > diff --git a/arch/arm/boot/dts/wm8650.dtsi
> > b/arch/arm/boot/dts/wm8650.dtsi index b1c59a7..e12213d 100644
> > --- a/arch/arm/boot/dts/wm8650.dtsi
> > +++ b/arch/arm/boot/dts/wm8650.dtsi
> > @@ -187,6 +187,15 @@
> > interrupts = <43>;
> > };
> >
> > + sdhc at d800a000 {
>
> According to the ePAPR standard, the device nodes should have
> generic names according to their functions, so this node should be
> named just "sd at d800a000".
>
> WBR, Sergei
>
Sergei,
Why not "sdmmc" or "sdhci" or "sdio" then? It would be great to name
nodes in same way, but there is no exact requirement in ePAPR v1.1
regarding SD/MMC controllers. Also, in Linux I don't see that someone
strictly follows this requirement. This renaming will affect driver,
since .compatible strings likely also need changing.
Roman
WARNING: multiple messages have this Message-ID (diff)
From: Roman Volkov <rvolkov-oLhuKTjYqW/YtjvyW6yDsg@public.gmane.org>
To: Sergei Shtylyov
<sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Ian Campbell
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Alexey Charkov <alchark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650
Date: Sun, 1 Mar 2015 22:49:59 +0300 [thread overview]
Message-ID: <20150301224959.4a106bfd@v1ron-s7> (raw)
In-Reply-To: <54F35371.7020608-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
В Sun, 01 Mar 2015 20:59:13 +0300
Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> пишет:
> On 3/1/2015 7:06 PM, Roman Volkov wrote:
>
> > Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the
> > driver is already in the kernel, this node enables the controller
> > support for WM8650
>
> > Signed-off-by: Roman Volkov <rvolkov-oLhuKTjYqW/YtjvyW6yDsg@public.gmane.org>
> > Reviewed-by: Alexey Charkov <alchark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > ---
> > arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
> > 1 file changed, 9 insertions(+)
>
> > diff --git a/arch/arm/boot/dts/wm8650.dtsi
> > b/arch/arm/boot/dts/wm8650.dtsi index b1c59a7..e12213d 100644
> > --- a/arch/arm/boot/dts/wm8650.dtsi
> > +++ b/arch/arm/boot/dts/wm8650.dtsi
> > @@ -187,6 +187,15 @@
> > interrupts = <43>;
> > };
> >
> > + sdhc@d800a000 {
>
> According to the ePAPR standard, the device nodes should have
> generic names according to their functions, so this node should be
> named just "sd@d800a000".
>
> WBR, Sergei
>
Sergei,
Why not "sdmmc" or "sdhci" or "sdio" then? It would be great to name
nodes in same way, but there is no exact requirement in ePAPR v1.1
regarding SD/MMC controllers. Also, in Linux I don't see that someone
strictly follows this requirement. This renaming will affect driver,
since .compatible strings likely also need changing.
Roman
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Roman Volkov <rvolkov@v1ros.org>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Russell King <linux@arm.linux.org.uk>,
devicetree@vger.kernel.org, Alexey Charkov <alchark@gmail.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650
Date: Sun, 1 Mar 2015 22:49:59 +0300 [thread overview]
Message-ID: <20150301224959.4a106bfd@v1ron-s7> (raw)
In-Reply-To: <54F35371.7020608@cogentembedded.com>
В Sun, 01 Mar 2015 20:59:13 +0300
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> пишет:
> On 3/1/2015 7:06 PM, Roman Volkov wrote:
>
> > Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the
> > driver is already in the kernel, this node enables the controller
> > support for WM8650
>
> > Signed-off-by: Roman Volkov <rvolkov@v1ros.org>
> > Reviewed-by: Alexey Charkov <alchark@gmail.com>
> > ---
> > arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
> > 1 file changed, 9 insertions(+)
>
> > diff --git a/arch/arm/boot/dts/wm8650.dtsi
> > b/arch/arm/boot/dts/wm8650.dtsi index b1c59a7..e12213d 100644
> > --- a/arch/arm/boot/dts/wm8650.dtsi
> > +++ b/arch/arm/boot/dts/wm8650.dtsi
> > @@ -187,6 +187,15 @@
> > interrupts = <43>;
> > };
> >
> > + sdhc@d800a000 {
>
> According to the ePAPR standard, the device nodes should have
> generic names according to their functions, so this node should be
> named just "sd@d800a000".
>
> WBR, Sergei
>
Sergei,
Why not "sdmmc" or "sdhci" or "sdio" then? It would be great to name
nodes in same way, but there is no exact requirement in ePAPR v1.1
regarding SD/MMC controllers. Also, in Linux I don't see that someone
strictly follows this requirement. This renaming will affect driver,
since .compatible strings likely also need changing.
Roman
next prev parent reply other threads:[~2015-03-01 19:49 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-18 19:14 [PATCH v2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-02-05 9:54 ` [PATCH] " Roman Volkov
2015-02-05 9:54 ` Roman Volkov
2015-02-05 9:54 ` Roman Volkov
2015-02-05 10:07 ` [PATCH v2 RESEND] " Roman Volkov
2015-02-05 10:07 ` Roman Volkov
2015-03-01 16:06 ` [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 16:06 ` [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 17:59 ` Sergei Shtylyov
2015-03-01 17:59 ` Sergei Shtylyov
2015-03-01 19:49 ` Roman Volkov [this message]
2015-03-01 19:49 ` Roman Volkov
2015-03-01 19:49 ` Roman Volkov
2015-03-01 20:50 ` Sergei Shtylyov
2015-03-01 20:50 ` Sergei Shtylyov
2015-03-01 16:06 ` [PATCH v3 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 16:06 ` Roman Volkov
2015-03-01 20:48 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
2015-03-01 20:48 ` Roman Volkov
2015-03-01 20:48 ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-03-01 20:48 ` Roman Volkov
2015-03-01 20:48 ` [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
2015-03-01 20:48 ` Roman Volkov
2015-03-01 19:52 ` [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
2015-03-01 19:52 ` Arnd Bergmann
2015-03-01 19:52 ` Arnd Bergmann
2015-03-01 20:39 ` Roman Volkov
2015-03-01 20:39 ` Roman Volkov
2015-03-01 20:39 ` Roman Volkov
2015-04-04 12:27 ` Roman Volkov
2015-04-04 12:27 ` Roman Volkov
2015-04-04 12:27 ` Roman Volkov
2015-12-23 21:48 ` Roman Volkov
2015-12-23 21:48 ` Roman Volkov
2015-12-24 9:24 ` Alexey Charkov
2015-12-24 9:24 ` Alexey Charkov
2015-12-24 9:24 ` Alexey Charkov
2015-12-31 15:31 ` Arnd Bergmann
2015-12-31 15:31 ` Arnd Bergmann
2015-12-31 15:31 ` Arnd Bergmann
2015-12-31 15:32 ` Arnd Bergmann
2015-12-31 15:32 ` Arnd Bergmann
2015-12-31 18:19 ` Roman Volkov
2015-12-31 18:19 ` Roman Volkov
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=20150301224959.4a106bfd@v1ron-s7 \
--to=rvolkov@v1ros.org \
--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 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.