From patchwork Fri Sep 29 07:32:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 9977171 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 E5AFE60365 for ; Fri, 29 Sep 2017 07:33:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8E2E29593 for ; Fri, 29 Sep 2017 07:33:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDA41297F0; Fri, 29 Sep 2017 07:33:12 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 797E629593 for ; Fri, 29 Sep 2017 07:33:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbdI2HdL (ORCPT ); Fri, 29 Sep 2017 03:33:11 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50817 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751035AbdI2HdH (ORCPT ); Fri, 29 Sep 2017 03:33:07 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170929073305euoutp0210f7f14e2d218f7a3e1f463f5012a7a9~oxLu1qDQZ2418524185euoutp02L; Fri, 29 Sep 2017 07:33:05 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170929073305eucas1p221405cfd0ceaa637eb8183383af35089~oxLuEy4EK3114731147eucas1p2V; Fri, 29 Sep 2017 07:33:05 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 78.79.12944.037FDC95; Fri, 29 Sep 2017 08:33:04 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170929073304eucas1p2825d0ccd64de3b39409b6767660b5543~oxLtWYGm_2359523595eucas1p2D; Fri, 29 Sep 2017 07:33:04 +0000 (GMT) X-AuditID: cbfec7f4-f79ab6d000003290-b8-59cdf7308241 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 3B.C0.20118.037FDC95; Fri, 29 Sep 2017 08:33:04 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OX1004HN6AWR260@eusync1.samsung.com>; Fri, 29 Sep 2017 08:33:04 +0100 (BST) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Seung-Woo Kim , Andrzej Hajda , Bartlomiej Zolnierkiewicz , Tobias Jakobi , Krzysztof Kozlowski , Sylwester Nawrocki , Andrzej Pietrasiewicz , linux-clk@vger.kernel.org Subject: [PATCH v2 8/9] drivers: clk: samsung: Fix m2m scaler clock on Exynos542x Date: Fri, 29 Sep 2017 09:32:53 +0200 Message-id: <1506670374-15689-9-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1506670374-15689-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsWy7djP87oG389GGlw/qWdxa905VotZL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Ghgfc3QxcnJICJhIXFjRxg5hi0lcuLeerYuRi0NIYAmjxNcvT5khnCYmietTOlhBqtgEDCW6 3naxgdgiAm4STYdnsoIUMQusY5bYsaSXCSQhLBAs0bl0CiOIzSKgKrFwagPYCl4BD4kbp7ey QayTkzh5bDLYUE4BT4lrvUvBaoSAan5d/8I8gZF3ASPDKkaR1NLi3PTcYiO94sTc4tK8dL3k /NxNjMAw3Hbs55YdjF3vgg8xCnAwKvHw3pA7GynEmlhWXJl7iFGCg1lJhHf+N6AQb0piZVVq UX58UWlOavEhRmkOFiVx3t49qyOFBNITS1KzU1MLUotgskwcnFINjIqW4cefrZvDo3lD7fbx jMJ1z5r8m83mPCqdnMT08EN+374X9hvfNrz/fuKJ2PrYH3G2s7PfObx63heZu67x0uwW37Lz qU1Rbz65pd47kvpdIeDXqYu6lhYtor/ZTMUWXNsUlru0lDNFnvmc5iPGDS9F4n9XvGvSLnVj i274F5j35BtD6G1WCyWW4oxEQy3mouJEAEvymOM/AgAA X-CMS-MailID: 20170929073304eucas1p2825d0ccd64de3b39409b6767660b5543 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-CMS-RootMailID: 20170929073304eucas1p2825d0ccd64de3b39409b6767660b5543 X-RootMTR: 20170929073304eucas1p2825d0ccd64de3b39409b6767660b5543 References: <1506670374-15689-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andrzej Pietrasiewicz TOP "aclk400_mscl" clock should be kept enabled all the time to allow proper access to power management control for MSC power domain and devices that are a part of it. This change is required for scaler to work properly after domain power on/off sequence. Fixes: 318fa46cc60d ("clk/samsung: exynos542x: mark some clocks as critical") Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 25601967d1cd..038701a2af4c 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -998,7 +998,7 @@ static void __init exynos5420_clk_sleep_init(void) {} GATE(0, "aclk400_isp", "mout_user_aclk400_isp", GATE_BUS_TOP, 16, 0, 0), GATE(0, "aclk400_mscl", "mout_user_aclk400_mscl", - GATE_BUS_TOP, 17, 0, 0), + GATE_BUS_TOP, 17, CLK_IS_CRITICAL, 0), GATE(0, "aclk200_disp1", "mout_user_aclk200_disp1", GATE_BUS_TOP, 18, CLK_IS_CRITICAL, 0), GATE(CLK_SCLK_MPHY_IXTAL24, "sclk_mphy_ixtal24", "mphy_refclk_ixtal24",