devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
To: Jean-Christophe PLAGNIOL-VILLARD
	<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
Cc: Nicolas Pitre
	<nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Jon Medhurst <tixy-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
	Viresh Kumar
	<viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>,
	"rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org"
	<rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
	Amit Kucheria
	<amit.kucheria-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Barry Song <baohua.song-kQvG35nSl+M@public.gmane.org>,
	David Brown <davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Vinayak Kale <vkale-qTEPVZfXA3Y@public.gmane.org>,
	Catalin Marinas <Catalin.Marinas-5wv7dgnIgG8@public.gmane.org>,
	Lennert Buytenhek
	<kernel-OLH4Qvv75CYX/NnBR394Jw@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [RFC PATCH v2 03/13] ARM: mach-at91: cpus/cpu node dts updates
Date: Wed, 24 Apr 2013 10:29:14 +0100	[thread overview]
Message-ID: <20130424092914.GA1561@e102568-lin.cambridge.arm.com> (raw)
In-Reply-To: <20130423195259.GJ4998-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>

On Tue, Apr 23, 2013 at 08:52:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 14:53 Tue 23 Apr     , Lorenzo Pieralisi wrote:
> > On Tue, Apr 23, 2013 at 02:11:46PM +0100, Rob Herring wrote:
> > > On 04/22/2013 10:27 AM, Lorenzo Pieralisi wrote:
> > > > This patch updates the in-kernel dts files according to the latest cpus
> > > > and cpu bindings updates for ARM.
> > > > 
> > > > Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
> > > > ---
> > > >  arch/arm/boot/dts/at91sam9260.dtsi | 2 +-
> > > >  arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
> > > >  arch/arm/boot/dts/at91sam9g45.dtsi | 2 +-
> > > >  arch/arm/boot/dts/at91sam9n12.dtsi | 2 +-
> > > >  4 files changed, 4 insertions(+), 4 deletions(-)
> > > > 
> > > > diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
> > > > index cb7bcc5..2e9de85 100644
> > > > --- a/arch/arm/boot/dts/at91sam9260.dtsi
> > > > +++ b/arch/arm/boot/dts/at91sam9260.dtsi
> > > > @@ -33,7 +33,7 @@
> > > >  	};
> > > >  	cpus {
> > > >  		cpu@0 {
> > > > -			compatible = "arm,arm926ejs";
> > > > +			compatible = "arm,arm926";
> > > 
> > > I don't understand why you are doing this. If this does not match the
> > > documentation, fix the documentation. We can't continue on changing dts
> > > files without reqard to breaking compatibility.
> > 
> > IMHO compatibility is already broken. There are a number of dts in the
> > kernel missing cpus and cpu nodes, others with cpu nodes missing
> > device_type = "cpu", missing cpu nodes compatible properties and the list
> > goes on and on. Those files got merged in the kernel before bindings were
> > properly defined for ARM so at that point in time the only reference was the
> > ePAPR and still, it was not followed (eg my broken patch above fails to add
> > device_type = "cpu" to the cpu node, should I change the documentation (ePAPR)
> > to make the dts above compliant ? I do not think so, I reckon we should fix
> > all dts and force them to comply with the ePAPR and the in-kernel bindings).
> > 
> > If we do not set in stone the bindings and draw a line now, this stuff will
> > go wild, it is already in a state that I do not like much.
> > 
> > The reason we are patching the compatible property above is to avoid having
> > compatible properties containing suffixes for CPUs, we do not deem that
> > necessary, see:
> > 
> > http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/145305.html
> > 
> > That's just my opinion, open to change it to find a proper solution to this
> > issue as long as we make progress.
> 
> I do not agree when you set the compatible you need to be preceise the cpu is
> a arm926ejs not a arm926

I updated the bindings with all processor variants so that we will all
be happy again (I hope). My comments still stand though and these dts need
patching, I am posting the required changes in v3.

Lorenzo

  parent reply	other threads:[~2013-04-24  9:29 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 15:27 [RFC PATCH v2 00/13] ARM: DT cpu bindings updates Lorenzo Pieralisi
2013-04-22 15:27 ` [RFC PATCH v2 01/13] ARM: DT: kernel: move temporary cpu map stack array to static data Lorenzo Pieralisi
2013-04-22 15:27 ` [RFC PATCH v2 02/13] ARM: mach-mv78xx0: cpus/cpu node dts updates Lorenzo Pieralisi
2013-04-22 15:27 ` [RFC PATCH v2 04/13] ARM: mach-exynos: cpus/cpu nodes " Lorenzo Pieralisi
2013-04-22 15:27 ` [RFC PATCH v2 05/13] ARM: mach-imx: " Lorenzo Pieralisi
     [not found]   ` <1366644455-16550-6-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-23  7:34     ` Shawn Guo
     [not found] ` <1366644455-16550-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-22 15:27   ` [RFC PATCH v2 03/13] ARM: mach-at91: cpus/cpu node " Lorenzo Pieralisi
2013-04-22 15:48     ` Nicolas Ferre
     [not found]     ` <1366644455-16550-4-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-23 13:11       ` Rob Herring
     [not found]         ` <51768892.7060807-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-04-23 13:25           ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-23 13:53           ` Lorenzo Pieralisi
2013-04-23 19:52             ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]               ` <20130423195259.GJ4998-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2013-04-24  9:29                 ` Lorenzo Pieralisi [this message]
2013-04-24 12:45                   ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-22 15:27   ` [RFC PATCH v2 06/13] ARM: mach-lpc32xx: cpus/cpu nodes " Lorenzo Pieralisi
2013-04-22 15:27   ` [RFC PATCH v2 07/13] ARM: mach-omap2: " Lorenzo Pieralisi
2013-04-22 15:27   ` [RFC PATCH v2 08/13] ARM: mach-picoxcell: " Lorenzo Pieralisi
2013-04-22 15:27   ` [RFC PATCH v2 09/13] ARM: mach-shmobile: " Lorenzo Pieralisi
2013-04-23  1:55     ` Simon Horman
2013-04-22 15:27   ` [RFC PATCH v2 10/13] ARM: mach-spear: " Lorenzo Pieralisi
2013-04-23  6:18     ` Viresh Kumar
2013-04-22 15:27   ` [RFC PATCH v2 11/13] ARM: mach-sunxi: " Lorenzo Pieralisi
     [not found]     ` <1366644455-16550-12-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-24  7:15       ` Maxime Ripard
2013-04-22 15:27   ` [RFC PATCH v2 12/13] ARM: mach-vt8500: " Lorenzo Pieralisi
     [not found]     ` <1366644455-16550-13-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-23  2:13       ` Tony Prisk
2013-04-23  2:20         ` Tony Prisk
     [not found]           ` <5175EFFE.7020903-ci5G2KO2hbZ+pU9mqzGVBQ@public.gmane.org>
2013-04-23  9:16             ` Lorenzo Pieralisi
2013-04-23  9:15         ` Lorenzo Pieralisi
2013-04-23  2:43       ` Tony Prisk
2013-04-23  9:26         ` Lorenzo Pieralisi
2013-04-22 15:27   ` [RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update Lorenzo Pieralisi
     [not found]     ` <1366644455-16550-14-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2013-04-23  2:46       ` Tony Prisk
2013-05-02 18:31       ` Stephen Warren
     [not found]         ` <5182B0E9.3090006-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-05-03  9:15           ` Lorenzo Pieralisi
2013-04-22 16:41 ` [RFC PATCH v2 00/13] ARM: DT cpu bindings updates Will Deacon
     [not found]   ` <20130422164112.GB3076-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>
2013-04-22 18:00     ` Lorenzo Pieralisi
2013-04-22 19:18       ` Arnd Bergmann
     [not found]         ` <201304222118.41262.arnd-r2nGTMty4D4@public.gmane.org>
2013-04-23  9:09           ` Will Deacon
2013-04-23  9:34             ` Lorenzo Pieralisi

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=20130424092914.GA1561@e102568-lin.cambridge.arm.com \
    --to=lorenzo.pieralisi-5wv7dgnigg8@public.gmane.org \
    --cc=Catalin.Marinas-5wv7dgnIgG8@public.gmane.org \
    --cc=amit.kucheria-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=andrew-g2DYL2Zd6BY@public.gmane.org \
    --cc=baohua.song-kQvG35nSl+M@public.gmane.org \
    --cc=davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
    --cc=kernel-OLH4Qvv75CYX/NnBR394Jw@public.gmane.org \
    --cc=kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=nsekhar-l0cyMroinI0@public.gmane.org \
    --cc=plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=tixy-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=vkale-qTEPVZfXA3Y@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).