[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150512155824.GJ19927@lunn.ch>
Date: Tue, 12 May 2015 17:58:24 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
Vinod Koul <vinod.koul@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Jason Cooper <jason@...edaemon.net>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
dmaengine@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
Lior Amsalem <alior@...vell.com>,
Thomas Petazzoni <thomas@...e-electrons.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 2/8] dmaengine: mv_xor: add support for a38x command in
descriptor mode
On Tue, May 12, 2015 at 05:49:36PM +0200, Thomas Petazzoni wrote:
> Maxime,
>
> On Tue, 12 May 2015 17:37:37 +0200, Maxime Ripard wrote:
>
> > Required properties:
> > -- compatible: Should be "marvell,orion-xor"
> > +- compatible: Should be "marvell,orion-xor" or "marvell,a38x-xor"
>
> I believe the new compatible string should be armada-380-xor or
> armada380-xor. Wildcards in compatible strings are generally not
> recommended, and we don't use the a38x- prefix anywhere in the tree, as
> far as I can see:
>
> drivers/ata/ahci_mvebu.c: { .compatible = "marvell,armada-380-ahci", },
> drivers/bus/mvebu-mbus.c: { .compatible = "marvell,armada380-mbus",
> drivers/mmc/host/sdhci-pxav3.c: .compatible = "marvell,armada-380-sdhci",
> drivers/rtc/rtc-armada38x.c: { .compatible = "marvell,armada-380-rtc", },
> drivers/thermal/armada_thermal.c: .compatible = "marvell,armada380-thermal",
> drivers/usb/host/xhci-plat.c: { .compatible = "marvell,armada-380-xhci"},
> drivers/watchdog/orion_wdt.c: .compatible = "marvell,armada-380-wdt",
>
> Yes, we're not very consistent between armada380 and armada-380, but
> we're not using a38x anywhere.
A quick grep for marvell,orion, marvell,kirkwood and marvell,dove
suggests it should have the - if we want to be consistent with older
Marvell devices. As you said, starting with marvell,armanda it gets
pretty inconsistent :-(
Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists