From patchwork Wed Aug 29 16:00:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10580629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95585139B for ; Wed, 29 Aug 2018 16:00:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 870EA2B6A8 for ; Wed, 29 Aug 2018 16:00:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B3DB2B6D3; Wed, 29 Aug 2018 16:00:29 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 40F922B709 for ; Wed, 29 Aug 2018 16:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729166AbeH2T6C (ORCPT ); Wed, 29 Aug 2018 15:58:02 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57841 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbeH2T6C (ORCPT ); Wed, 29 Aug 2018 15:58:02 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180829160025euoutp01b432972db54760905b25c04a2ccb6637~PZkCIzWeu0753307533euoutp017; Wed, 29 Aug 2018 16:00:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180829160025euoutp01b432972db54760905b25c04a2ccb6637~PZkCIzWeu0753307533euoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1535558425; bh=jZPAC1WiWBWi+5yxClSyjoxbJunAPmG7HmdqruU2FlA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=R+j4puQJeoi7G1V+hBX229oIDG1lx6l23ixued0ZYL4aW1iZPiSfJe4k8v6GvzNkj QGhTwli7CX1oXPfkMgO1FDheeKAr4hCTpSWltlx98XjKWhsMz4fJYIdJpwJzKp6EFK cMltyx89D7NzxU1rI9yibIWh+FaiySUC+fe+3W68= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180829160024eucas1p224c9ec5f14b1bf19f735b9022788759e~PZkBrOkIs1148511485eucas1p2b; Wed, 29 Aug 2018 16:00:24 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id BC.9C.04294.813C68B5; Wed, 29 Aug 2018 17:00:24 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180829160024eucas1p1049ff966800cdc44e876d546978df399~PZkBA9-uD1338513385eucas1p12; Wed, 29 Aug 2018 16:00:24 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-15-5b86c3188013 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 1E.E7.04284.813C68B5; Wed, 29 Aug 2018 17:00:24 +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 <0PE8003XYCGI4J70@eusync1.samsung.com>; Wed, 29 Aug 2018 17:00:24 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume Date: Wed, 29 Aug 2018 18:00:12 +0200 Message-id: <20180829160013.9447-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20180829160013.9447-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsWy7djP87oSh9uiDW7+VrDYOGM9q8X1L89Z Lc6f38Bu8bHnHqvFjPP7mCzWHrnLbtH+9CWzA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CV8WP+ZNaC0+wVR+8vYWpgPMDWxcjJISFgInF5zX6WLkYuDiGBFYwS/26/ZINwPjNK 7Du1lhGm6takHiaIxDJGie6NDxghnAYmiTvdL8Gq2AQMJbredoHNFRFwkPj86TVYEbPAY0aJ rSe/MoMkhAUiJSY+nQ9mswioSiy/9QdoOQcHr4CNxKQX0RDb5CVWbzgAVsIpYCtxtWkZ2GYJ gZ+sEs8fr4U63EXi6f5fTBC2sMSr41vYIWwZic6Og1ANzYwS7TNmsUM4PUBXzNkB1W0tcfj4 RVYQm1mAT2LStunMIFdICPBKdLQJQZR4SPS1dEFDZgKjRMPF10wTGCUXMDKsYhRPLS3OTU8t NspLLdcrTswtLs1L10vOz93ECIy40/+Of9nBuOtP0iFGAQ5GJR7eCzPaooVYE8uKK3MPMUpw MCuJ8O5dCBTiTUmsrEotyo8vKs1JLT7EKM3BoiTOy6eVFi0kkJ5YkpqdmlqQWgSTZeLglGpg NJlfcbk58c+pGSmO1TbfE/Kqv2ruK99xXdG59s/hH3Ol5loLuvI2lduvZ9pj+Cyiq/EEwxcZ Cb6MtUoLtu7NWMgteWrl+8CKaev+LjL1v3OZwSwmdPPCgLz4JZ5ma+WYf91x3n98s4/sZfOy 1BdZix+Khqmf/bXI/qXZwvrLzNzHJhm17LMqV2Ipzkg01GIuKk4EAI+tEey0AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLJMWRmVeSWpSXmKPExsVy+t/xy7oSh9uiDZbPY7LYOGM9q8X1L89Z Lc6f38Bu8bHnHqvFjPP7mCzWHrnLbtH+9CWzA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CV8WP+ZNaC0+wVR+8vYWpgPMDWxcjJISFgInFrUg9TFyMXh5DAEkaJ5VfPskM4TUwS U5bsYAapYhMwlOh62wXWISLgIPH502tGkCJmgceMEucWb2AFSQgLREpMfDofrIFFQFVi+a0/ LF2MHBy8AjYSk15EQ2yTl1i94QBYCaeArcTVpmVMILYQUMnJaaeZJzDyLGBkWMUoklpanJue W2yoV5yYW1yal66XnJ+7iREYKNuO/dy8g/HSxuBDjAIcjEo8vBdmtEULsSaWFVfmHmKU4GBW EuHduxAoxJuSWFmVWpQfX1Sak1p8iFGag0VJnPe8QWWUkEB6YklqdmpqQWoRTJaJg1OqgTE0 fClr+KlFXgs3qvvEpi76/eMS08VVvPMNvywW23Ck3+pqoODlLbFCxsdWJ09WMX9retmifK+U XEbCab3z7QfULz8Qntv613fNmSUhu1f/tOAJXGXpUvCKaevnhbcWCgorLexo1Tu4XarVQjMr Q+fggX8CVcm2Bkkzt/UuU5ipIOlyNfaGI6cSS3FGoqEWc1FxIgC2gnl5EAIAAA== X-CMS-MailID: 20180829160024eucas1p1049ff966800cdc44e876d546978df399 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180829160024eucas1p1049ff966800cdc44e876d546978df399 References: <20180829160013.9447-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Clocks should be suspended as late as possible and resumed as early as possible to let other drivers do their own suspend/resume tasks. NOIRQ callbacks better suit this requirement. Signed-off-by: Marek Szyprowski Acked-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5433.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 162de44df099..426980514e67 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -5630,7 +5630,7 @@ static const struct of_device_id exynos5433_cmu_of_match[] = { static const struct dev_pm_ops exynos5433_cmu_pm_ops = { SET_RUNTIME_PM_OPS(exynos5433_cmu_suspend, exynos5433_cmu_resume, NULL) - SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, + SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) }; From patchwork Wed Aug 29 16:00:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10580627 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D83A0181E for ; Wed, 29 Aug 2018 16:00:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA45D2B700 for ; Wed, 29 Aug 2018 16:00:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C87FF2B6A9; Wed, 29 Aug 2018 16:00:28 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 656622B70B for ; Wed, 29 Aug 2018 16:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729177AbeH2T6D (ORCPT ); Wed, 29 Aug 2018 15:58:03 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57851 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729154AbeH2T6C (ORCPT ); Wed, 29 Aug 2018 15:58:02 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180829160025euoutp01614e495b377adab59c61f03480833e2e~PZkCqGBCb0707407074euoutp01W; Wed, 29 Aug 2018 16:00:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180829160025euoutp01614e495b377adab59c61f03480833e2e~PZkCqGBCb0707407074euoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1535558425; bh=BhuvJv6d34Tph5FKdCKqpFQOahaRjzTBAotRyyN5a5w=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Pw6Ic6DkzEVBB6jnjvFYFLhTNAJhNCL264eKKqM+AcMSwHL45vIqrSidl8nmswCFS jZ+5KWPXbtnxhA3CjK8GgzbUraC43Lk4oM3yd+UDrwMlNYTBunSQ+/Sfs2CPezCb5T gcJJuvFdMN/ZLaq90s7DFDlsKbZF3v5IvGDoCG+w= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180829160025eucas1p2ecbcdd2536a2be9a517b986910dc7bcd~PZkCMjivm1148111481eucas1p2q; Wed, 29 Aug 2018 16:00:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id F3.90.04441.813C68B5; Wed, 29 Aug 2018 17:00:25 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180829160024eucas1p19b9912baece05c529f6bcf64b986bba9~PZkBYzqDi1339813398eucas1p1w; Wed, 29 Aug 2018 16:00:24 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-57-5b86c318dca6 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9E.E7.04284.813C68B5; Wed, 29 Aug 2018 17:00:24 +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 <0PE8003XYCGI4J70@eusync1.samsung.com>; Wed, 29 Aug 2018 17:00:24 +0100 (BST) From: Marek Szyprowski To: linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/2] clk: samsung: exynos5433: Add suspend state for TOP, CPIF & PERIC CMUs Date: Wed, 29 Aug 2018 18:00:13 +0200 Message-id: <20180829160013.9447-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20180829160013.9447-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprPIsWRmVeSWpSXmKPExsWy7djPc7qSh9uiDdZ4WGycsZ7V4vqX56wW 589vYLf42HOP1WLG+X1MFmuP3GW3aH/6ktmB3WPTqk42j74tqxg9Pm+SC2CO4rJJSc3JLEst 0rdL4Mq4fPkte8EWiYrJj/azNTAuF+li5OSQEDCRuLj7B1sXIxeHkMAKRolZ354ygiSEBD4z Slx8bwJTNHFbMxtEfBmjxOyraRANDUwSd7pfgjWwCRhKdL3tAisSEXCQ+PzpNSNIEbPAY0aJ rSe/MoMkhAViJdZcb2cCsVkEVCV2ti8Fs3kFbCSud/1jh9gmL7F6wwGwek4BW4mrTcuYQAZJ CHxllXjZ9JwJoshF4vi0x4wQtrDEq+NboJplJDo7DkI1NDNKtM+YxQ7h9ACdMWcHG0SVtcTh 4xdZQWxmAT6JSdumA63jAIrzSnS0CUGUeEi8bnzBAvHnBEaJx+f3sE9glFzAyLCKUTy1tDg3 PbXYMC+1XK84Mbe4NC9dLzk/dxMjMNpO/zv+aQfj10tJhxgFOBiVeHg1ZrdFC7EmlhVX5h5i lOBgVhLh3bsQKMSbklhZlVqUH19UmpNafIhRmoNFSZyXTystWkggPbEkNTs1tSC1CCbLxMEp 1cA4O8DjlsGCroVv9ry5tOHJ9kDDreequWzd3NtmeLXcyBbNejnvRZWbYJXmixuvDJwcQ3Zy me3cHaphqlJz9kbbwW4mts0Llv76f+ynT1Lj7rAD7/VmCqbeiboRl3LnzcmEO/Pz5iz8eW3O 4SU1Wz6tMU2OdnR5F5G7PNwwwuHq92frru48ZCusr8RSnJFoqMVcVJwIAKXI1z6yAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t/xy7oSh9uiDa5tlbTYOGM9q8X1L89Z Lc6f38Bu8bHnHqvFjPP7mCzWHrnLbtH+9CWzA7vHplWdbB59W1YxenzeJBfAHMVlk5Kak1mW WqRvl8CVcfnyW/aCLRIVkx/tZ2tgXC7SxcjJISFgIjFxWzNbFyMXh5DAEkaJl88esUI4TUwS U5bsYAapYhMwlOh628UGYosIOEh8/vSaEaSIWeAxo8S5xRtYQRLCArESa663M4HYLAKqEjvb l4LZvAI2Ete7/rFDrJOXWL3hANhQTgFbiatNy8BqhIBqTk47zTyBkWcBI8MqRpHU0uLc9Nxi Q73ixNzi0rx0veT83E2MwFDZduzn5h2MlzYGH2IU4GBU4uG9MKMtWog1say4MvcQowQHs5II 796FQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK85w0qo4QE0hNLUrNTUwtSi2CyTBycUg2MOsrs y1P5/0S0Z298KDL7b3RvyKRzkUYOVx3Kom7cSvDZxf3fNkpve0nl3pPMCWtSRPIOZWV9/F2d /HC21Z0jjoY6S3T3mG5M/l0s2dcl1/2g6HFpWc2lXxaJn4+XRYUlt+msmya/J+H6T9V3n5Pb +/p58yun6aVOXyvqxWdxg6nVWj3nXIASS3FGoqEWc1FxIgDqlibZEQIAAA== X-CMS-MailID: 20180829160024eucas1p19b9912baece05c529f6bcf64b986bba9 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180829160024eucas1p19b9912baece05c529f6bcf64b986bba9 References: <20180829160013.9447-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Before entering system suspend, one has to ensure that all TOP ACLK clocks are enabled, so do this by storing 0x67ECFFED value to ENABLE_ACLK_TOP register. In case of PERIC CMU, keep all UART PCLK and SCLK clocks as well as all GPIO PCLK clocks enabled. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5433.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index 426980514e67..d34e645aba49 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -177,6 +177,12 @@ static const unsigned long top_clk_regs[] __initconst = { ENABLE_CMU_TOP_DIV_STAT, }; +static const struct samsung_clk_reg_dump top_suspend_regs[] = { + { ENABLE_ACLK_TOP, 0x67ECFFED }, /* all clocks enabled */ + { ISP_PLL_CON0, 0x85CC0502 }, /* reset value + ENABLE bit */ + { AUD_PLL_CON0, 0x84830202 }, /* reset value + ENABLE bit */ +}; + /* list of all parent clock list */ PNAME(mout_aud_pll_p) = { "oscclk", "fout_aud_pll", }; PNAME(mout_isp_pll_p) = { "oscclk", "fout_isp_pll", }; @@ -792,6 +798,8 @@ static const struct samsung_cmu_info top_cmu_info __initconst = { .nr_clk_ids = TOP_NR_CLK, .clk_regs = top_clk_regs, .nr_clk_regs = ARRAY_SIZE(top_clk_regs), + .suspend_regs = top_suspend_regs, + .nr_suspend_regs = ARRAY_SIZE(top_suspend_regs), }; static void __init exynos5433_cmu_top_init(struct device_node *np) @@ -822,6 +830,11 @@ static const unsigned long cpif_clk_regs[] __initconst = { ENABLE_SCLK_CPIF, }; +static const struct samsung_clk_reg_dump cpif_suspend_regs[] = { + { ENABLE_SCLK_CPIF, 0x3FF }, /* all clocks enabled */ + { MPHY_PLL_CON0, 0x81C70601 }, /* reset value + ENABLE bit */ +}; + /* list of all parent clock list */ PNAME(mout_mphy_pll_p) = { "oscclk", "fout_mphy_pll", }; @@ -862,6 +875,8 @@ static const struct samsung_cmu_info cpif_cmu_info __initconst = { .nr_clk_ids = CPIF_NR_CLK, .clk_regs = cpif_clk_regs, .nr_clk_regs = ARRAY_SIZE(cpif_clk_regs), + .suspend_regs = cpif_suspend_regs, + .nr_suspend_regs = ARRAY_SIZE(cpif_suspend_regs), }; static void __init exynos5433_cmu_cpif_init(struct device_node *np) @@ -1547,6 +1562,11 @@ static const unsigned long peric_clk_regs[] __initconst = { ENABLE_IP_PERIC2, }; +static const struct samsung_clk_reg_dump peric_suspend_regs[] = { + { ENABLE_PCLK_PERIC0, 0xE00FF000 }, + { ENABLE_SCLK_PERIC, 0x7 }, +}; + static const struct samsung_div_clock peric_div_clks[] __initconst = { /* DIV_PERIC */ DIV(CLK_DIV_SCLK_SCI, "div_sclk_sci", "oscclk", DIV_PERIC, 4, 4), @@ -1705,6 +1725,8 @@ static const struct samsung_cmu_info peric_cmu_info __initconst = { .nr_clk_ids = PERIC_NR_CLK, .clk_regs = peric_clk_regs, .nr_clk_regs = ARRAY_SIZE(peric_clk_regs), + .suspend_regs = peric_suspend_regs, + .nr_suspend_regs = ARRAY_SIZE(peric_suspend_regs), }; static void __init exynos5433_cmu_peric_init(struct device_node *np)