From patchwork Tue Jun 10 22:45:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4332491 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 445039F357 for ; Tue, 10 Jun 2014 22:48:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C53520274 for ; Tue, 10 Jun 2014 22:48:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A16AE20136 for ; Tue, 10 Jun 2014 22:48:15 +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 1WuUne-00030O-Hn; Tue, 10 Jun 2014 22:45:50 +0000 Received: from mail-la0-f53.google.com ([209.85.215.53]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuUnb-0002yt-Rp for linux-arm-kernel@lists.infradead.org; Tue, 10 Jun 2014 22:45:48 +0000 Received: by mail-la0-f53.google.com with SMTP id ty20so4337664lab.40 for ; Tue, 10 Jun 2014 15:45:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=JbHeLjmoh/sl15FzFABfnpIOht08t+MVjmgL3nkKWbQ=; b=Z/vhPVNlFRE6jzWwg1WQcmbX4nbixIm//z0Id5+FABdZz1YBm4kKCDn4Xs9W8SHStY VOtF2+sDUM0sPg3K4KvBb6NtaeINLzErOGnWq5IG12gRApZ95p5ETwlWSER8xKIOstVf lps2vDr2CxV4QZAk6n9wzxbKUWyWS9vbMQtKeq0IiyF3TjTPAMYaCHt6zcqhZAQ5oOuS UAFuH4Jb2wkH1xovNOBZ9xHyscOHY4yO+7a9H4t2Exy9JHXtcNZqyF63SPCVGbKxoZi5 Ios4qd+4ru9DpmmGDZC1K0u3u0zSjaxggIl9H0jhryARxFF0DCZnxYNBbhdfXdPH2No6 Cycg== X-Gm-Message-State: ALoCoQmv2dZbkdSGjdUsi7GPTa0BJ8tv5W5cQqxdxfDz+adLCyO3nEAfzrIO3vA9uRp55q7L4XtB X-Received: by 10.112.17.102 with SMTP id n6mr23296115lbd.39.1402440323950; Tue, 10 Jun 2014 15:45:23 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp29-44.pppoe.mtu-net.ru. [81.195.29.44]) by mx.google.com with ESMTPSA id i10sm22831018lbc.16.2014.06.10.15.45.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 15:45:23 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2] ARM: shmobile: henninger: add I2C2 DT support From: Sergei Shtylyov Organization: Cogent Embedded Date: Wed, 11 Jun 2014 02:45:21 +0400 MIME-Version: 1.0 Message-Id: <201406110245.22692.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140610_154548_089258_DE330C34 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: mark.rutland@arm.com, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, magnus.damm@gmail.com, robh+dt@kernel.org, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 Henninger board dependent part of the I2C2 device node. Based on the Koelsch I2C2 device tree patch by Wolfram Sang. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.15-20140610' tag of Simon Horman's 'renesas.git' repo. Changes in version 2: - removed I2C devices, to be added by separate patches. arch/arm/boot/dts/r8a7791-henninger.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -110,6 +110,11 @@ renesas,function = "sdhi2"; }; + i2c2_pins: i2c2 { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; + qspi_pins: spi0 { renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,function = "qspi"; @@ -170,6 +175,14 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &qspi { pinctrl-0 = <&qspi_pins>; pinctrl-names = "default";