From patchwork Thu Dec 18 20:41:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5515891 X-Patchwork-Delegate: horms@verge.net.au 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 65AD89F1CD for ; Thu, 18 Dec 2014 20:42:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2A4B202F0 for ; Thu, 18 Dec 2014 20:41:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C85452008F for ; Thu, 18 Dec 2014 20:41:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbaLRUl5 (ORCPT ); Thu, 18 Dec 2014 15:41:57 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:37136 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbaLRUl4 (ORCPT ); Thu, 18 Dec 2014 15:41:56 -0500 Received: by mail-la0-f42.google.com with SMTP id gd6so1718449lab.15 for ; Thu, 18 Dec 2014 12:41:55 -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:mime-version:content-transfer-encoding:content-type; bh=4uehpv8OkIQ7n/F5G7H98utoxCl9Se/OG5P4vno+d1I=; b=bnK/ndIX14DGAa6EuiT624R7cMmf0+Vb6mPQA0wrP5TZTt881/x9tP4lyZ9S0AY5LK OOsQ5D5oYXysxhzdThwrXiiFyiu73iPFMnaMYBqTd6CZ1Ln1dF0fOM8UCN2Kg9BwIA08 brmWbBd1TOkjAkI2ryvQV3A3p8Vms3jDpI6odW8CCrQbs5s+FVP2R4QYv7REoz0zBVKB 8e123ipVoBnjlHVlpyUpw6Hbn//C93V1LJpQecTIIQqVgjrX5KFpfRREVn00HmVDqd1W ku/FUWtOVYYL3aFyOPAwz0ExZ6KHrtoZvznwrcoIPfsF5LLzBFJorV+stFf7Dp8r+Ltd a4WA== X-Gm-Message-State: ALoCoQmxjBaTNz8WgRO8INxH7hocf+Ux9qLA0QHf7jO3RX+QUENimzSbeNsyLrL83lnlZyEAuibU X-Received: by 10.152.43.49 with SMTP id t17mr4365513lal.52.1418935315007; Thu, 18 Dec 2014 12:41:55 -0800 (PST) Received: from wasted.cogentembedded.com (ppp83-237-254-124.pppoe.mtu-net.ru. [83.237.254.124]) by mx.google.com with ESMTPSA id jf3sm2067781lbc.44.2014.12.18.12.41.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 12:41:53 -0800 (PST) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: r8a7790: add MLB+ clock Date: Thu, 18 Dec 2014 23:41:52 +0300 Message-ID: <2277336.BnuIY8UiP8@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.3 (Linux/3.17.6-200.fc20.x86_64; KDE/4.14.3; x86_64; ; ) 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=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 From: Andrey Gusakov Add MLB+ clock to R8A7790 device tree. Signed-off-by: Andrey Gusakov [Sergei: rebased, renamed, added changelog] Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20141218-v3.18' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7790.dtsi | 13 +++++++------ include/dt-bindings/clock/r8a7790-clock.h | 1 + 2 files changed, 8 insertions(+), 6 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/r8a7790.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi +++ renesas/arch/arm/boot/dts/r8a7790.dtsi @@ -1149,16 +1149,17 @@ mstp8_clks: mstp8_clks@e6150990 { compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; - clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>, - <&zs_clk>, <&zs_clk>; + clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, + <&zg_clk>, <&p_clk>, <&zs_clk>, <&zs_clk>; #clock-cells = <1>; clock-indices = < - R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 R8A7790_CLK_VIN1 - R8A7790_CLK_VIN0 R8A7790_CLK_ETHER R8A7790_CLK_SATA1 - R8A7790_CLK_SATA0 + R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 + R8A7790_CLK_VIN1 R8A7790_CLK_VIN0 R8A7790_CLK_ETHER + R8A7790_CLK_SATA1 R8A7790_CLK_SATA0 >; clock-output-names = - "vin3", "vin2", "vin1", "vin0", "ether", "sata1", "sata0"; + "mlb", "vin3", "vin2", "vin1", "vin0", "ether", + "sata1", "sata0"; }; mstp9_clks: mstp9_clks@e6150994 { compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; Index: renesas/include/dt-bindings/clock/r8a7790-clock.h =================================================================== --- renesas.orig/include/dt-bindings/clock/r8a7790-clock.h +++ renesas/include/dt-bindings/clock/r8a7790-clock.h @@ -97,6 +97,7 @@ #define R8A7790_CLK_LVDS0 26 /* MSTP8 */ +#define R8A7790_CLK_MLB 2 #define R8A7790_CLK_VIN3 8 #define R8A7790_CLK_VIN2 9 #define R8A7790_CLK_VIN1 10