From patchwork Mon Aug 3 21:38:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6933331 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 0E8D3C05AC for ; Mon, 3 Aug 2015 21:38:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CE1E2021F for ; Mon, 3 Aug 2015 21:38:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A3DA203A5 for ; Mon, 3 Aug 2015 21:38:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755581AbbHCViH (ORCPT ); Mon, 3 Aug 2015 17:38:07 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:33546 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755268AbbHCViD (ORCPT ); Mon, 3 Aug 2015 17:38:03 -0400 Received: by lbbyj8 with SMTP id yj8so84802991lbb.0 for ; Mon, 03 Aug 2015 14:38:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=8Yy1eu9UrV8Ps8UsJa2Usc2Ni0bkK2uGSuIdXrTBNAo=; b=bxC69K5Y/ucXvnqgNoBCJ/0OCBrUyw4iPGd+BOf1rzZCCc1kEcbT+dnWAC6cJdBs5n xNy0TfV4W2ibCXwcv9Lfm0ZqFKuuzg3GMjQIMP5GuXdreNfz/zl0aqYdLdtLwQz9uPvn IubBEwvEw159abdIu5BWG6e8T2NyyJ0xN17cq22jdYRww4AupEqiUnzS8F8xo5CAmkLA KndDiKD85NsnlSOyPVHcan8lpkHZzeC2MnsaOyqRnKYyl2Us99buqYrW5Nje+oLFPXRA KSGqGGqh88ZwDhUVnTYG6uAEXQKJB8uLHqS3FBhG7pYDlChl5/BFsDvH+5siXOJ1ijgh B4Cg== X-Gm-Message-State: ALoCoQmG89KbXhUdL2PPTNH7M4bc19nMcqiJZ58OYudCBPqZ74649/iI6Qrd3sguPKvSd6SiQClT X-Received: by 10.152.9.66 with SMTP id x2mr155693laa.76.1438637881939; Mon, 03 Aug 2015 14:38:01 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp20-117.pppoe.mtu-net.ru. [81.195.20.117]) by smtp.gmail.com with ESMTPSA id ci2sm3267452lad.23.2015.08.03.14.38.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 14:38:01 -0700 (PDT) Date: Mon, 03 Aug 2015 14:38:01 -0700 (PDT) X-Google-Original-Date: Tue, 04 Aug 2015 00:38 +0300 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 v2 1/2] ARM: shmobile: r8a7794: add GPIO clocks Message-ID: <4462688.4GuBmS2g6G@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: <6388101.Drn6rL87rl@wasted.cogentembedded.com> References: <6388101.Drn6rL87rl@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.1 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 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 @@ -720,16 +720,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";