From patchwork Fri Jun 30 19:19:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danila Tikhonov X-Patchwork-Id: 698330 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22D6AEB64DD for ; Fri, 30 Jun 2023 19:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229774AbjF3TUM (ORCPT ); Fri, 30 Jun 2023 15:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjF3TUL (ORCPT ); Fri, 30 Jun 2023 15:20:11 -0400 Received: from fallback1.i.mail.ru (fallback1.i.mail.ru [79.137.243.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AC1D3C3A; Fri, 30 Jun 2023 12:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com; s=mailru; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=6+Sdx4y5P/7mR6Rt0XOAft4knLAqXtaeIaSTpGTdCC0=; t=1688152809;x=1688242809; b=mJlO5pcIVyO7Lx+r1zzfs7tM3+XiIK3/V5ph/Yv0JOEdhDXwExjbeckZnCr0WCRwi2PIOffAX9h0OjUlTTuwoSfFNQ4vcYYDQF+TNCb4RyEHPbTXTV7Urn2EKdIFQZXAJ/YOVff1WlEqxUlvT90QLA4hr5BS1kEbjb51RrVnknU=; Received: from [10.12.4.8] (port=49240 helo=smtp35.i.mail.ru) by fallback1.i.mail.ru with esmtp (envelope-from ) id 1qFJf4-00GpPt-0g; Fri, 30 Jun 2023 22:20:06 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com; s=mailru; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=6+Sdx4y5P/7mR6Rt0XOAft4knLAqXtaeIaSTpGTdCC0=; t=1688152806;x=1688242806; b=pifMZQ0xaB7FbPClZ3QDUfhBFdYgSCSLbVDz3SEaBL9eHqtO3AkDYAVVXbbHBls+JI2oY5TkHg/Ed69baaBq/pW9E1cD6O4HhQ2UsO9/9Pi8OaHtAEvCXDyhojS9l8owc2Js5P2zza6uQmm80Mu9ehrLinOm4S8hjHmlldgmSUM=; Received: by smtp35.i.mail.ru with esmtpa (envelope-from ) id 1qFJem-002CGE-0e; Fri, 30 Jun 2023 22:19:48 +0300 From: Danila Tikhonov To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, davidwronek@gmail.com Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Danila Tikhonov Subject: [PATCH] clk: qcom: gcc-sm7150: Add CLK_OPS_PARENT_ENABLE to sdcc2 rcg Date: Fri, 30 Jun 2023 22:19:44 +0300 Message-ID: <20230630191944.20282-1-danila@jiaxyga.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Mailru-Src: smtp X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9D327C87852EB66D3080F4C810759D0F811E72B7AA1AF68FA182A05F5380850404C228DA9ACA6FE278C9E5096E1C850F88C1AB0D8FB980675429B51107E0C5B6EB56CF6928DE05F7D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7492D3E4238663367EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006377E85B0EC44E8FD73EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BE5CCB53A13BC8DBA91F16B73EAF39CC839DDC95B95B59EE1CC7F00164DA146DAFE8445B8C89999728AA50765F790063706C07FE7DDBB4AB7389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8A0BCD6C998BE2772F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C8ADF99E4698B9BE86136E347CC761E074AD6D5ED66289B52698AB9A7B718F8C46E0066C2D8992A16725E5C173C3A84C3CF39425AD3EEC986BA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CF4964A708C60C975A1DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3E28E55B77232B29E35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A5ADA757FF14E31B650581116A7A214DD5AB7CA050525296F8F87CCE6106E1FC07E67D4AC08A07B9B0CE135D2742255B359C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A0997E3FB2386030E77 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFEF3E36C53A517CBCE925D51283E26D5FEB41A7ADA2AB3C51994E43073129A1BC8B42E79199D3D3ED5622055276C82EC6B13580FAD7F047B3474E29EDDDC108306E346BF9FA413E554C41F94D744909CE4BCAC77546666B612CC0CD5AA9A1B9887EE09F5AAA95A50543082AE146A756F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXjORchWSMBWv9DZri5am/Ys X-Mailru-Sender: 9EB879F2C80682A09F26F806C7394981C708A6485BDCACB4392B9430AFD86279976AF1CB91E68C81643683D8C0F3ED1CA3C71A376745D86BBE86167304C7680C3980CE5AAA35C7CD60F22E8815EDE5EAEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok X-7564579A: 646B95376F6C166E X-77F55803: 6242723A09DB00B4F9CE69B8C4B8347460019CF3CEAE9FBB0C8A93AF53B88541049FFFDB7839CE9ED1D19D87AC90FBA299F8AE903C22B555DB942BF447F72B12F7ABE122C3467BEF X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5xhPKz0ZEsZ5k6NOOPWz5QAiZSCXKGQRq3/7KxbCLSB2ESzQkaOXqCBFZPLWFrEGlV1shfWe2EVcxl5toh0c/aCGOghz/frdRhzMe95NxDFdr2FD4uy5x8JmBMN6wj4lgw== X-Mailru-MI: C000000000000800 X-Mras: Ok Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Set .flags = CLK_OPS_PARENT_ENABLE to fix "gcc_sdcc2_apps_clk_src: rcg didn't update its configuration" error. Fixes: a808d58ddf29 ("clk: qcom: Add Global Clock Controller (GCC) driver for SM7150") Signed-off-by: Danila Tikhonov --- drivers/clk/qcom/gcc-sm7150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-sm7150.c b/drivers/clk/qcom/gcc-sm7150.c index 6b628178f62c..6da87f0436d0 100644 --- a/drivers/clk/qcom/gcc-sm7150.c +++ b/drivers/clk/qcom/gcc-sm7150.c @@ -739,6 +739,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { .parent_data = gcc_parent_data_6, .num_parents = ARRAY_SIZE(gcc_parent_data_6), .ops = &clk_rcg2_floor_ops, + .flags = CLK_OPS_PARENT_ENABLE, }, };