linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: mvebu: enable the SDHCI interface on Armada 385
Date: Fri, 4 Apr 2014 19:23:08 +0200	[thread overview]
Message-ID: <20140404172308.GL2798@lunn.ch> (raw)
In-Reply-To: <20140404181508.010a6559@skate>

On Fri, Apr 04, 2014 at 06:15:08PM +0200, Thomas Petazzoni wrote:
> Dear Andrew Lunn,
> 
> On Fri, 4 Apr 2014 18:00:13 +0200, Andrew Lunn wrote:
> 
> > > diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> > > index a064f59..2c1ff30 100644
> > > --- a/arch/arm/boot/dts/armada-38x.dtsi
> > > +++ b/arch/arm/boot/dts/armada-38x.dtsi
> > > @@ -355,6 +355,15 @@
> > >  				clocks = <&coredivclk 0>;
> > >  				status = "disabled";
> > >  			};
> > > +
> > > +			sdhci at d8000 {
> > > +				compatible = "marvell,armada-380-sdhci";
> > > +				reg = <0xd8000 0x1000>, <0xdc000 0x100>;
> > > +				interrupts = <0 25 0x4>;
> > > +				clocks = <&gateclk 17>;
> > > +				mrvl,clk-delay-cycles = <0x1F>;
> > 
> > Hi Thomas
> > 
> > Maybe this has been discussed as part of the previous patchset. Why
> > the mrvl prefix, not marvell? marvell is in vendor-prefixes.txt, but
> > mrvl does not appear to be listed.
> 
> Because I'm not the one who introduced this part of the driver DT
> binding. It has been added two years ago by:
> 
> commit b650352dd3df36164e3427bff3f33bc06ac47642
> Author: Chris Ball <cjb@laptop.org>
> Date:   Tue Apr 10 22:34:33 2012 -0400
> 
>     mmc: sdhci-pxa: Add device tree support
>     
>     Tested on an OLPC XO-1.75.  (MMP2, sdhci-pxav3, CONFIG_MACH_MMP2_DT=y)
>     
>     Signed-off-by: Chris Ball <cjb@laptop.org>
>     Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
> 
> So I'm just merely using the existing DT binding for the driver. Of
> course, since I'm introducing a new compatible string, I could also
> change the driver to support the same property prefixed by "marvell,",
> but it would also have to support the old DT property forever, so is it
> really useful?

Hi Thomas

Thanks for the explanation.

Changing it makes no sense. We should just document this other vendor
prefix in vendor-prefixes.txt

	Andrew

  reply	other threads:[~2014-04-04 17:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04 15:42 [PATCH 0/2] ARM: mvebu: enable SDHCI interface on Armada 38x Thomas Petazzoni
2014-04-04 15:42 ` [PATCH 1/2] ARM: mvebu: enable the SDHCI interface on Armada 385 Thomas Petazzoni
2014-04-04 16:00   ` Andrew Lunn
2014-04-04 16:15     ` Thomas Petazzoni
2014-04-04 17:23       ` Andrew Lunn [this message]
2014-04-04 15:42 ` [PATCH 2/2] ARM: configs: add CONFIG_MMC_SDHCI_PXAV3 to the relevant defconfigs Thomas Petazzoni
2014-04-04 15:49   ` Jason Cooper
2014-04-04 16:15     ` Thomas Petazzoni

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=20140404172308.GL2798@lunn.ch \
    --to=andrew@lunn.ch \
    --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 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).