From patchwork Fri Apr 17 14:43:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 6234301 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD048BF4A6 for ; Fri, 17 Apr 2015 14:46:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F04A3202E5 for ; Fri, 17 Apr 2015 14:46:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC92120225 for ; Fri, 17 Apr 2015 14:46:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yj7V6-0005Yt-T0; Fri, 17 Apr 2015 14:44:12 +0000 Received: from mail.cosmopool.net ([2a01:4f8:160:20c1::10:107]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yj7V3-0005Io-Qp for linux-arm-kernel@lists.infradead.org; Fri, 17 Apr 2015 14:44:11 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id A5C57903C3B; Fri, 17 Apr 2015 16:43:47 +0200 (CEST) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Go8zBp939FC; Fri, 17 Apr 2015 16:43:47 +0200 (CEST) Received: from huygens.ccbib.org (unknown [10.0.10.106]) by mail.cosmopool.net (Postfix) with SMTP id 36001903C25; Fri, 17 Apr 2015 16:43:46 +0200 (CEST) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Fri, 17 Apr 2015 14:43:46 +0000 From: Harald Geyer To: Shawn Guo , Sascha Hauer , Fabio.Estevam@freescale.com, linux-arm-kernel@lists.infradead.org, stefan.wahren@i2se.com Subject: [PATCHv2 2/2] ARM: dts: imx23-olinuxino: Add i2c support Date: Fri, 17 Apr 2015 14:43:25 +0000 Message-Id: <1429281806-7934-2-git-send-email-harald@ccbib.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1429281806-7934-1-git-send-email-harald@ccbib.org> References: <1429281806-7934-1-git-send-email-harald@ccbib.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150417_074410_065347_6FB71B4A X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: Harald Geyer X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The imx23-olinuxino board has an i2c interface exposed on UEXT connector. This patch enables i2c and selects the pin group used on UEXT connector. Tested with MOD-LCD1x9 from Olimex. This patch is based on work by Fadil Berisha with his permission. However all bugs are mine. Signed-off-by: Harald Geyer --- changes since v1: split in generic and board specific patches arch/arm/boot/dts/imx23-olinuxino.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index 7e6eef2..85718df 100644 --- a/arch/arm/boot/dts/imx23-olinuxino.dts +++ b/arch/arm/boot/dts/imx23-olinuxino.dts @@ -73,6 +73,12 @@ status = "okay"; }; + i2c: i2c@80058000 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins_b>; + status = "okay"; + }; + duart: serial@80070000 { pinctrl-names = "default"; pinctrl-0 = <&duart_pins_a>;