devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
To: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Fabio Estevam
	<fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>,
	"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH 5/6] ARM: dts: imx27 cpufreq-cpu0 frequencies
Date: Fri, 21 Jun 2013 09:47:40 +0100	[thread overview]
Message-ID: <20130621084740.GA14268@e102568-lin.cambridge.arm.com> (raw)
In-Reply-To: <20130621052344.GA25633-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>

On Fri, Jun 21, 2013 at 06:23:46AM +0100, Shawn Guo wrote:
> On Fri, Jun 21, 2013 at 08:54:53AM +0400, Alexander Shiyan wrote:
> > > On Thu, Jun 20, 2013 at 04:50:14PM +0200, Markus Pargmann wrote:
> > > > +	cpus {
> > > > +		#size-cells = <0>;
> > > > +		#address-cells = <1>;
> > > > +
> > > > +		cpu@0 {
> > > > +			device_type = "cpu";
> > > > +			compatible = "fsl,imx27", "arm,arm926ejs";
> > > 
> > > From what Documentation/devicetree/bindings/arm/cpus.txt tells, it
> > > should be "arm,arm926".  Also, why do you put "fsl,imx27" there?
> > > "imx27" is a SoC name not cpu core.
> > 
> > I think Markus take this ARM property from one of existing DTS.
> > 
> > shc@shc /home/git/linux-mx27/arch/arm/boot/dts $ grep arm926 *.dtsi
> > at91sam9260.dtsi:                       compatible = "arm,arm926ejs";
> > at91sam9263.dtsi:                       compatible = "arm,arm926ejs";
> > at91sam9g45.dtsi:                       compatible = "arm,arm926ejs";
> > at91sam9n12.dtsi:                       compatible = "arm,arm926ejs";
> > at91sam9x5.dtsi:                        compatible = "arm,arm926ejs";
> > imx23.dtsi:                     compatible = "arm,arm926ejs";
> > imx28.dtsi:                     compatible = "arm,arm926ejs";
> > lpc32xx.dtsi:                   compatible = "arm,arm926ejs";
> > s3c2416.dtsi:                   compatible = "arm,arm926ejs";
> > spear3xx.dtsi:                  compatible = "arm,arm926ejs";
> > spear600.dtsi:                  compatible = "arm,arm926ejs";
> > wm8505.dtsi:                    compatible = "arm,arm926ejs";
> > 
> > So, documentation need to be updated or these values should be fixed.
> > Another solution  is specify compatible string as:
> > compatible = "arm,arm926ejs", "arm,arm926";
> > What you think about this?
> 
> I assume that the compatible string in the binding doc has been reviewed
> and agreed by people, so we should fix the existing users before kernel
> starts using it to for matching something.
> 
> Lorenzo, comment?

I patched them all and changes are queued through arm-soc, according to the
latest bindings that should get merged this cycle and are available here:

git://linux-arm.org/linux-2.6-lp.git dt-cpus-bindings

If you are queuing dts updates please follow rules in there, waiting for
that document to get merged.

Lorenzo

  parent reply	other threads:[~2013-06-21  8:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 14:50 [PATCH 0/6] ARM: dts: imx27 Phytec PhyCARD-S Markus Pargmann
     [not found] ` <1371739815-6666-1-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-06-20 14:50   ` [PATCH 1/6] ARM: mx27: Replace clk_register_clkdev with clock DT lookup Markus Pargmann
     [not found]     ` <1371739815-6666-2-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-06-20 15:28       ` Alexander Shiyan
     [not found]         ` <1371742088.528552668-ZzAHCfOzKYkox3rIn2DAYQ@public.gmane.org>
2013-06-20 15:35           ` Fabio Estevam
     [not found]             ` <CAOMZO5AaZSAsvNUCOqTuqx7UGCrGH6Cm-Uz9wN3nO1e1XU_usw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-20 15:41               ` Fabio Estevam
2013-06-20 15:42               ` Markus Pargmann
2013-06-20 14:50   ` [PATCH 2/6] ARM: imx27: Use 'AITC' for the interrupt controller name Markus Pargmann
2013-06-20 14:50   ` [PATCH 3/6] ARM: dts: imx27: Add imx framebuffer device Markus Pargmann
2013-06-20 14:50   ` [PATCH 4/6] ARM: dts: imx27: Add 1-wire Markus Pargmann
2013-06-20 15:17     ` Alexander Shiyan
     [not found]       ` <1371741454.488712140-ZzAHCfOzKYkox3rIn2DAYQ@public.gmane.org>
2013-06-20 15:44         ` Markus Pargmann
2013-06-20 14:50   ` [PATCH 5/6] ARM: dts: imx27 cpufreq-cpu0 frequencies Markus Pargmann
     [not found]     ` <1371739815-6666-6-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-06-21  2:44       ` Shawn Guo
2013-06-21  4:54         ` Re[2]: " Alexander Shiyan
     [not found]           ` <1371790493.32418815-PR9Oqn8FVc1sdVUOrk1QfQ@public.gmane.org>
2013-06-21  5:23             ` Shawn Guo
     [not found]               ` <20130621052344.GA25633-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-06-21  8:47                 ` Lorenzo Pieralisi [this message]
     [not found]                   ` <20130621084740.GA14268-7AyDDHkRsp3ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-06-23  8:22                     ` Markus Pargmann
2013-06-20 14:50   ` [PATCH 6/6] ARM: dts: Add device tree support for phycard pca100 Markus Pargmann
2013-06-20 15:15     ` Markus Pargmann
2013-06-20 15:21     ` Alexander Shiyan
     [not found]       ` <1371741670.186508416-ZzAHCfOzKYkox3rIn2DAYQ@public.gmane.org>
2013-06-20 15:45         ` Markus Pargmann
     [not found]     ` <1371739815-6666-7-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-06-21  3:46       ` Shawn Guo
2013-06-23  8:17         ` Markus Pargmann

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=20130621084740.GA14268@e102568-lin.cambridge.arm.com \
    --to=lorenzo.pieralisi-5wv7dgnigg8@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=shc_work-JGs/UdohzUI@public.gmane.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).