From patchwork Thu Jan 1 00:00:01 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9637541 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 80CCE60327 for ; Tue, 21 Mar 2017 19:48:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A61527CAF for ; Tue, 21 Mar 2017 19:48:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F28A2833B; Tue, 21 Mar 2017 19:48:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.5 required=2.0 tests=BAYES_00, DATE_IN_PAST_96_XX, DKIM_SIGNED,DKIM_VALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DFE0C27CAF for ; Tue, 21 Mar 2017 19:48:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:To:Date:Message-Id :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mclFUW38MyN50+UShzOqN79UjynjWlvTXmsQGLpHsVs=; b=Rpv46uE2jWtSHW 3A5P/Mw7ck/0IpgVXrxrSefzWylevj1MYGnATVeBvNteC8zX8BQNJHVzjX21tbD1s3sETfo3As9Xb S8BxkfKwuxJTYGF9wgWde869tw+bg2ARGCyqVjRzlblf7V2/rETK2gAgYlyrjj/9oD+Yjh58sr5CS v4s5s22Bzmf6wVaKq4owOUTLEOQrYTJ7qCT1nupG40nOOhcTH1M89J1p/UYIJvmDIJXgpFwtdlg4W Dp0ihykZc7DG5ZU5F3pf23gqFzbbjQ+v/9+suulDx1cASIiX2ZKMUAaf5Q+6lWr5Xie8lpVDHicT/ +++F5vqx0GvyOIY2x1yg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqPm4-0008Q7-K4; Tue, 21 Mar 2017 19:48:56 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqPm1-0008NQ-4S for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2017 19:48:55 +0000 Received: by mail-lf0-x235.google.com with SMTP id j90so71189100lfk.2 for ; Tue, 21 Mar 2017 12:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=y2JWDcXbetnI0qYJHz55XO6HlCu5kNGvDjW/WJhKDWM=; b=rrbmN7sI0QNu4RNpOxuy2ifqRbAkPOnTDcvX3MS9vB6jdoarN4/WAs+C/D6LUdcAGH QWkpWB129CWsSOLWzH+3DOvJF7SsKrdWmTpfc4BWVAbBKPhMDw+JutMgHYJRjSEnzLFP F2ZHmMQkaamYmh+uILCCBYSyl8cvufBcNlXYvuqhTCYiTNWNUk27QZHxv093JCgD+Riy oMTWB+o4quQygF+aFRymeBreKVM7PRn7765s+eiQFh+J1UeRz3vl5BnsrCP7+PIQQ7to qfOEdo+lexa/8Jl1ZqTwZdWR/AV+gabpaPOchppq/GjuKREwqWPE/dtnnRILQPWZo88M M3FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=y2JWDcXbetnI0qYJHz55XO6HlCu5kNGvDjW/WJhKDWM=; b=GxmQ/AsSlY6ETXASKVbCJjefeaJfCpf08Wmt6u4wbNiV4vFkFmDF5D0NKk48+jBWlO NvKj+ijuuL7689EZkNn/dJQrr+k6Qs2E/rhjpxqiFTQM0HSoz/GO2ay448QFvZOcGSDS mD/r7Rzn44ZUViFTCkfIcqiYYShD9GOGVLgGDq0+LQ85M/JmLDDz9eayolPVbk5BEeoW SBd9Csp9cHBaK9DPpPEPPzVx0Gngitf5IiwlCTqfZ9JfHJX9z6WNixolp/V0tF35VFcj tEBCP3/P0Rb/4eQssiS3hiccqVkocBeNaoVBwzdbmw3k5EFj+xPGNYM/gXnfONT3qCCS 8yig== X-Gm-Message-State: AFeK/H0j3UAlt4DgcTd9u5n8nRJxiH9aEAjW6vKdkM82XtUDBvUZ2MQmgKZJfP7svCur8w== X-Received: by 10.46.88.7 with SMTP id m7mr12340213ljb.131.1490125710525; Tue, 21 Mar 2017 12:48:30 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.95]) by smtp.gmail.com with ESMTPSA id x84sm3685324lfa.13.2017.03.21.12.48.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 12:48:29 -0700 (PDT) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Tue, 21 Mar 2017 22:48:20 +0300 Message-Id: <20170321194820.477663240@cogentembedded.com> User-Agent: quilt/0.64 Date: Thu, 01 Jan 1970 03:00:01 +0300 To: Simon Horman , Rob Herring , Mark Rutland , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: r8a7792: add IMR-L[S]X3 clocks MIME-Version: 1.0 Content-Disposition: inline; filename=ARM-dts-r8a7792-add-IMR-L-S-X3-clocks.patch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170321_124853_438232_F2F7ACD4 X-CRM114-Status: GOOD ( 10.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Magnus Damm , Russell King , linux-arm-kernel@lists.infradead.org, Sergei Shtylyov Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the IMR-L[S]X3 clocks to the R8A7792 device tree. Based on the original patch by Roman Meshkevich . Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7792.dtsi | 15 ++++++++++++--- include/dt-bindings/clock/r8a7792-clock.h | 7 +++++++ 2 files changed, 19 insertions(+), 3 deletions(-) Index: renesas/arch/arm/boot/dts/r8a7792.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi +++ renesas/arch/arm/boot/dts/r8a7792.dtsi @@ -927,16 +927,25 @@ "renesas,cpg-mstp-clocks"; reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, - <&zg_clk>, <&zg_clk>, <&hp_clk>; + <&zg_clk>, <&zg_clk>, <&hp_clk>, <&zg_clk>, + <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, + <&zg_clk>, <&zg_clk>; #clock-cells = <1>; clock-indices = < R8A7792_CLK_VIN5 R8A7792_CLK_VIN4 R8A7792_CLK_VIN3 R8A7792_CLK_VIN2 R8A7792_CLK_VIN1 R8A7792_CLK_VIN0 - R8A7792_CLK_ETHERAVB + R8A7792_CLK_ETHERAVB R8A7792_CLK_IMR_LX3 + R8A7792_CLK_IMR_LSX3_1 R8A7792_CLK_IMR_LSX3_0 + R8A7792_CLK_IMR_LSX3_5 R8A7792_CLK_IMR_LSX3_4 + R8A7792_CLK_IMR_LSX3_3 R8A7792_CLK_IMR_LSX3_2 >; clock-output-names = "vin5", "vin4", "vin3", "vin2", - "vin1", "vin0", "etheravb"; + "vin1", "vin0", + "etheravb", "imr-lx3", + "imr-lsx3-1", "imr-lsx3-0", + "imr-lsx3-5", "imr-lsx3-4", + "imr-lsx3-3", "imr-lsx3-2"; }; mstp9_clks: mstp9_clks@e6150994 { compatible = "renesas,r8a7792-mstp-clocks", Index: renesas/include/dt-bindings/clock/r8a7792-clock.h =================================================================== --- renesas.orig/include/dt-bindings/clock/r8a7792-clock.h +++ renesas/include/dt-bindings/clock/r8a7792-clock.h @@ -70,6 +70,13 @@ #define R8A7792_CLK_VIN1 10 #define R8A7792_CLK_VIN0 11 #define R8A7792_CLK_ETHERAVB 12 +#define R8A7792_CLK_IMR_LX3 21 +#define R8A7792_CLK_IMR_LSX3_1 22 +#define R8A7792_CLK_IMR_LSX3_0 23 +#define R8A7792_CLK_IMR_LSX3_5 25 +#define R8A7792_CLK_IMR_LSX3_4 26 +#define R8A7792_CLK_IMR_LSX3_3 27 +#define R8A7792_CLK_IMR_LSX3_2 28 /* MSTP9 */ #define R8A7792_CLK_GPIO7 4