devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Roman Volkov <rvolkov@v1ros.org>
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, 01 Mar 2015 23:50:45 +0300	[thread overview]
Message-ID: <54F37BA5.2080605@cogentembedded.com> (raw)
In-Reply-To: <20150301224959.4a106bfd@v1ron-s7>

Hello.

On 03/01/2015 10:49 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

    SDHCI is the SD host controller standard, while the names should describe 
"the function of the device and not its precise programming model". SDIO isn't 
the physical interface name, the physical interface underneath is still SD. 
"mmcsd" or "mmc-sd" would be appropriate, however just "mmc" is typically used.

> nodes in same way, but there is no exact requirement in ePAPR v1.1
> regarding SD/MMC controllers.

    Yes, MMC/SD node names are not yet standardized.

> Also, in Linux I don't see that someone
> strictly follows this requirement.

    Because people for the most part are not aware of it, despite 
http://www.devicetree.org/Device_Tree_Usage points to ePAPR and the section 
2.4 of this page also tells to use generic names.

> This renaming will affect driver,
> since .compatible strings likely also need changing.

    Why on earth they'll need change?!

> Roman

WBR, Sergei

  reply	other threads:[~2015-03-01 20:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1421608444-25525-1-git-send-email-v1ron@v1ros.org>
     [not found] ` <1421608444-25525-1-git-send-email-v1ron-oLhuKTjYqW/YtjvyW6yDsg@public.gmane.org>
2015-02-05  9:54   ` [PATCH] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-02-05 10:07     ` [PATCH v2 RESEND] " 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         ` [PATCH v3 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-03-01 17:59           ` Sergei Shtylyov
     [not found]             ` <54F35371.7020608-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2015-03-01 19:49               ` Roman Volkov
2015-03-01 20:50                 ` Sergei Shtylyov [this message]
2015-03-01 16:06         ` [PATCH v3 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 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             ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2015-03-01 20:48             ` [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
     [not found]         ` <1425226007-2757-1-git-send-email-rvolkov-oLhuKTjYqW/YtjvyW6yDsg@public.gmane.org>
2015-03-01 19:52           ` [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
2015-03-01 20:39             ` Roman Volkov
2015-04-04 12:27               ` Roman Volkov
2015-12-23 21:48                 ` Roman Volkov
2015-12-24  9:24                   ` Alexey Charkov
2015-12-31 15:31                   ` Arnd Bergmann
2015-12-31 15:32                     ` Arnd Bergmann
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=54F37BA5.2080605@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=alchark@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=rvolkov@v1ros.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).