From patchwork Mon Jun 15 23:42:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6612431 X-Patchwork-Delegate: horms@verge.net.au 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 12554C0020 for ; Mon, 15 Jun 2015 23:42:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2AF49206F0 for ; Mon, 15 Jun 2015 23:42:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4572C20694 for ; Mon, 15 Jun 2015 23:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbbFOXmq (ORCPT ); Mon, 15 Jun 2015 19:42:46 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:36195 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbbFOXmq (ORCPT ); Mon, 15 Jun 2015 19:42:46 -0400 Received: by lbbqq2 with SMTP id qq2so433191lbb.3 for ; Mon, 15 Jun 2015 16:42:44 -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=+6D3YeE2GgXlV9dDy65AxRJfvuKgk0s9ZzgoQXRlXbg=; b=GjkKFRVYFkeABzIe+e3owWsTZQFGDCi32DW4CLSPHmjPuFsAhNlkAVI2EGhTR1cVsJ QcNPppHUQFHAsvvYFJzKqtOjLy7rMFXhB3yzEzognM0depuMgV8Oi04uFlD58ftNy3JP /P7QrmiPX3MCfmtB/onVIM/584OmB8d994+AAC30w8BhiTmaFHmhgSmf+cwOTCUw0Fzy 2cty+eLYe0R9gZDSKJ43PTXPgqaYrtMtFW4ILigo6PTPQW87+ZVJyF1TV+0drlkqs4XL 7RLkFaDwvnYS91Ofc/EgDDQfNQD5SBd/HQ/wcAQaLFtLFDI7K0fJQJXzlVf2aEfQTh5p MzLQ== X-Gm-Message-State: ALoCoQkswkmW20pjKmYXe/FP5NKsMG4RVkVQB/vSNEQnG6VJDGFhoOS8Rhul39CSr5dQxlIrXEF0 X-Received: by 10.112.72.132 with SMTP id d4mr2493792lbv.1.1434411764588; Mon, 15 Jun 2015 16:42:44 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-255-76.pppoe.mtu-net.ru. [83.237.255.76]) by mx.google.com with ESMTPSA id fj10sm3031859lbc.29.2015.06.15.16.42.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 16:42:43 -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, 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: r8a7790: add EtherAVB clocks Date: Tue, 16 Jun 2015 02:42:42 +0300 Message-ID: <3547940.lZD6YNB6hA@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.7 (Linux/4.0.4-202.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <2857896.YA1bBSQVkA@wasted.cogentembedded.com> References: <2857896.YA1bBSQVkA@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.4 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 Add the EtherAVB clock to the R8A7790 device tree. Based on original patch by Mitsuhiro Kimura . Signed-off-by: Sergei Shtylyov --- Changes in version 2: - fixed the order of the clock property values; - refreshed the patch. arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++---- include/dt-bindings/clock/r8a7790-clock.h | 1 + 2 files changed, 7 insertions(+), 4 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 @@ -1249,16 +1249,18 @@ compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, - <&zg_clk>, <&p_clk>, <&zs_clk>, <&zs_clk>; + <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>, + <&zs_clk>; #clock-cells = <1>; clock-indices = < R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 - R8A7790_CLK_VIN1 R8A7790_CLK_VIN0 R8A7790_CLK_ETHER + R8A7790_CLK_VIN1 R8A7790_CLK_VIN0 + R8A7790_CLK_ETHERAVB R8A7790_CLK_ETHER R8A7790_CLK_SATA1 R8A7790_CLK_SATA0 >; clock-output-names = - "mlb", "vin3", "vin2", "vin1", "vin0", "ether", - "sata1", "sata0"; + "mlb", "vin3", "vin2", "vin1", "vin0", + "etheravb", "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 @@ -108,6 +108,7 @@ #define R8A7790_CLK_VIN2 9 #define R8A7790_CLK_VIN1 10 #define R8A7790_CLK_VIN0 11 +#define R8A7790_CLK_ETHERAVB 12 #define R8A7790_CLK_ETHER 13 #define R8A7790_CLK_SATA1 14 #define R8A7790_CLK_SATA0 15