Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp988396rwl; Thu, 10 Aug 2023 05:01:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE96FAWvH3gxEUhcKClkdDyiOBwmeTsC/x3w2cQdjFF/ldm4bT5t4d7yOJlX+/tcJXIpgfc X-Received: by 2002:a17:903:11c9:b0:1bc:48d7:f29b with SMTP id q9-20020a17090311c900b001bc48d7f29bmr2555498plh.27.1691668889565; Thu, 10 Aug 2023 05:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691668889; cv=none; d=google.com; s=arc-20160816; b=evK9vOwHkH7OJSX1d34qVaLOoO8qLxb2FHIwtyxahnqPWvk95yQvX6aCYvxGIzuJhU 1zHx1TGVU7qao1Td9AM26/dJ4dGDsLwM0yP/pdGg8Kxwcnr8YlaAeGQJW00EEnWlUrph ZSpPCH1OChxsh2jg8gPtTHH/0n9rjlRSjEC39OPP31XWfXUpEbuVKr4mgKTRxutuBBlS HfHeLd3zqIdkZwBfTQ3FreFpd8ob+DGVunhbwiWjj8MWL/Er/Gd+BgJuUX2icvEyj07m p7XdokrcDFMyAtjHtohdKJZkkC/8kK8zRyPhEUBOoXzXDO0mi580caJvJdAKq4+FidYQ mZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:to:from:dkim-signature:dkim-filter; bh=gCHj10K34/iF8LnBzO3D8ywW9arsyi0FB3Ed5BWzQIo=; fh=1PFJo2ff7HSg4gp1yOigU4+QFyP+Iw8saExz4hrESLE=; b=K2SQDcayQu5lfZ519DPkExXwr2wQ5kUNxCLkSljQKmbxyZpIdHADLAa6plXZdbdzun vujv/uTZav5+x5VpJXGbTG3QTLQ1xqj9WjJBZmqm1mPqxOdJJeC6jXOKud4/KVjvfMKR H/axxiqMk02ess3WPrwkIDXjk3/9ge6X9jyL1KFLjGbuJLLmpTMOxg8GGcEX/lZgK4j0 qYcgGiPDX4AAhjDeJ9Cn920Au7s8k7JTr87Xm+BeKEZhADZkkpMVJMR4d2jDWWdrAviH knlFb4qOjyKoT7xuKN/QEgwvfnpTeYbBO4X9RGuKHf6C7EHdDDKibxdIeJw9f4rKxrWO IE6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=SfeKBd4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a1709028bcb00b001b801bd7fbasi1299138plo.417.2023.08.10.05.01.14; Thu, 10 Aug 2023 05:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=SfeKBd4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235364AbjHJLga (ORCPT + 99 others); Thu, 10 Aug 2023 07:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235363AbjHJLg1 (ORCPT ); Thu, 10 Aug 2023 07:36:27 -0400 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8264326AA for ; Thu, 10 Aug 2023 04:36:26 -0700 (PDT) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230810113624epoutp02853498558899358e365153f81518a3e6~6AoYMSrEm0044600446epoutp02t for ; Thu, 10 Aug 2023 11:36:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230810113624epoutp02853498558899358e365153f81518a3e6~6AoYMSrEm0044600446epoutp02t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1691667384; bh=gCHj10K34/iF8LnBzO3D8ywW9arsyi0FB3Ed5BWzQIo=; h=From:To:In-Reply-To:Subject:Date:References:From; b=SfeKBd4IZrMTo5Mm6+IKzuvcpfrJ47pcm9PESN3lSdNYuIQMP0htoXoSqLelVdoxN Ub9fcd8C9Vq8t701MLlRDVlqVMcVKDnjhAWTp1p0Lf1giagb3PMRiwAlA9j4fEHJRv oxTUHzd1rBhd62ruMB+fKDtQruKeF+SQuZiojJJQ= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20230810113624epcas5p2cb21c525b3b36a3cb796f2e96d37b2ce~6AoXqoTRY0111101111epcas5p2-; Thu, 10 Aug 2023 11:36:24 +0000 (GMT) Received: from epsmgec5p1-new.samsung.com (unknown [182.195.38.174]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4RM4d30bgjz4x9Pt; Thu, 10 Aug 2023 11:36:23 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmgec5p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id DE.A4.55173.6BBC4D46; Thu, 10 Aug 2023 20:36:22 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20230810113622epcas5p454ca291673f6021ddce56a2a2472ecd0~6AoV74NAJ1023610236epcas5p4A; Thu, 10 Aug 2023 11:36:22 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230810113622epsmtrp10c48fd2bfc28129f305cd884c87f7952~6AoV7GHTZ1393613936epsmtrp1Z; Thu, 10 Aug 2023 11:36:22 +0000 (GMT) X-AuditID: b6c32a50-e61c07000001d785-50-64d4cbb637b3 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 77.7E.64355.6BBC4D46; Thu, 10 Aug 2023 20:36:22 +0900 (KST) Received: from alimakhtar04 (unknown [107.122.12.5]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230810113620epsmtip15f7bc8b13a13f8cf65eb42b7082c9efd~6AoT12I242893528935epsmtip1C; Thu, 10 Aug 2023 11:36:19 +0000 (GMT) From: "Alim Akhtar" To: "'Krzysztof Kozlowski'" , "'Sylwester Nawrocki'" , "'Tomasz Figa'" , "'Chanwoo Choi'" , "'Michael Turquette'" , "'Stephen Boyd'" , "'Rob Herring'" , "'Conor Dooley'" , , , , , In-Reply-To: <20230808082738.122804-10-krzysztof.kozlowski@linaro.org> Subject: RE: [PATCH 09/11] clk: samsung: exynos850: do not define number of clocks in bindings Date: Thu, 10 Aug 2023 17:06:18 +0530 Message-ID: <004c01d9cb7e$e2f19020$a8d4b060$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKdkXeLsq2DobfMxxfuGwY9MCDG5gIIIWp/ApyNlhuuNrU/wA== Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMJsWRmVeSWpSXmKPExsWy7bCmpu6201dSDDZssbBYs/cck8X1L89Z LeYfOcdqsff1VnaLTY+vsVp87LnHanF51xw2ixnn9zFZXDzlatG69wi7xeE37awW/65tZLFY tesPowOvx/sbreweO2fdZffYtKqTzePOtT1sHpuX1Hv0bVnF6PF5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xVxUnAgAWJtp3SwDAAA= X-CMS-MailID: 20230810113622epcas5p454ca291673f6021ddce56a2a2472ecd0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230808082806epcas5p4cd7bacc5cf861c2275dc1272025d3df8 References: <20230808082738.122804-1-krzysztof.kozlowski@linaro.org> <20230808082738.122804-10-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Krzysztof Kozlowski > Sent: Tuesday, August 8, 2023 1:58 PM > To: Krzysztof Kozlowski ; Sylwester > Nawrocki ; Tomasz Figa > ; Chanwoo Choi ; Alim > Akhtar ; Michael Turquette > ; Stephen Boyd ; Rob > Herring ; Conor Dooley ; > linux-samsung-soc@vger.kernel.org; linux-clk@vger.kernel.org; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org; > devicetree@vger.kernel.org > Subject: [PATCH 09/11] clk: samsung: exynos850: do not define number of > clocks in bindings > > Number of clocks supported by Linux drivers might vary - sometimes we add > new clocks, not exposed previously. Therefore this number of clocks should > not be in the bindings, because otherwise we should not change it. > > Define number of clocks per each clock controller inside the driver directly. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Alim Akhtar > drivers/clk/samsung/clk-exynos850.c | 35 ++++++++++++++++++++--------- > 1 file changed, 24 insertions(+), 11 deletions(-) > > diff --git a/drivers/clk/samsung/clk-exynos850.c b/drivers/clk/samsung/clk- > exynos850.c > index c32b2e6451a0..bdc1eef7d6e5 100644 > --- a/drivers/clk/samsung/clk-exynos850.c > +++ b/drivers/clk/samsung/clk-exynos850.c > @@ -16,6 +16,19 @@ > #include "clk.h" > #include "clk-exynos-arm64.h" > > +/* NOTE: Must be equal to the last clock ID increased by one */ > +#define CLKS_NR_TOP (CLK_DOUT_G3D_SWITCH + > 1) > +#define CLKS_NR_APM > (CLK_GOUT_SYSREG_APM_PCLK + 1) > +#define CLKS_NR_AUD > (CLK_GOUT_AUD_CMU_AUD_PCLK + 1) > +#define CLKS_NR_CMGP > (CLK_GOUT_SYSREG_CMGP_PCLK + 1) > +#define CLKS_NR_G3D > (CLK_GOUT_G3D_SYSREG_PCLK + 1) > +#define CLKS_NR_HSI (CLK_GOUT_HSI_CMU_HSI_PCLK + > 1) > +#define CLKS_NR_IS (CLK_GOUT_IS_SYSREG_PCLK + 1) > +#define CLKS_NR_MFCMSCL > (CLK_GOUT_MFCMSCL_SYSREG_PCLK + 1) > +#define CLKS_NR_PERI (CLK_GOUT_WDT1_PCLK + 1) > +#define CLKS_NR_CORE > (CLK_GOUT_SYSREG_CORE_PCLK + 1) > +#define CLKS_NR_DPU > (CLK_GOUT_DPU_SYSREG_PCLK + 1) > + > /* ---- CMU_TOP ------------------------------------------------------------- */ > > /* Register Offset definitions for CMU_TOP (0x120e0000) */ @@ -485,7 > +498,7 @@ static const struct samsung_cmu_info top_cmu_info __initconst > = { > .nr_div_clks = ARRAY_SIZE(top_div_clks), > .gate_clks = top_gate_clks, > .nr_gate_clks = ARRAY_SIZE(top_gate_clks), > - .nr_clk_ids = TOP_NR_CLK, > + .nr_clk_ids = CLKS_NR_TOP, > .clk_regs = top_clk_regs, > .nr_clk_regs = ARRAY_SIZE(top_clk_regs), > }; > @@ -625,7 +638,7 @@ static const struct samsung_cmu_info apm_cmu_info > __initconst = { > .nr_gate_clks = ARRAY_SIZE(apm_gate_clks), > .fixed_clks = apm_fixed_clks, > .nr_fixed_clks = ARRAY_SIZE(apm_fixed_clks), > - .nr_clk_ids = APM_NR_CLK, > + .nr_clk_ids = CLKS_NR_APM, > .clk_regs = apm_clk_regs, > .nr_clk_regs = ARRAY_SIZE(apm_clk_regs), > .clk_name = "dout_clkcmu_apm_bus", > @@ -908,7 +921,7 @@ static const struct samsung_cmu_info aud_cmu_info > __initconst = { > .nr_gate_clks = ARRAY_SIZE(aud_gate_clks), > .fixed_clks = aud_fixed_clks, > .nr_fixed_clks = ARRAY_SIZE(aud_fixed_clks), > - .nr_clk_ids = AUD_NR_CLK, > + .nr_clk_ids = CLKS_NR_AUD, > .clk_regs = aud_clk_regs, > .nr_clk_regs = ARRAY_SIZE(aud_clk_regs), > .clk_name = "dout_aud", > @@ -1011,7 +1024,7 @@ static const struct samsung_cmu_info > cmgp_cmu_info __initconst = { > .nr_gate_clks = ARRAY_SIZE(cmgp_gate_clks), > .fixed_clks = cmgp_fixed_clks, > .nr_fixed_clks = ARRAY_SIZE(cmgp_fixed_clks), > - .nr_clk_ids = CMGP_NR_CLK, > + .nr_clk_ids = CLKS_NR_CMGP, > .clk_regs = cmgp_clk_regs, > .nr_clk_regs = ARRAY_SIZE(cmgp_clk_regs), > .clk_name = "gout_clkcmu_cmgp_bus", > @@ -1107,7 +1120,7 @@ static const struct samsung_cmu_info > g3d_cmu_info __initconst = { > .nr_div_clks = ARRAY_SIZE(g3d_div_clks), > .gate_clks = g3d_gate_clks, > .nr_gate_clks = ARRAY_SIZE(g3d_gate_clks), > - .nr_clk_ids = G3D_NR_CLK, > + .nr_clk_ids = CLKS_NR_G3D, > .clk_regs = g3d_clk_regs, > .nr_clk_regs = ARRAY_SIZE(g3d_clk_regs), > .clk_name = "dout_g3d_switch", > @@ -1209,7 +1222,7 @@ static const struct samsung_cmu_info hsi_cmu_info > __initconst = { > .nr_mux_clks = ARRAY_SIZE(hsi_mux_clks), > .gate_clks = hsi_gate_clks, > .nr_gate_clks = ARRAY_SIZE(hsi_gate_clks), > - .nr_clk_ids = HSI_NR_CLK, > + .nr_clk_ids = CLKS_NR_HSI, > .clk_regs = hsi_clk_regs, > .nr_clk_regs = ARRAY_SIZE(hsi_clk_regs), > .clk_name = "dout_hsi_bus", > @@ -1341,7 +1354,7 @@ static const struct samsung_cmu_info is_cmu_info > __initconst = { > .nr_div_clks = ARRAY_SIZE(is_div_clks), > .gate_clks = is_gate_clks, > .nr_gate_clks = ARRAY_SIZE(is_gate_clks), > - .nr_clk_ids = IS_NR_CLK, > + .nr_clk_ids = CLKS_NR_IS, > .clk_regs = is_clk_regs, > .nr_clk_regs = ARRAY_SIZE(is_clk_regs), > .clk_name = "dout_is_bus", > @@ -1450,7 +1463,7 @@ static const struct samsung_cmu_info > mfcmscl_cmu_info __initconst = { > .nr_div_clks = ARRAY_SIZE(mfcmscl_div_clks), > .gate_clks = mfcmscl_gate_clks, > .nr_gate_clks = ARRAY_SIZE(mfcmscl_gate_clks), > - .nr_clk_ids = MFCMSCL_NR_CLK, > + .nr_clk_ids = CLKS_NR_MFCMSCL, > .clk_regs = mfcmscl_clk_regs, > .nr_clk_regs = ARRAY_SIZE(mfcmscl_clk_regs), > .clk_name = "dout_mfcmscl_mfc", > @@ -1625,7 +1638,7 @@ static const struct samsung_cmu_info > peri_cmu_info __initconst = { > .nr_div_clks = ARRAY_SIZE(peri_div_clks), > .gate_clks = peri_gate_clks, > .nr_gate_clks = ARRAY_SIZE(peri_gate_clks), > - .nr_clk_ids = PERI_NR_CLK, > + .nr_clk_ids = CLKS_NR_PERI, > .clk_regs = peri_clk_regs, > .nr_clk_regs = ARRAY_SIZE(peri_clk_regs), > .clk_name = "dout_peri_bus", > @@ -1732,7 +1745,7 @@ static const struct samsung_cmu_info > core_cmu_info __initconst = { > .nr_div_clks = ARRAY_SIZE(core_div_clks), > .gate_clks = core_gate_clks, > .nr_gate_clks = ARRAY_SIZE(core_gate_clks), > - .nr_clk_ids = CORE_NR_CLK, > + .nr_clk_ids = CLKS_NR_CORE, > .clk_regs = core_clk_regs, > .nr_clk_regs = ARRAY_SIZE(core_clk_regs), > .clk_name = "dout_core_bus", > @@ -1806,7 +1819,7 @@ static const struct samsung_cmu_info > dpu_cmu_info __initconst = { > .nr_div_clks = ARRAY_SIZE(dpu_div_clks), > .gate_clks = dpu_gate_clks, > .nr_gate_clks = ARRAY_SIZE(dpu_gate_clks), > - .nr_clk_ids = DPU_NR_CLK, > + .nr_clk_ids = CLKS_NR_DPU, > .clk_regs = dpu_clk_regs, > .nr_clk_regs = ARRAY_SIZE(dpu_clk_regs), > .clk_name = "dout_dpu", > -- > 2.34.1