From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mitch Bradley Subject: Re: [PATCH] ARM: vexpress: initial device tree support Date: Wed, 11 Jan 2012 14:47:27 -1000 Message-ID: <4F0E2D9F.5080909@firmworks.com> References: <1316596786-2539-1-git-send-email-dave.martin@linaro.org> <4F0B897A.20502@firmworks.com> <20120110122252.GA7180@jl-vm1.vm.bytemark.co.uk> <4F0CB485.9010106@freescale.com> <4F0CBD46.2010909@firmworks.com> <4F0CD7BC.7080409@freescale.com> <4F0D2F90.8020801@firmworks.com> <74CDBE0F657A3D45AFBB94109FB122FF177EE3A770@HQMAIL01.nvidia.com> <4F0E1843.7030207@firmworks.com> <74CDBE0F657A3D45AFBB94109FB122FF177EE3A848@HQMAIL01.nvidia.com> <4F0E2B95.7070402@firmworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F0E2B95.7070402-D5eQfiDGL7eakBO8gow8eQ@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-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Stephen Warren Cc: =?UTF-8?B?UGF3ZcWCIE1vbGw=?= , "patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , Jamie Lokier , Rob Herring , Timur Tabi , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org More nits picked below ... > > i2c1: i2c@7000c000 { > #address-cells =<1>; > #size-cells =<0>; > compatible = "nvidia,tegra20-i2c"; > reg =<0x7000C000 0x100>; > interrupts =<0 38 0x04>; > }; > > mux@0 { The name "i2cmux" might be more evocative. > #address-cells =<1>; > #size-cells =<0>; > compatible = "nvidia,tegra20-i2c"; > parent-bus =<&i2c1>; > gpios =<&gpio 100 0&gpio 101 0>; > gpio-values-idle =<0>; /* bitmask of values */ > > bus@0 { Since this implements the i2c bus abstraction, the name should be "i2c" > #address-cells =<1>; > #size-cells =<0>; > /* > * The GPIO values to set as a bitmask. > * Formatted like gpio-i2cmux.c's mux->data.values[i]. > * Or name this gpio-values? > */ > reg =<1>; > > wm8903: wm8903@1a { > compatible = "wlf,wm8903"; > reg =<0x1a>; > ... > }; > }; > > bus@1 { Ditto, name should be "i2c" > #address-cells =<1>; > #size-cells =<0>; > reg =<2>; > > light-sensor@44 { > compatible = "isil,isl29018"; > reg =<0x44>; > ... > }; > }; > };