From patchwork Fri Aug 31 07:52:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Vaussard X-Patchwork-Id: 1391331 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CFCDDDFABE for ; Fri, 31 Aug 2012 07:53:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750952Ab2HaHxa (ORCPT ); Fri, 31 Aug 2012 03:53:30 -0400 Received: from smtp4.epfl.ch ([128.178.224.218]:38399 "HELO smtp4.epfl.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750914Ab2HaHx2 (ORCPT ); Fri, 31 Aug 2012 03:53:28 -0400 Received: (qmail 22642 invoked by uid 107); 31 Aug 2012 07:53:26 -0000 X-Virus-Scanned: ClamAV Received: from lsro1pc340.epfl.ch (HELO lsro1pc340.epfl.ch) (128.178.145.154) (authenticated) by smtp4.epfl.ch (AngelmatoPhylax SMTP proxy) with ESMTPA; Fri, 31 Aug 2012 09:53:26 +0200 From: Florian Vaussard To: Tony Lindgren Cc: linux-i2c@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ben Dooks , Wolfram Sang , Benoit Cousson , Florian Vaussard , =?UTF-8?q?Philippe=20R=C3=A9tornaz?= Subject: [PATCH 2/2] arm/dts: Add i2c aliases for OMAP3 and OMAP4/AM33xx Date: Fri, 31 Aug 2012 09:52:55 +0200 Message-Id: <1346399575-7285-3-git-send-email-florian.vaussard@epfl.ch> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1346399575-7285-1-git-send-email-florian.vaussard@epfl.ch> References: <1346399575-7285-1-git-send-email-florian.vaussard@epfl.ch> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org I2C aliases need to be set, for the omap-i2c driver to get a correct adapter id. Signed-off-by: Florian Vaussard --- arch/arm/boot/dts/am33xx.dtsi | 3 +++ arch/arm/boot/dts/omap3.dtsi | 3 +++ arch/arm/boot/dts/omap4.dtsi | 4 ++++ 3 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 59509c4..ff2d879 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -20,6 +20,9 @@ serial3 = &uart4; serial4 = &uart5; serial5 = &uart6; + i2c0 = &i2c1; + i2c1 = &i2c2; + i2c2 = &i2c3; }; cpus { diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 8109471..a7d2f83 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -18,6 +18,9 @@ serial1 = &uart2; serial2 = &uart3; serial3 = &uart4; + i2c0 = &i2c1; + i2c1 = &i2c2; + i2c2 = &i2c3; }; cpus { diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 04cbbcb..496c7ce 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -25,6 +25,10 @@ serial1 = &uart2; serial2 = &uart3; serial3 = &uart4; + i2c0 = &i2c1; + i2c1 = &i2c2; + i2c2 = &i2c3; + i2c3 = &i2c4; }; cpus {