From patchwork Mon Mar 30 21:58:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6125761 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 1D0FBBF4A6 for ; Mon, 30 Mar 2015 21:59:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B2FD20444 for ; Mon, 30 Mar 2015 21:59:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 440E52044B for ; Mon, 30 Mar 2015 21:59:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753905AbbC3V7h (ORCPT ); Mon, 30 Mar 2015 17:59:37 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:34560 "EHLO mail-la0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901AbbC3V61 (ORCPT ); Mon, 30 Mar 2015 17:58:27 -0400 Received: by lagg8 with SMTP id g8so114545503lag.1 for ; Mon, 30 Mar 2015 14:58:25 -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=XmH/hWm1f+mQxtY045uq6FPkHatkMpL5chbfNTGRWQg=; b=He93RrQRGLK8/hPFAqjpJgxNhm61VrS11ywiHP8IIr19MUg3w+Jyd6hrB5oii+hE1m +B7tXtaY8YQU3sHTTW5yWZFmSCr8yiwUZV5Pbpfn3YTTp7qJxGE7mVeXDVJ6Tj1WnVxo B/2FpGrHViLPRs+sFCWQMKVWFKMtt37DH7acKHkjVDnZMO7sPFvsA37LNSnUfVo/3ARe dK5A2/imhNL7gysOkaUGItTPa9xj5k21tt2QBZgz8ZfKVpVlKn01Cv+QQ1tktbwr3hEP cdrhDjtetZo6vzZAhnWXxT7Kmd7LgJe8xN0eVzsrKMUd9bVXFha/dlp10cD9IjtvVIJ8 DhYg== X-Gm-Message-State: ALoCoQkOi2e4mt67I95OOqw9nTtT5FA+FdtK7zlBmdc+evOQ+6l6ln+z2eeSxd7TxPVtzxudncz0 X-Received: by 10.152.6.136 with SMTP id b8mr27841388laa.93.1427752705666; Mon, 30 Mar 2015 14:58:25 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-251-118.pppoe.mtu-net.ru. [83.237.251.118]) by mx.google.com with ESMTPSA id kx8sm2277809lbc.3.2015.03.30.14.58.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 14:58:24 -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 1/2] ARM: shmobile: r8a7790: add EtherAVB clock Date: Tue, 31 Mar 2015 00:58:23 +0300 Message-ID: <2142150.nOzfK74FZR@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.4 (Linux/3.18.9-100.fc20.x86_64; KDE/4.14.6; x86_64; ; ) In-Reply-To: <1625400.M0MxPQybIy@wasted.cogentembedded.com> References: <1625400.M0MxPQybIy@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 Add the EtherAVB clock to the R8A7790 device tree. Based on original patch by Mitsuhiro Kimura . Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7790.dtsi | 8 +++++--- include/dt-bindings/clock/r8a7790-clock.h | 1 + 2 files changed, 6 insertions(+), 3 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 @@ -1193,16 +1193,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>, <&p_clk>, <&hp_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_ETHER R8A7790_CLK_ETHERAVB R8A7790_CLK_SATA1 R8A7790_CLK_SATA0 >; clock-output-names = "mlb", "vin3", "vin2", "vin1", "vin0", "ether", - "sata1", "sata0"; + "etheravb", "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 @@ -105,6 +105,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