From patchwork Thu Oct 8 21:44:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7355931 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 A7C91BEEA4 for ; Thu, 8 Oct 2015 21:46:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD78B2054E for ; Thu, 8 Oct 2015 21:46:26 +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 04FE32053A for ; Thu, 8 Oct 2015 21:46:26 +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 1ZkIzd-0006gD-7c; Thu, 08 Oct 2015 21:44:53 +0000 Received: from mail-lb0-f170.google.com ([209.85.217.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZkIza-0006ah-M8 for linux-arm-kernel@lists.infradead.org; Thu, 08 Oct 2015 21:44:51 +0000 Received: by lbos8 with SMTP id s8so61173312lbo.0 for ; Thu, 08 Oct 2015 14:44:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=V3lSjF5YIYk4G2hcATjhJfXWlHhMBWpFg5NtzmMxUB4=; b=SUM0bx9RxlYUsIspHKYTHPJR/Rc+t/wsoQSqjby1IJ5jUPeOCnDNqwIS6AViFfWTx1 joQBqo3HivyJQXntLPjmu6CHl5e8Hm+Q9swc1NvJOI/9uMQxUNo7cwlxQTAVugEcEKeJ 7Iak8Hw4+rzwWtZDWCLjp32/IsPSt1L5sb2cKspUsfRNPsVMX6ICAEm3dyYmZuAjUuua zo94BRKNplGNSVbFcstvXHBQEJqB+5TT+I26nFmTbP1Ys5xyQDxyTincULYCoQG8q7iF ibl1siJbynWkC3OuwY6F45eGSbE9F+xiy1EwYiJYXnUQoEYAZ30vR4yte2oClttoKwRD K+NQ== X-Gm-Message-State: ALoCoQlXYQse4WWmwzlCEoIbfAwZcICxgtXd32eK6p39E69/Mx07mEGSxPrNUq95BUnXPA/73e/0 X-Received: by 10.112.13.201 with SMTP id j9mr4746402lbc.45.1444340666834; Thu, 08 Oct 2015 14:44:26 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-252-73.pppoe.mtu-net.ru. [83.237.252.73]) by smtp.gmail.com with ESMTPSA id oh8sm7561454lbb.29.2015.10.08.14.44.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 14:44:19 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH] ARM: shmobile: porter: add I2C2 DT support Date: Fri, 09 Oct 2015 00:44:18 +0300 Message-ID: <84974694.25bFZffQKN@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.8-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151008_144450_941211_2FAA1626 X-CRM114-Status: GOOD ( 12.01 ) X-Spam-Score: -2.6 (--) 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: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org 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 Define the Porter board dependent part of the I2C2 device node. This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile: henninger: add I2C2 DT support") as there are no differences between the boards in this respect. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20151008-v4.3-rc4' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-porter.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -109,6 +109,11 @@ renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; renesas,function = "sdhi2"; }; + + i2c2_pins: i2c2 { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; }; &scif0 { @@ -155,6 +160,14 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &sata0 { status = "okay"; };