Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4197840rwl; Wed, 28 Dec 2022 00:18:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXv4SQA2elDFQIj4MYgoQiPONYJ8y7S7UmHAIqF5keCs2ihiSBpVrvgPqnKgConnJT7SkzLw X-Received: by 2002:a17:906:260e:b0:7c1:9046:878a with SMTP id h14-20020a170906260e00b007c19046878amr20667628ejc.38.1672215481691; Wed, 28 Dec 2022 00:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672215481; cv=none; d=google.com; s=arc-20160816; b=feqkVmmljXwKDMgdYaI+OOsVeaqFzs/T1BRTp95J9VAj2mjUZA2CntfZstC0maKpI5 p802gFoZndJ+p3tI6lU8m6fXLCS/mAkpkapQQIdos5/SWzD4lFzfyPOS/TtN8m1139Ok wFVQXhL5kwGZZGb8F8Zutv3pgJW70So9j1ZW2XeBRysFrzJvazlGBn4ylvFtIJ9NLjj5 jrDMmGEH+Tg7/7TAcp+WNcWKfqldORynQGrTMLOJ/lGeedMhvnl7DolsZS2Qe3Ib8ZVD 3K7Su0pJ+0z4DgCby+868vaC0m2QuGRrvfPpsD2iwBNhk60WkncTSvxyzbbJzkH5m4Q9 kSkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hTIBEWfUEwvi8Ni7b5PaoSl4qonL92kVD6YGJarC3dk=; b=mmMZVPEFPs6ztGSXBm3kstrVvONK9bAe1FLT+XuDAKOuG+Aqylh5iPKXofklAuHIMu TkR5IUb9rQLa/iadOXuRyx5BmFcK0qyagY9GRHbZXhl1tXrB1IPpTgN990CR5jbH1xgG 3F42uoo7BuYrVC+iHIiVbRTatblKyfLXXcs/F1We3giUe7br+c4Cm1GR+yEYvvyspeh4 rCx1Hd3hKxXnX03C2nu7kVbQpsyej1PuyVMmlX8G2MPthuuIAuCYjmiA+3D1MdqohLXC uH7xBC02YFb0/JggvyKva74He8FXg520JUnz41ipmYc3F3R8cFpdUl4+Anq9dmbuLRVO Zu7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=miy4yJYT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq26-20020a1709073f1a00b007a835c56b70si12759031ejc.267.2022.12.28.00.17.43; Wed, 28 Dec 2022 00:18:01 -0800 (PST) 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=@mediatek.com header.s=dk header.b=miy4yJYT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232495AbiL1H6i (ORCPT + 66 others); Wed, 28 Dec 2022 02:58:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbiL1H6e (ORCPT ); Wed, 28 Dec 2022 02:58:34 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAF0DEA0; Tue, 27 Dec 2022 23:58:32 -0800 (PST) X-UUID: 9b9b589c182b406c9c1539004688c4e9-20221228 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=hTIBEWfUEwvi8Ni7b5PaoSl4qonL92kVD6YGJarC3dk=; b=miy4yJYTcHPN9rXRQALUVx1LE6cdWOyTXpC3PeeBsFzCBLKYyYwM0Ewxvfz727bu/XH8mMqFYusfBt9acAZAv98GxHlqypoKl1/3jV6N8DEchSGl9Qkoh/YGl2IZvIFLXJAFMENkgl+vkH3vUiKlH9WAy/l2HSbavh6keN2SMxM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:d1fc1aef-6746-4eee-9445-166fc38244c4,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:dcaaed0,CLOUDID:aa139e8a-8530-4eff-9f77-222cf6e2895b,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 9b9b589c182b406c9c1539004688c4e9-20221228 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1944221149; Wed, 28 Dec 2022 15:58:27 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 28 Dec 2022 15:58:26 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 28 Dec 2022 15:58:26 +0800 From: Miles Chen To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v2 14/23] clk: mediatek: clk-mt8192: Move CLK_TOP_CSW_F26M_D2 in top_divs Date: Wed, 28 Dec 2022 15:58:26 +0800 Message-ID: <20221228075826.27396-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20221223094259.87373-15-angelogioacchino.delregno@collabora.com> References: <20221223094259.87373-15-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY 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 > This driver is registered early in clk_mt8192_top_init_early() and > then again in clk_mt8192_top_probe(): the difference between the > two is that the early one is probed with CLK_OF_DECLARE_DRIVER and > the latter is regularly probed as a platform_driver. > > Knowing that it is not necessary for this platform to register the > TOP_CSW_F26M_D2 clock that early, move it to top_divs and register > it with the others during platform_driver probe for topckgen; > > While at it, since the only reason why the early probe existed was > to register that clock, remove that entirely - leaving this driver > to use only platform_driver. > > Signed-off-by: AngeloGioacchino Del Regno > Thanks and this patch makes it easier to convert clk-mt8192 driver to a kernel module. Reviewed-by: Miles Chen