From patchwork Tue Oct 20 09:22:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 7445001 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 279C2BEEA4 for ; Tue, 20 Oct 2015 09:23:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5232C2084E for ; Tue, 20 Oct 2015 09:23:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7A7F02084D for ; Tue, 20 Oct 2015 09:23:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752156AbbJTJXl (ORCPT ); Tue, 20 Oct 2015 05:23:41 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:29494 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753323AbbJTJXX (ORCPT ); Tue, 20 Oct 2015 05:23:23 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWI00AQ0I2VC550@mailout2.w1.samsung.com>; Tue, 20 Oct 2015 10:23:19 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-60-56260807bfff Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id E1.FF.05269.70806265; Tue, 20 Oct 2015 10:23:19 +0100 (BST) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWI005XRI2JNJ70@eusync3.samsung.com>; Tue, 20 Oct 2015 10:23:19 +0100 (BST) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Kyungmin Park , dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Kukjin Kim , Krzysztof Kozlowski , Sylwester Nawrocki , Hyungwon Hwang Subject: [PATCH 02/10] clk/samsung: exynos5433: add pclk_decon clock Date: Tue, 20 Oct 2015 11:22:33 +0200 Message-id: <1445332961-25419-3-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1445332961-25419-1-git-send-email-a.hajda@samsung.com> References: <1445332961-25419-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsVy+t/xq7rsHGphBn2bZC1urTvHarFxxnpW i/lHgKwrX9+zWSyd0cdqMen+BBaL1y8MLfofv2a2ONv0ht3iY889VosZ5/cxWaw9cpfd4vCb dlYHXo9NqzrZPO53H2fy6NuyitHj8ya5AJYoLpuU1JzMstQifbsErowX+94wFTzkqpjedpSl gXEyZxcjJ4eEgInE9h1zWCBsMYkL99azdTFycQgJLGWUePXpJiuE08Qk8ft5D1gVm4CmxN/N N9lAbBEBZYlV+9rZQYqYBZ4yS8y9uwEsISzgIrH5wR0wm0VAVeL4oaeMIDavgLPEzL1XWSHW yUmcPDYZzOYEqt8y4TpYjRBQzfITyxknMPIuYGRYxSiaWppcUJyUnmukV5yYW1yal66XnJ+7 iRESiF93MC49ZnWIUYCDUYmHVyNGNUyINbGsuDL3EKMEB7OSCK8em1qYEG9KYmVValF+fFFp TmrxIUZpDhYlcd6Zu96HCAmkJ5akZqemFqQWwWSZODilGhi7+v0Mz7hVuJTIhG5cEq0mEJTP ucZePmPqn+PtWnHn6nfn/HntxsY1pYNbK0+g+Sh7oZWF90yJnT75zy/qrRUpXnSu+5z+z93B XqYpa8Pnac8vda5neOf3s823ONrGlksw33jt8jO8TbEuLYdKDv1w+/nA9JDrjbSmDGkO1Wl3 Z88Msc14oMRSnJFoqMVcVJwIAIsjrulAAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 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 This undocumented gate clock is used by DECON IP. Signed-off-by: Andrzej Hajda Reviewed-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5433.c | 2 ++ include/dt-bindings/clock/exynos5433.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index e037406..e7b4533 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -2822,6 +2822,8 @@ static struct samsung_gate_clock disp_gate_clks[] __initdata = { ENABLE_PCLK_DISP, 2, 0, 0), GATE(CLK_PCLK_DECON_TV, "pclk_decon_tv", "div_pclk_disp", ENABLE_PCLK_DISP, 1, 0, 0), + GATE(CLK_PCLK_DECON, "pclk_decon", "div_pclk_disp", + ENABLE_PCLK_DISP, 0, 0, 0), /* ENABLE_SCLK_DISP */ GATE(CLK_PHYCLK_MIPIDPHY1_BITCLKDIV8, "phyclk_mipidphy1_bitclkdiv8", diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h index 4f0d566..5c2636c 100644 --- a/include/dt-bindings/clock/exynos5433.h +++ b/include/dt-bindings/clock/exynos5433.h @@ -768,7 +768,9 @@ #define CLK_PHYCLK_HDMIPHY_PIXEL_CLKO_PHY 111 #define CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY 112 -#define DISP_NR_CLK 113 +#define CLK_PCLK_DECON 113 + +#define DISP_NR_CLK 114 /* CMU_AUD */ #define CLK_MOUT_AUD_PLL_USER 1