From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH v4 06/20] tegra: fdt: Add Tegra2x device tree file from kernel Date: Wed, 18 Jan 2012 15:24:17 -0700 Message-ID: <4F174691.1040007@nvidia.com> References: <1326342789-5781-1-git-send-email-sjg@chromium.org> <1326342789-5781-7-git-send-email-sjg@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326342789-5781-7-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@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: Simon Glass Cc: U-Boot Mailing List , Devicetree Discuss , Tom Warren , Jerry Van Baren List-Id: devicetree@vger.kernel.org On 01/11/2012 09:32 PM, Simon Glass wrote: > This was taken from commit b48c54e2 at: > git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git > > config.mk is updated to provide this file to boards through the > built-in mechanism: > > /include/ ARCH_CPU_DTS > > Signed-off-by: Simon Glass > diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi ... > + i2c@7000d000 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "nvidia,tegra20-i2c"; > + reg = <0x7000D000 0x200>; > + interrupts = < 85 >; > + }; This is slightly out-of-date now; in next-20120118, that node's compatible flag is nvidia,tegra20-i2c-dvc. The HW register layout is somewhat different for this I2C controller, and the different compatible flag is how the driver this. Still, you can always apply that fix in a later patch before you add I2C support. -- nvpublic