From patchwork Sat Aug 8 22:08:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6976221 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 70EE59F38B for ; Sat, 8 Aug 2015 22:09:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1F7420558 for ; Sat, 8 Aug 2015 22:09:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD80520544 for ; Sat, 8 Aug 2015 22:09:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992808AbbHHWJC (ORCPT ); Sat, 8 Aug 2015 18:09:02 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34836 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992648AbbHHWIY (ORCPT ); Sat, 8 Aug 2015 18:08:24 -0400 Received: by lahi9 with SMTP id i9so7915465lah.2 for ; Sat, 08 Aug 2015 15:08:23 -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=G5qAzXuNiiNeZCetUS5SOe7dCOOKuOiNvskNAn4TV4Q=; b=RjjyqI2fBVlzF2QJrrk1RkbB7AZ+d0qANsZWtvFU41lqTPk96UlOrkdHSxcYIuD829 OWjJPJDMHKzt9sbjqLMZG9p7eyDDXZ4JSnThOJbUY3mM2xdlVkwv/VFNJk3z+Kt7YUMH k3ez3hNrWXnrmIqE1aQAeznYdBwR3rho1EMpfSSTD2+qnxwu7g+xRey9dIdXuUIkjfpG MVKaVHBUlIhgZSBxFo+mSXPSnNtVoKos8rYAQHCWSHW7EwlY1gGjPMaXICAqzjH5VyeU ayhM5SFeyK0KWEubQHLRmkvF/DgXpxNZlUl7Vta12OPwQZLUKAgeH6ToqotgwUz1lTdf m+3w== X-Gm-Message-State: ALoCoQku7crravvNTbgZX25ZoDtpmPtP8PJFveVxxVbUyYmbVZgpFue/S/OTaMMQdlFtx+wiEfBx X-Received: by 10.152.27.134 with SMTP id t6mr14308659lag.100.1439071703452; Sat, 08 Aug 2015 15:08:23 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-255-136.pppoe.mtu-net.ru. [83.237.255.136]) by smtp.gmail.com with ESMTPSA id x4sm3089090lae.19.2015.08.08.15.08.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Aug 2015 15:08:22 -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, 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 v3 1/2] ARM: shmobile: r8a7794: add GPIO clocks Date: Sun, 09 Aug 2015 01:08:21 +0300 Message-ID: <6521353.aWaEAArBdd@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.0.8-200.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <2265315.MpjeDzrVz2@wasted.cogentembedded.com> References: <2265315.MpjeDzrVz2@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.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 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 --- Changes in version 3: - refreshed the patch. Changes in version 2: - refreshed the patch; - added Geert's and Laurent's ACKs. 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 @@ -749,16 +749,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";