From patchwork Tue Aug 19 12:50:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Ulyanov X-Patchwork-Id: 4742611 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB87AC0338 for ; Tue, 19 Aug 2014 12:53:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CA6720172 for ; Tue, 19 Aug 2014 12:53:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A8782015D for ; Tue, 19 Aug 2014 12:53:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759AbaHSMxP (ORCPT ); Tue, 19 Aug 2014 08:53:15 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:50679 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752931AbaHSMxI (ORCPT ); Tue, 19 Aug 2014 08:53:08 -0400 Received: by mail-la0-f53.google.com with SMTP id gl10so5751369lab.40 for ; Tue, 19 Aug 2014 05:53:07 -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:in-reply-to :references; bh=s8nwktgpY/9cPQOhaMzwkVWADXLK28/u8IfpnHBZt+I=; b=QKUmKFXFn6UgmFfCXMx9JSZPJDUL9pUn8wtc3kvYj2lR3CvX/8xucMuTbspwXChAxD alMS4M7Zjl0UMpjv7V2E/Rn20+DPQdSyeUH8oKleLDLyqTYsI2SMjgp7IgqvW2UhYDXu xt+WJdhDPXmh9Y0oWxrvyxq9XjsdmoUU7P+jg2PWC+jU064eDKpvxZLBBb8qst1/g17d qfXKWfvAILgPGSSJ3Gffcr10ufZ5XcUltRr05QKn14bOtO0MY7M1qrE5yJqSBHby8xVm EnIFoWTp9uDL2Rp3Kq7VSleHcWSmb20yYKzJ2mecaPso7xVSVGkQwdM1pTwIAEhmfw4z /eQA== X-Gm-Message-State: ALoCoQkmxDqe/mRoTO/FRSR6uNU+oYgotdsYn19JQRXPOFXm5cOW7QGIBCpZ1C/42SFcmVE6D1oH X-Received: by 10.152.21.195 with SMTP id x3mr1379716lae.63.1408452787112; Tue, 19 Aug 2014 05:53:07 -0700 (PDT) Received: from localhost.localdomain (178-16-155-142.obit.ru. [178.16.155.142]) by mx.google.com with ESMTPSA id m9sm32023870lbd.28.2014.08.19.05.53.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Aug 2014 05:53:06 -0700 (PDT) From: Mikhail Ulyanov To: m.chehab@samsung.com, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com Cc: laurent.pinchart@ideasonboard.com, linux-sh@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Mikhail Ulyanov Subject: [PATCH 4/6] ARM: shmobile: r8a7791: Add JPU clock dt and CPG define. Date: Tue, 19 Aug 2014 16:50:51 +0400 Message-Id: <1408452653-14067-5-git-send-email-mikhail.ulyanov@cogentembedded.com> X-Mailer: git-send-email 2.1.0.rc1 In-Reply-To: <1408452653-14067-1-git-send-email-mikhail.ulyanov@cogentembedded.com> References: <1408452653-14067-1-git-send-email-mikhail.ulyanov@cogentembedded.com> 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Signed-off-by: Mikhail Ulyanov Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7791.dtsi | 6 +++--- include/dt-bindings/clock/r8a7791-clock.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 152c75c..c2d0c6e 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -889,16 +889,16 @@ mstp1_clks: mstp1_clks@e6150134 { compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; - clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, + clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>; #clock-cells = <1>; renesas,clock-indices = < - R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 + R8A7791_CLK_JPU R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_S >; clock-output-names = - "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", + "jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy"; }; mstp2_clks: mstp2_clks@e6150138 { diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h index f0d4d10..58c3f49 100644 --- a/include/dt-bindings/clock/r8a7791-clock.h +++ b/include/dt-bindings/clock/r8a7791-clock.h @@ -25,6 +25,7 @@ #define R8A7791_CLK_MSIOF0 0 /* MSTP1 */ +#define R8A7791_CLK_JPU 6 #define R8A7791_CLK_TMU1 11 #define R8A7791_CLK_TMU3 21 #define R8A7791_CLK_TMU2 22