From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Prisk Subject: Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates Date: Tue, 23 Apr 2013 14:43:48 +1200 Message-ID: <5175F564.8030405@prisktech.co.nz> References: <1366644455-16550-1-git-send-email-lorenzo.pieralisi@arm.com> <1366644455-16550-13-git-send-email-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1366644455-16550-13-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Lorenzo Pieralisi Cc: Nicolas Pitre , Jon Medhurst , Catalin Marinas , Andrew Lunn , Sekhar Nori , Lennert Buytenhek , Kukjin Kim , Russell King , Magnus Damm , Viresh Kumar , David Brown , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , Simon Horman , Barry Song , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Amit Kucheria , Vinayak Kale List-Id: devicetree@vger.kernel.org On 23/04/13 03:27, 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 > --- > arch/arm/boot/dts/wm8505.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/wm8505.dtsi b/arch/arm/boot/dts/wm8505.dtsi > index e74a1c0..a470808 100644 > --- a/arch/arm/boot/dts/wm8505.dtsi > +++ b/arch/arm/boot/dts/wm8505.dtsi > @@ -13,7 +13,7 @@ > > cpus { > cpu@0 { > - compatible = "arm,arm926ejs"; > + compatible = "arm,arm926"; > }; > }; > The more I look at this, the more wrong it is :/ From the new binding documentation, + A cpus node must define the following properties: + + - #address-cells + Usage: required + Value type: + Definition: must be set to 1 for 32-bit systems and 2 for + 64-bit systems + - #size-cells + Usage: required + Value type: + Definition: must be set to 0 ... +- cpu node + + Description: Describes a CPU in an ARM based system + + PROPERTIES + + - device_type + Usage: required + Value type: + Definition: must be "cpu" Three required properties that aren't present in the patch. cpus { #size-cells = <0>; #address-cells = <1>; cpu { device_type = "cpu" compatible = "arm,arm926"; }; }; Regards Tony P