From: Arnd Bergmann <arnd@arndb.de>
To: Rob Herring <robh@kernel.org>
Cc: Scott Wood <scott.wood@nxp.com>, Yangbo Lu <yangbo.lu@nxp.com>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
Zhao Qiang <qiang.zhao@freescale.com>,
Russell King <linux@arm.linux.org.uk>,
Bhupesh Sharma <bhupesh.sharma@freescale.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Joerg Roedel <joro@8bytes.org>, Kumar Gala <galak@codeaurora.org>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Yang-Leo Li <leoyang.li@nxp.com>,
"iommu@lists.linux-foundation.org"
<iommu@lists.linux-foundation.org>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
Claudiu Manoil <claudiu.manoil@freescale.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Xiaobo Xie <xiaobo.xie@nxp.com>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [v6, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0
Date: Thu, 17 Mar 2016 18:06:09 +0100 [thread overview]
Message-ID: <3706958.XeRFmKM0K5@wuerfel> (raw)
In-Reply-To: <20160317170101.GA21009@rob-hp-laptop>
On Thursday 17 March 2016 12:01:01 Rob Herring wrote:
> On Mon, Mar 14, 2016 at 05:45:43PM +0000, Scott Wood wrote:
> > >> This makes the driver non-portable. Better identify the specific=
> > >> workarounds based on the compatible string for this device, or a=
dd a
> > >> boolean DT property for the quirk.
> > >>
> > >> Arnd
> > >=20
> > > [Lu Yangbo-B47093] Hi Arnd, we did have a discussion about using =
DTS in v1 before.
> > > https://patchwork.kernel.org/patch/6834221/
> > >=20
> > > We don=E2=80=99t have a separate DTS file for each revision of an=
SOC and if we did, we'd constantly have people using the wrong one.
> > > In addition, the device tree is stable ABI and errata are often d=
iscovered after device tree are deployed.
> > > See the link for details.
> > >=20
> > > So we decide to read SVR from the device-config/guts MMIO block o=
ther than using DTS.
> > > Thanks.
> >=20
> > Also note that this driver is already only for fsl-specific hardwar=
e,
> > and it will still work even if fsl_guts doesn't find anything to bi=
nd to
> > -- it just wouldn't be able to detect errata based on SVR in that c=
ase.
>=20
> IIRC, it is the same IP block as i.MX and Arnd's point is this won't=20=
> even compile on !PPC. It is things like this that prevent sharing the=
=20
> driver.
I think the first four patches take care of building for ARM,
but the problem remains if you want to enable COMPILE_TEST as
we need for certain automated checking.
> Dealing with Si revs is a common problem. We should have a=20
> common solution. There is soc_device for this purpose.
Exactly. The last time this came up, I think we agreed to implement a
helper using glob_match() on the soc_device strings. Unfortunately
this hasn't happened then, but I'd still prefer that over yet another
vendor-specific way of dealing with the generic issue.
=09Arnd
next prev parent reply other threads:[~2016-03-17 17:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 10:08 [v6, 0/5] Fix eSDHC host version register bug Yangbo Lu
2016-03-09 10:08 ` [v6, 1/5] ARM64: dts: ls2080a: add device configuration node Yangbo Lu
2016-03-09 10:08 ` [v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms Yangbo Lu
2016-03-18 22:54 ` Scott Wood
2016-03-25 6:44 ` Yangbo Lu
2016-03-09 10:08 ` [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Yangbo Lu
2016-03-17 17:06 ` Rob Herring
2016-03-17 17:11 ` Arnd Bergmann
2016-03-17 17:57 ` Rob Herring
2016-03-17 21:33 ` Leo Li
2016-03-18 18:16 ` Scott Wood
2016-03-25 6:38 ` Yangbo Lu
2016-03-09 10:08 ` [v6, 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl Yangbo Lu
2016-03-12 15:52 ` Wolfram Sang
2016-03-09 10:08 ` [v6, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0 Yangbo Lu
2016-03-13 22:26 ` Arnd Bergmann
2016-03-14 7:29 ` Yangbo Lu
2016-03-14 17:45 ` Scott Wood
2016-03-17 17:01 ` Rob Herring
2016-03-17 17:06 ` Arnd Bergmann [this message]
2016-03-18 18:28 ` Scott Wood
2016-03-25 6:43 ` Yangbo Lu
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=3706958.XeRFmKM0K5@wuerfel \
--to=arnd@arndb.de \
--cc=bhupesh.sharma@freescale.com \
--cc=claudiu.manoil@freescale.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=qiang.zhao@freescale.com \
--cc=robh@kernel.org \
--cc=scott.wood@nxp.com \
--cc=ssantosh@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=xiaobo.xie@nxp.com \
--cc=yangbo.lu@nxp.com \
/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).