From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH RESEND v6 1/2] arm64: dts: Add the arasan sdhci nodes in apm-storm.dtsi Date: Tue, 12 May 2015 09:28:10 +0200 Message-ID: <5446694.nHWK6QO1on@wuerfel> References: <1431333531-30491-1-git-send-email-stripathi@apm.com> <1431333531-30491-2-git-send-email-stripathi@apm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org To: linuxppc-dev@lists.ozlabs.org Cc: Suman Tripathi , Chris Ball , Anton Vorontsov , Michal Simek , "devicetree@vger.kernel.org" , Mark Langsdorf , Jon Masters , linux-mmc , patches , Don Dutile , linux-arm-kernel List-Id: devicetree@vger.kernel.org On Tuesday 12 May 2015 11:03:46 Suman Tripathi wrote: > > @@ -533,6 +567,15 @@ > > interrupts = <0x0 0x4f 0x4>; > > }; > > > > + sdhci0: sdhci@1c000000 { > > + compatible = "arasan,sdhci-4.9a"; > > + reg = <0x0 0x1c000000 0x0 0x100>; > > + interrupts = <0x0 0x49 0x4>; > > + dma-coherent; > > + clock-names = "clk_xin", "clk_ahb"; > > + clocks = <&sdioclk 0>, <&ahbclk 0>; > > + }; > > + > > phy1: phy@1f21a000 { > > compatible = "apm,xgene-phy"; > > reg = <0x0 0x1f21a000 0x0 0x100>; > > -- > > 1.8.2.1 > > > > Can anyone from dt community review this patch ? I have changed the dts node > names from sdhc to sdhci as per Arnd, Michael comments . I was actually asking for it to be named 'mmc', not 'sdhci', because the name is supposed to indicate the purpose of the device, not the implementation. I realize that we are inconsistent here, just as with 'uart' vs 'serial', and that ePAPR does not define what to do. We should probably add something to Documentation/devicetree/bindings/mmc/mmc.txt about this topic and change all the dts files accordingly (unless there is a risk for regressions). At the moment, the mmc.txt file also includes an example with 'sdhci', not 'mmc'. Arnd