From patchwork Wed Dec 2 22:21:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7753741 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 946FDBEEE1 for ; Wed, 2 Dec 2015 22:21:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C200420524 for ; Wed, 2 Dec 2015 22:21:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D665D204D8 for ; Wed, 2 Dec 2015 22:21:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756920AbbLBWVx (ORCPT ); Wed, 2 Dec 2015 17:21:53 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:35037 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbbLBWVw (ORCPT ); Wed, 2 Dec 2015 17:21:52 -0500 Received: by lfdl133 with SMTP id l133so69266078lfd.2 for ; Wed, 02 Dec 2015 14:21:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=oxnF00JiqY0geeYhD9OLnVUkvdBS4kJA0c061tcF3Oc=; b=Z2rqjNS0gSIxcCgeHPJVZ0JZTDgEOSqI2bPfHXgzo0vaVdQ3iHMnbkprBbQVGBc4lJ wJaMqRFXr4LKBqovdyt8qsKy4/JgBMj8x/NiJf7wmhcnJ7YQcYWhU2/WPW9eyIFZY4Lh ULnwoKaqpj9hJxNFEAs1PsLJsEhDESoTD2pqekLuLzPJLpp6xwcGzu+f9Mr9Vy3kKEoo I4ZszuN2TKJmAS3m503pRsg5LNSVxNjaedIV2RdmsGPDWB9CnIaEdC5ekmNzbtWwrtML +ookHdrUxqtRUjqE+EpefkXap7e/zDnt7X/+SA/MQ98HvYDu281s+TwONFLPrLFg17zz RnzA== 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=oxnF00JiqY0geeYhD9OLnVUkvdBS4kJA0c061tcF3Oc=; b=gBzPDHLE2Xsi0/l2vhdR/55w/aFDuL44Hc/Kn5e2sTOqnjNfko1SknHbgrXHVfG/bD 2qyl0bjBZ8ZXg9kf/HSscPLc76BYxFncn7XGtqtL68c5syNg+0IxkpM+kH7l758wXbFh aDNF9/Vo7oeKVggJ1/jop0XyN7/KmBNcTJgUErA1sE2YokFLTQioIE42VE0t9IYYgbuL FVPHl9Sx/W3u5+ot705g7ath0rdUGw6ELjeVSsRiLsaGFLTzyfTNeefz3QAzjD7nIDJ+ WyEP+oYj8ASS3ZC8JRUu8JeyUmw7WfEFevmjWP5A98K767+nowlZ5QozDc3L3647BA5G k2Kw== X-Gm-Message-State: ALoCoQlIXqhUG8JQDkyoVktNDpwVqocV13c0+VTJOurFEyO4STBeKjBpcm2O5pPtaOOrOA64gNkO X-Received: by 10.25.207.205 with SMTP id f196mr4184689lfg.124.1449094911103; Wed, 02 Dec 2015 14:21:51 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.80.183]) by smtp.gmail.com with ESMTPSA id p69sm830031lfe.42.2015.12.02.14.21.50 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Dec 2015 14:21:50 -0800 (PST) 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 Cc: devicetree@vger.kernel.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: shmobile: r8a7791: add EtherAVB clock Date: Thu, 03 Dec 2015 01:21:49 +0300 Message-ID: <1620245.6Dzpr9HbEp@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.2.6-201.fc22.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <2926317.Iq110C4Bmk@wasted.cogentembedded.com> References: <2926317.Iq110C4Bmk@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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,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 Add the EtherAVB clock to the R8A7791 device tree. Based on the commit 63d2d750c902 ("ARM: shmobile: r8a7790: add EtherAVB clocks"). Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791.dtsi | 10 ++++++---- include/dt-bindings/clock/r8a7791-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/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -1329,16 +1329,18 @@ compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; clocks = <&zx_clk>, <&hp_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 = < R8A7791_CLK_IPMMU_SGX R8A7791_CLK_MLB R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0 - R8A7791_CLK_ETHER R8A7791_CLK_SATA1 R8A7791_CLK_SATA0 + R8A7791_CLK_ETHERAVB R8A7791_CLK_ETHER + R8A7791_CLK_SATA1 R8A7791_CLK_SATA0 >; clock-output-names = - "ipmmu_sgx", "mlb", "vin2", "vin1", "vin0", "ether", - "sata1", "sata0"; + "ipmmu_sgx", "mlb", "vin2", "vin1", "vin0", + "etheravb", "ether", "sata1", "sata0"; }; mstp9_clks: mstp9_clks@e6150994 { compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; Index: renesas/include/dt-bindings/clock/r8a7791-clock.h =================================================================== --- renesas.orig/include/dt-bindings/clock/r8a7791-clock.h +++ renesas/include/dt-bindings/clock/r8a7791-clock.h @@ -102,6 +102,7 @@ #define R8A7791_CLK_VIN2 9 #define R8A7791_CLK_VIN1 10 #define R8A7791_CLK_VIN0 11 +#define R8A7791_CLK_ETHERAVB 12 #define R8A7791_CLK_ETHER 13 #define R8A7791_CLK_SATA1 14 #define R8A7791_CLK_SATA0 15