linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Zhang Haijun-B42677 <B42677@freescale.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	Wrobel Heinz-R39252 <r39252@freescale.com>,
	Fleming Andy-AFLEMING <afleming@freescale.com>,
	"cbouatmailru@gmail.com" <cbouatmailru@gmail.com>,
	"cjb@laptop.org" <cjb@laptop.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: 答复: [PATCH] Powerpc/t4240: change the compatible flags for t4240qds board
Date: Tue, 9 Jul 2013 15:04:22 -0500	[thread overview]
Message-ID: <1373400262.8183.201@snotra> (raw)
In-Reply-To: <99E897753B6F7048BD8CCDB4661D02E1396F57@039-SN2MPN1-021.039d.mgd.msft.net> (from B42677@freescale.com on Tue Jul  9 01:04:01 2013)

On 07/09/2013 01:04:01 AM, Zhang Haijun-B42677 wrote:
>=20
>=20
> Regards & Thanks
>=20
> Haijun.
>=20
> ________________________________________
> =E5=8F=91=E4=BB=B6=E4=BA=BA: Wood Scott-B07421
> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2013=E5=B9=B47=E6=9C=888=E6=97=A5 1=
7:14
> =E6=94=B6=E4=BB=B6=E4=BA=BA: Zhang Haijun-B42677
> =E6=8A=84=E9=80=81: linux-mmc@vger.kernel.org; linuxppc-dev@lists.ozlabs.=
org; =20
> cbouatmailru@gmail.com; cjb@laptop.org; Fleming Andy-AFLEMING; Wrobel =20
> Heinz-R39252; Zhang Haijun-B42677
> =E4=B8=BB=E9=A2=98: Re: [PATCH] Powerpc/t4240: change the compatible flag=
s for =20
> t4240qds board
>=20
> On 07/08/2013 02:16:03 AM, Haijun Zhang wrote:
> > In order to make a difference between different T4240 board.
> > Specify T4240QDS board the unique compatible flags for t4240qds
> > eSDHC host.
> >
> > Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
> > ---
> >  arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
> > b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
> > index bd611a9..08b47d0 100644
> > --- a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
> > +++ b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
> > @@ -397,7 +397,7 @@
> >
> >  /include/ "qoriq-esdhc-0.dtsi"
> >       sdhc@114000 {
> > -             compatible =3D "fsl,t4240-esdhc", "fsl,esdhc";
> > +             compatible =3D "fsl,t4240qds-esdhc", "fsl,esdhc";
> >               sdhci,auto-cmd12;
> >       };
>=20
> NACK.  This node is describing the sdhc block of the t4240 SoC.  What
> board you stick it in doesn't change what it is.
>=20
> Plus, what about users with old device trees?
>=20
> Currently no users use this ip block except esdhc driver.

I'm not talking about code users.  I'm talking about people users.

> How about change this in arch/powerpc/boot/dts/t4240qds.dts
>=20
> +++ b/arch/powerpc/boot/dts/t4240qds.dts
> @@ -117,6 +117,10 @@
>                         };
>                 };
>=20
>                sdhc@114000 {
>                       compatible =3D "fsl,t4240-esdhc", "fsl,esdhc";
>                };
>=20
>                i2c@118000 {
>=20
>=20
> +++ b/arch/powerpc/boot/dts/t4240qds.dts
> @@ -117,6 +117,10 @@
>                         };
>                 };
>=20
> +               sdhc@114000 {
> +                       compatible =3D "fsl,t4240qds-esdhc", =20
> "fsl,esdhc";
> +               };
> +
>                 i2c@118000 {

No.  It's still supposed to be describing the sdhc block itself, not =20
the board -- and any workarounds that key off of this will still fail =20
to work with existing device trees.

-Scott=

  reply	other threads:[~2013-07-09 20:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08  7:16 [PATCH] Powerpc/t4240: change the compatible flags for t4240qds board Haijun Zhang
2013-07-08  7:16 ` [PATCH 3/4 V2] mmc: esdhc: Add quirks to support T4240QDS board Haijun Zhang
2013-07-08 17:18   ` Scott Wood
2013-07-12 18:35     ` Anton Vorontsov
2013-07-16  3:11       ` Zhang Haijun-B42677
2013-07-16  5:04         ` Anton Vorontsov
2013-07-08 17:14 ` [PATCH] Powerpc/t4240: change the compatible flags for t4240qds board Scott Wood
2013-07-09  6:04   ` 答复: " Zhang Haijun-B42677
2013-07-09 20:04     ` Scott Wood [this message]
2013-07-10  3:41       ` Zhang Haijun-B42677
2013-07-10 20:30         ` Scott Wood
2013-07-11  1:02           ` Zhang Haijun-B42677
2013-07-11 14:35             ` Scott Wood

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=1373400262.8183.201@snotra \
    --to=scottwood@freescale.com \
    --cc=B07421@freescale.com \
    --cc=B42677@freescale.com \
    --cc=afleming@freescale.com \
    --cc=cbouatmailru@gmail.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=r39252@freescale.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).