From patchwork Wed Aug 19 22:05:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7039421 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 86AA3C05AC for ; Wed, 19 Aug 2015 22:07:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 892F5206E8 for ; Wed, 19 Aug 2015 22:07:34 +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 6444E206E7 for ; Wed, 19 Aug 2015 22:07:33 +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 1ZSBUB-0004OF-0n; Wed, 19 Aug 2015 22:05:31 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSBU9-0004Ni-Ez for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Aug 2015 22:05:29 +0000 Received: from mail-la0-f52.google.com ([209.85.215.52]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSBU6-0000pe-Mw for linux-arm-kernel@lists.infradead.org; Wed, 19 Aug 2015 22:05:27 +0000 Received: by lagz9 with SMTP id z9so11581494lag.3 for ; Wed, 19 Aug 2015 15:05:04 -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:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=rf9weDxuH9Qm4Vq/rscB6NTqMJ9V5hwY3D3y5S7+hjs=; b=GXDTlmEkHEWqpH5qzODo5Pe1yC/uA6xuMYGWz4dP90FTLM9VpJmbU6TOH21dqKHTUN A/yzaIUYwklN4sk0dsny0CdQAFZXwiUT27d7M6Af+3FlNK3DmKFIQnZvL1/HgTYYjme7 I8oJvUTzYhPbFUjT3Jof59iqNS9D0Akzjl8HsmIuk8/XpbR3bPIztePvgqh6AUy4lZM4 XL/tNMSGbtMI3O540/dOcRpjsFSP1rmu7kV3oGlfKV++8+gx2AqV0AJJyMQRgJqEKPWf 4ovJ2WNi5nv8C0jG0xYu63/faGCyOzuWJl4R2tPgwNSnyoQQCph//yYsyLRNwx2yDk8y vY8w== X-Gm-Message-State: ALoCoQmVpjK7CXbXaSbfZPo2eW/SvkCpWyLIu+KuFrd64doWTfLXauejDUAfLsp8nXW7ssjdsHIz X-Received: by 10.152.4.163 with SMTP id l3mr14017234lal.35.1440021903991; Wed, 19 Aug 2015 15:05:03 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-250-51.pppoe.mtu-net.ru. [83.237.250.51]) by smtp.gmail.com with ESMTPSA id w9sm583561laj.21.2015.08.19.15.05.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:05:03 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: shmobile: silk: add I2C1 DT support Date: Thu, 20 Aug 2015 01:05:02 +0300 Message-ID: <1624715.8TpWL8Dlnf@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.4-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <2390854.nqPs17CVpc@wasted.cogentembedded.com> References: <2390854.nqPs17CVpc@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150819_230526_796678_7D76524A X-CRM114-Status: GOOD ( 11.48 ) 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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 SILK board dependent part of the I2C1 device node. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794-silk.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts @@ -85,6 +85,11 @@ renesas,function = "intc"; }; + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; + }; + mmcif0_pins: mmcif0 { renesas,groups = "mmc_data8", "mmc_ctrl"; renesas,function = "mmc"; @@ -124,6 +129,14 @@ }; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &mmcif0 { pinctrl-0 = <&mmcif0_pins>; pinctrl-names = "default";