From patchwork Wed Nov 18 12:51:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7648531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C717D9F1D3 for ; Wed, 18 Nov 2015 12:53:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 56D182062F for ; Wed, 18 Nov 2015 12:53:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A4232062A for ; Wed, 18 Nov 2015 12:53:40 +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 1Zz2DD-00060g-D2; Wed, 18 Nov 2015 12:51:47 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zz2D2-0005tk-R4 for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2015 12:51:37 +0000 Received: by wmec201 with SMTP id c201so71535613wme.1 for ; Wed, 18 Nov 2015 04:51:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=/TUrtKtCx6mP/1B2utEZ7M7fpJIYGCYgRgrz2Lw476k=; b=r0FrSgj929xzuHVg2w4TjWyVZQ/NOHQ79LL376vSsjipvm+WKz+37q5+fUARexgClD x/DRW5UvNzyNZnoUZY510h8jq0lJgCdf7iqaKrQrrJIG+vAqxCtrPuLYNoNzh525pT0f WkBTwj0kt9B4+q8NU2Tz5TTl86iDe22q0zhIGtK14tcoNcY+UEWKro2kJ6BCFkjLTp8g vHXT2Nea59/IX2KtQR0lo2OFXFCwM+p+XFM6yp0J018TI2x1aoMW6dkGmPZ+IU6ElX8R Ec6t4+1qPbdRH+o2MBDQbXnA/SYcOk/w7Ovime2Zp0YUPRT6mqTqhIlpoFXk0gUJnOjO chHA== X-Received: by 10.28.179.8 with SMTP id c8mr8670523wmf.51.1447851075219; Wed, 18 Nov 2015 04:51:15 -0800 (PST) Received: from groucho.site (ipbcc0ddf2.dynamic.kabel-deutschland.de. [188.192.221.242]) by smtp.gmail.com with ESMTPSA id kd8sm2732578wjc.27.2015.11.18.04.51.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Nov 2015 04:51:14 -0800 (PST) From: Ulrich Hecht To: linux-sh@vger.kernel.org, horms@verge.net.au Subject: [PATCH 1/2] ARM: shmobile: alt: add I2C1 DT support Date: Wed, 18 Nov 2015 13:51:06 +0100 Message-Id: <1447851067-8214-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1447851067-8214-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1447851067-8214-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151118_045137_130009_28D5C0FD X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sergei.shtylyov@cogentembedded.com, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, Ulrich Hecht , linux-arm-kernel@lists.infradead.org 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.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Defines the board-dependent part of the I2C1 device. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index e7c9455..88ed017 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -115,6 +115,11 @@ renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; renesas,function = "eth"; }; + + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; + }; }; &cmt0 { @@ -134,6 +139,14 @@ }; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &scif2 { status = "okay"; };