Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1057098rwl; Thu, 10 Aug 2023 06:00:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGS6mxtrfM1VKtGh45SthasUi2MdI0QXcpNXy1xHbekAAAb+iQ1ECSQsZwg8OsLCIkDkJ6K X-Received: by 2002:a17:902:cec4:b0:1bb:c87d:756d with SMTP id d4-20020a170902cec400b001bbc87d756dmr2304086plg.42.1691672448023; Thu, 10 Aug 2023 06:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691672448; cv=none; d=google.com; s=arc-20160816; b=PDkyhX8i171jBBfaRksLDdTxX2oKfVzR2lwcOqB4hXMs9PDegmnRRcSnUuPA6gyG8G UuP0u3dJYcQPuoxZLVVkS7S5LZFTbeYkXpIBahXJXRqMxHiLHwM9HtkQQnncpHxFXtcQ A23zY2GoZwqMLq29k1soJr8IK4yKMpBktG0EaxJDebWOvkxS93ZTWe18UmXSCUCoaFXH 8d/OxKP8Gtljn8aF0oW0l8gdFvbqHjk6C4+yjwnTGFIDs4jzu9EfCWL4qOaiXqvQNHSf x1C6BBf1I2vc2xIHViTTaASK+V+AqSu+XKGE6NIJt3UkOGj9NVgyBso5lZt6Spp+b/NM RVDg== 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=LbKSAH+guAP5EthZFGEfFquTdSJw7F8vhoo2LgrcSks=; fh=1PFJo2ff7HSg4gp1yOigU4+QFyP+Iw8saExz4hrESLE=; b=Q2P+nQW3p9aqibavP1G6xRGgBhSGVFZwa0cPVHnjDLrhfeHXH1ESdmLOCattJi2HRS qTvsYdevMltZ3VUQY27kNZdKjN+kN2QxoyxHlQAVE3l/5fiXOzIJF3yBqNulQPMMEAlf 4MvGsmEkwDzoslypsn35esvLpPVoHhygAK/aqE/P2ZYU2pq/Ozx6OXN4QAVcFQwWeUvP 31awmTsVskknLzwnmSyaOdkADYwU1QAQBhWrGPay2xCpzJn+ipzdSHzQ6OwtKHzEfl4W rw+E4p98w8kFJbutEiRsqwPHNhPPu5MxHpvaLn3ecML8oxdkCBIHDE4IpQ/pq2L9l5A2 fBrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="RHmS68j/"; 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 b11-20020a170902d50b00b001a6bb7b7a44si1449593plg.307.2023.08.10.06.00.29; Thu, 10 Aug 2023 06:00:47 -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="RHmS68j/"; 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 S234802AbjHJL1o (ORCPT + 99 others); Thu, 10 Aug 2023 07:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234748AbjHJL1i (ORCPT ); Thu, 10 Aug 2023 07:27:38 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 491D926A9 for ; Thu, 10 Aug 2023 04:27:37 -0700 (PDT) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230810112735epoutp046b0a143484ceafc8cc85ad9f39ded732~6AgrkTNi11241112411epoutp04T for ; Thu, 10 Aug 2023 11:27:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230810112735epoutp046b0a143484ceafc8cc85ad9f39ded732~6AgrkTNi11241112411epoutp04T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1691666855; bh=LbKSAH+guAP5EthZFGEfFquTdSJw7F8vhoo2LgrcSks=; h=From:To:In-Reply-To:Subject:Date:References:From; b=RHmS68j/Ky80qCywI/E8oM6ZR0Vp6PLTXHEpm373Xjq8CRepj/17g2SvAxCNVPuJL ds3Xfcm4hYZtFc8qADVzRZgJwLBlhJl5zfupYIY+yp5syAnKWE2DEjixTUAe6y+IPF DqNoeK5u/hLFJxKDBXY5pV5ZYZl1JpZLpt7Ve6dA= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20230810112735epcas5p2b15d366ee8874682ae06e67100fe97dd~6AgrJtSPp3115831158epcas5p2U; Thu, 10 Aug 2023 11:27:35 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4RM4Qt1VGlz4x9Pq; Thu, 10 Aug 2023 11:27:34 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D2.3A.57354.6A9C4D46; Thu, 10 Aug 2023 20:27:34 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20230810112733epcas5p3e0b2fe83a73c96d4f9189014db83c5c2~6AgpqSa5M0904009040epcas5p3e; Thu, 10 Aug 2023 11:27:33 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230810112733epsmtrp2e9cddcfc09844055d8c77bd71405b012~6AgppdS260553505535epsmtrp2C; Thu, 10 Aug 2023 11:27:33 +0000 (GMT) X-AuditID: b6c32a44-269fb7000001e00a-31-64d4c9a63bd2 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CF.4C.14748.5A9C4D46; Thu, 10 Aug 2023 20:27:33 +0900 (KST) Received: from alimakhtar04 (unknown [107.122.12.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230810112731epsmtip2dac60f8350dc2f24bedb1d708d10ba77~6Agn4JqfT0234702347epsmtip28; Thu, 10 Aug 2023 11:27:31 +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-7-krzysztof.kozlowski@linaro.org> Subject: RE: [PATCH 06/11] clk: samsung: exynos5420: do not define number of clocks in bindings Date: Thu, 10 Aug 2023 16:57:30 +0530 Message-ID: <004901d9cb7d$a8006910$f8013b30$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKdkXeLsq2DobfMxxfuGwY9MCDG5gHua++GAfu2rheuPIdAEA== Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPJsWRmVeSWpSXmKPExsWy7bCmhu6yk1dSDNY2s1ms2XuOyeL6l+es FvOPnGO12Pt6K7vFpsfXWC0+9txjtbi8aw6bxYzz+5gsLp5ytWjde4Td4vCbdlaLf9c2slis 2vWH0YHX4/2NVnaPnbPusntsWtXJ5nHn2h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Wmd8cDe/Wdki385kos xRmJhlrMRcWJAM1o3agtAwAA X-CMS-MailID: 20230810112733epcas5p3e0b2fe83a73c96d4f9189014db83c5c2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230808082756epcas5p3b233061078a2406aa63119531228c6a7 References: <20230808082738.122804-1-krzysztof.kozlowski@linaro.org> <20230808082738.122804-7-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_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 06/11] clk: samsung: exynos5420: 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-exynos5420.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk- > exynos5420.c > index 1e0cbf762408..199843f12ae5 100644 > --- a/drivers/clk/samsung/clk-exynos5420.c > +++ b/drivers/clk/samsung/clk-exynos5420.c > @@ -139,6 +139,9 @@ > #define SRC_KFC 0x28200 > #define DIV_KFC0 0x28500 > > +/* NOTE: Must be equal to the last clock ID increased by one */ > +#define CLKS_NR (CLK_DOUT_PCLK_DREX1 + 1) > + > /* Exynos5x SoC type */ > enum exynos5x_soc { > EXYNOS5420, > @@ -1587,7 +1590,7 @@ static void __init exynos5x_clk_init(struct > device_node *np, > > exynos5x_soc = soc; > > - ctx = samsung_clk_init(NULL, reg_base, CLK_NR_CLKS); > + ctx = samsung_clk_init(NULL, reg_base, CLKS_NR); > hws = ctx->clk_data.hws; > > samsung_clk_of_register_fixed_ext(ctx, > exynos5x_fixed_rate_ext_clks, > -- > 2.34.1