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: 7039411 Return-Path: X-Original-To: patchwork-linux-sh@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 A874A9F358 for ; Wed, 19 Aug 2015 22:05:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC08D2084F for ; Wed, 19 Aug 2015 22:05:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDCB2206E8 for ; Wed, 19 Aug 2015 22:05:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752141AbbHSWFH (ORCPT ); Wed, 19 Aug 2015 18:05:07 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:35563 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbbHSWFG (ORCPT ); Wed, 19 Aug 2015 18:05:06 -0400 Received: by lahi9 with SMTP id i9so11591100lah.2 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=cIKYMdPf0Yxjn8m3RoAGTBTkm4356DALBIDZMSW5MlR3XrgZIFSeqds8581wjcsBb8 GwtoBN2CjkWyHSZN2J4v2BrTLDQzlkOZZcijZBx25bGXdhiVKLAvs/FIyht886vVV+1f SP5kUkvTnfDhgwdZc7WAYnI/r4LqdscIHHC+Cu5KF6nySOA+muB8Q7yAjC2s+NOTrOZJ yAqM9BCvmPrjmdYgM6HftHxXDHGZCpC+4sjwV12DnYKj6eK2gsX6Qs1yCm+TO6p/bmqn 8XEowvMRsjcAhw8yvmO+w8CYT5loK+QVSyd6PW5uM2L05l+DBb98JJpbjWusjG60IWG7 nLdQ== X-Gm-Message-State: ALoCoQkuat40H1p+wCkL9LePtgToJWcfQ8w5p4ObE6Af4jKXRCalpuzVycExe5Ea6CBWDAPiBSjc 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.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 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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";