From patchwork Wed May 9 11:33:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 8485 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6C36523E9A for ; Wed, 9 May 2012 11:33:39 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 3BFBAA18595 for ; Wed, 9 May 2012 11:33:39 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id u1so100189ggl.11 for ; Wed, 09 May 2012 04:33:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-spamscore:x-bigfish:x-forefront-antispam-report:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-originatororg:x-gm-message-state; bh=kezs1eVDRjsPoPYjzJA4Gu98IELjKq3MJS+oL45ljKg=; b=cBTXj6lmYCwZ9p/wayTGQjJ4ZlTE6SUvDEYBlCKrfOK5pSfElHID3SCni9IMy6j6K7 rYNjnUaqEZx3e0iOirwRUGy5LdbmXGgO0ZYiwFiLQlrxcecEHvUyQhD9psvE8fYV4G9U Ptn+CGVaPbvkYpkWTZkfsxUbRXV52K5sWm18Yvk/4AKdZo3svNREMO28Wxsd9hKZozS8 WRjCV8VI5pm3M8qoUzt8y/Jy5SAvvB6F4BVigRZyy3Ups8UMRfGpLsO4TajhdTt06fMS b8JThBMx3xjoKEQGDN/iiOoMATECrM+p0HHbZmGR4CzVtahln2LeRBnbZ84g87EeAhbR GdDw== Received: by 10.42.122.76 with SMTP id m12mr967087icr.38.1336563218752; Wed, 09 May 2012 04:33:38 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp8624ibj; Wed, 9 May 2012 04:33:38 -0700 (PDT) Received: by 10.180.90.102 with SMTP id bv6mr6138844wib.6.1336563217480; Wed, 09 May 2012 04:33:37 -0700 (PDT) Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe004.messaging.microsoft.com. [65.55.88.14]) by mx.google.com with ESMTPS id k8si2724346wed.24.2012.05.09.04.33.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 04:33:37 -0700 (PDT) Received-SPF: neutral (google.com: 65.55.88.14 is neither permitted nor denied by best guess record for domain of B20223@freescale.com) client-ip=65.55.88.14; Authentication-Results: mx.google.com; spf=neutral (google.com: 65.55.88.14 is neither permitted nor denied by best guess record for domain of B20223@freescale.com) smtp.mail=B20223@freescale.com Received: from mail112-tx2-R.bigfish.com (10.9.14.248) by TX2EHSOBE001.bigfish.com (10.9.40.21) with Microsoft SMTP Server id 14.1.225.23; Wed, 9 May 2012 11:33:35 +0000 Received: from mail112-tx2 (localhost [127.0.0.1]) by mail112-tx2-R.bigfish.com (Postfix) with ESMTP id 4FD942E06AB; Wed, 9 May 2012 11:33:35 +0000 (UTC) X-SpamScore: 3 X-BigFish: VS3(zcb8kzzz1202hzz8275bhz2dh2a8h668h839hd24he5bh) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail112-tx2 (localhost.localdomain [127.0.0.1]) by mail112-tx2 (MessageSwitch) id 1336563213453006_13802; Wed, 9 May 2012 11:33:33 +0000 (UTC) Received: from TX2EHSMHS020.bigfish.com (unknown [10.9.14.253]) by mail112-tx2.bigfish.com (Postfix) with ESMTP id 66D763601FE; Wed, 9 May 2012 11:33:33 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS020.bigfish.com (10.9.99.120) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 9 May 2012 11:33:29 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server id 14.1.355.3; Wed, 9 May 2012 06:33:28 -0500 Received: from b20223-02.ap.freescale.net (b20223-02.ap.freescale.net [10.192.242.124]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id q49BXDtM001540; Wed, 9 May 2012 06:33:24 -0500 (CDT) From: Richard Zhao To: , , CC: , , , , , , , , , , Richard Zhao Subject: [PATCH V2 02/11] ARM: dts: imx6q-sabrelite: add i2c1 pinctrl support Date: Wed, 9 May 2012 19:33:01 +0800 Message-ID: <1336563190-19974-3-git-send-email-richard.zhao@freescale.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1336563190-19974-1-git-send-email-richard.zhao@freescale.com> References: <1336563190-19974-1-git-send-email-richard.zhao@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-Gm-Message-State: ALoCoQlh6q56I/pGC91Elp262j+2LAB8HjJvM2QAs9AAK5kGo5p8UoevQ6RofniRmvTb1D1KvRWw Signed-off-by: Richard Zhao --- arch/arm/boot/dts/imx6q-sabrelite.dts | 2 ++ arch/arm/boot/dts/imx6q.dtsi | 7 +++++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index 2f631f2..85b7c6c 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts @@ -76,6 +76,8 @@ i2c@021a0000 { /* I2C1 */ status = "okay"; clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1_1>; codec: sgtl5000@0a { compatible = "fsl,sgtl5000"; diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 949f979..f95aa3c 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -486,6 +486,13 @@ reg = <0x020e0000 0x4000>; /* shared pinctrl settings */ + i2c1 { + pinctrl_i2c1_1: i2c1grp-1 { + fsl,pins = <137 0x4001b8b1 /* MX6Q_PAD_EIM_D21__I2C1_SCL */ + 196 0x4001b8b1>; /* MX6Q_PAD_EIM_D28__I2C1_SDA */ + }; + }; + usdhc3 { pinctrl_usdhc3_1: usdhc3grp-1 { fsl,pins = <1273 0x17059 /* MX6Q_PAD_SD3_CMD__USDHC3_CMD */