From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752998AbbCATvi (ORCPT ); Sun, 1 Mar 2015 14:51:38 -0500 Received: from v1ros.org ([109.234.34.72]:40862 "EHLO smtp.v1ros.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbbCATvf convert rfc822-to-8bit (ORCPT ); Sun, 1 Mar 2015 14:51:35 -0500 Date: Sun, 1 Mar 2015 22:49:59 +0300 From: Roman Volkov To: Sergei Shtylyov Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, Alexey Charkov , 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 Message-ID: <20150301224959.4a106bfd@v1ron-s7> In-Reply-To: <54F35371.7020608@cogentembedded.com> References: <1423130878-3894-1-git-send-email-v1ron@v1ros.org> <1425226007-2757-1-git-send-email-rvolkov@v1ros.org> <1425226007-2757-2-git-send-email-rvolkov@v1ros.org> <54F35371.7020608@cogentembedded.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.26; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org В Sun, 01 Mar 2015 20:59:13 +0300 Sergei Shtylyov пишет: > 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 > > Reviewed-by: Alexey Charkov > > --- > > 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