From patchwork Sat Feb 21 22:11:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5860691 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 31112BF440 for ; Sat, 21 Feb 2015 22:11:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 102A2204EB for ; Sat, 21 Feb 2015 22:11:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08D13204E2 for ; Sat, 21 Feb 2015 22:11:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751745AbbBUWL3 (ORCPT ); Sat, 21 Feb 2015 17:11:29 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:44700 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbbBUWL3 (ORCPT ); Sat, 21 Feb 2015 17:11:29 -0500 Received: by lbiz12 with SMTP id z12so12268061lbi.11 for ; Sat, 21 Feb 2015 14:11:27 -0800 (PST) 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=y2MudrxN7LbQDG1AhDaXeWRO2l+1bDqHStsHdflZ7GE=; b=kgLDsoq2HypX+HdLY/ajYAJI9VkCjeDMExcesqOV6LthjzHUPQpLZo22jD0JnPRLB1 PXoii9Tp9yc0WCLlbvE0H/b8i5OVeWGfJZxCgzyb0cAZSwPa8XcStUh+3p8fTV/QqcRW mDbV2R70KccriDzF8pIXU/9Aw+sYTPrOxf0dfVeJzH1w4gDJIrVMo8A5MkkFapLokRpD gFJw4+kFAsQakLtlGmYAM73kdGEwtO7N59YlVnHdcHAm7sUK4rlVc1DCHIxt6ifAO8pY JK0a3ycgKEzan2jJJ61/08pDtY9hUmF3HGemeaF1Ahb6vh+PWwWSPp6G84fm6cZQcqOj GdEg== X-Gm-Message-State: ALoCoQn0wNuI4f15ecd9a1MmItU4P4GmjB/bUB5z1I5hSVWLbyX1PfQk47b0iFDvYmnBrk9lvneP X-Received: by 10.112.220.36 with SMTP id pt4mr3600529lbc.15.1424556687507; Sat, 21 Feb 2015 14:11:27 -0800 (PST) Received: from wasted.cogentembedded.com (ppp20-60.pppoe.mtu-net.ru. [81.195.20.60]) by mx.google.com with ESMTPSA id c6sm6306327lag.26.2015.02.21.14.11.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 14:11:26 -0800 (PST) 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 1/2] ARM: shmobile: r8a7794: add GPIO clocks Date: Sun, 22 Feb 2015 01:11:25 +0300 Message-ID: <1831753.Dnjo3xKPJv@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.4 (Linux/3.18.6-100.fc20.x86_64; KDE/4.14.4; x86_64; ; ) In-Reply-To: <6954455.LyoCrfjM8R@wasted.cogentembedded.com> References: <6954455.LyoCrfjM8R@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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 Describe the GPIO clocks in the R8A7794 device tree. Based on the original patch by Koji Matsuoka . Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7794.dtsi | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) -- 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.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -651,16 +651,22 @@ mstp9_clks: mstp9_clks@e6150994 { compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>; - clocks = <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>, - <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>; + clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>, + <&cp_clk>, <&cp_clk>, <&cp_clk>, + <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>, + <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>; #clock-cells = <1>; - clock-indices = < - R8A7794_CLK_QSPI_MOD R8A7794_CLK_I2C5 R8A7794_CLK_I2C4 - R8A7794_CLK_I2C3 R8A7794_CLK_I2C2 R8A7794_CLK_I2C1 - R8A7794_CLK_I2C0 - >; + clock-indices = ; clock-output-names = - "qspi_mod", "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; + "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", + "gpio1", "gpio0", "qspi_mod", + "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; }; mstp11_clks: mstp11_clks@e615099c { compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";