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: 7648481 Return-Path: X-Original-To: patchwork-linux-sh@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 A2695BF90C for ; Wed, 18 Nov 2015 12:51:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9F1B2062B for ; Wed, 18 Nov 2015 12:51:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7BE2205EE for ; Wed, 18 Nov 2015 12:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754308AbbKRMvR (ORCPT ); Wed, 18 Nov 2015 07:51:17 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35863 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513AbbKRMvQ (ORCPT ); Wed, 18 Nov 2015 07:51:16 -0500 Received: by wmww144 with SMTP id w144so195715782wmw.1; 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 Cc: magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, sergei.shtylyov@cogentembedded.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ulrich Hecht 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> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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"; };