From mboxrd@z Thu Jan 1 00:00:00 1970 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 62A6EC433FE for ; Mon, 24 Jan 2022 16:04:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241090AbiAXQEr (ORCPT ); Mon, 24 Jan 2022 11:04:47 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:57166 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S243600AbiAXQEp (ORCPT ); Mon, 24 Jan 2022 11:04:45 -0500 X-UUID: 096e2fd673ca47d6876c55c3244089c0-20220125 X-UUID: 096e2fd673ca47d6876c55c3244089c0-20220125 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1048090109; Tue, 25 Jan 2022 00:04:40 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 Jan 2022 00:04:38 +0800 From: Miles Chen To: CC: , , , , , , , Subject: Re: [PATCH 02/31] clk: mediatek: gate: Consolidate gate type clk related code Date: Tue, 25 Jan 2022 00:04:38 +0800 Message-ID: <20220124160438.17755-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220122091731.283592-3-wenst@chromium.org> References: <20220122091731.283592-3-wenst@chromium.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Right now some bits of the gate type clk code are in clk-gate.[ch], but > other bits are in clk-mtk.[ch]. This is different from the cpumux and > mux type clks, for which all of the code are found in the same files. > > Move the functions that register multiple clks from a given list, > mtk_clk_register_gates_with_dev() and mtk_clk_register_gates(), to > clk-gate.[ch] to consolidate all the code for the gate type clks. > > This commit only moves code with minor whitespace fixups to correct > the code style. Further improvements, such as internalizing various > functions and structures will be done in later commits. > > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Miles Chen From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 924FCC433EF for ; Mon, 24 Jan 2022 16:08:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/tJXOeJGo1lGyNGmVY3nxIkUNVCX7I26ss3onz+YYB0=; b=YbXS86YWzQc9IT c7HuX3J8Mjg6aYx/7GgFV/UIYqaDENl6JE52HlcRP5qbn1iKg9EwU55FGnNYPOQWL9medid4Nhsp+ npoU2ym3gIMb478zAZ1sQAeIoxhYUiOqDGNfFSigf08qWvf3d1lXS74+OM9+fXJTRdEFJO7vIYSaO o+OPM7MVH3q0meNf4VEeBg4AwZlxjMzOtkvCERYwnH6PGTP8OYaqwl8fYLn1q7PLeojRX8YAELLJ1 z9NxVIMG1+FG6FsJksoyPiSySflC1KyJol92jpM+I9FlUuufWICGzNbJnxYruVye8Cxxrnpi7X468 Qzu5LtAFoFkj2+B1MqtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC1tO-003vi1-9I; Mon, 24 Jan 2022 16:08:30 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC1pt-003uNA-MX; Mon, 24 Jan 2022 16:04:55 +0000 X-UUID: 24ae8aa0133e4618b3d90f88361fb9db-20220124 X-UUID: 24ae8aa0133e4618b3d90f88361fb9db-20220124 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1141115229; Mon, 24 Jan 2022 09:04:47 -0700 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Jan 2022 08:04:46 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 Jan 2022 00:04:38 +0800 From: Miles Chen To: CC: , , , , , , , Subject: Re: [PATCH 02/31] clk: mediatek: gate: Consolidate gate type clk related code Date: Tue, 25 Jan 2022 00:04:38 +0800 Message-ID: <20220124160438.17755-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220122091731.283592-3-wenst@chromium.org> References: <20220122091731.283592-3-wenst@chromium.org> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_080453_800569_1197333B X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org > Right now some bits of the gate type clk code are in clk-gate.[ch], but > other bits are in clk-mtk.[ch]. This is different from the cpumux and > mux type clks, for which all of the code are found in the same files. > > Move the functions that register multiple clks from a given list, > mtk_clk_register_gates_with_dev() and mtk_clk_register_gates(), to > clk-gate.[ch] to consolidate all the code for the gate type clks. > > This commit only moves code with minor whitespace fixups to correct > the code style. Further improvements, such as internalizing various > functions and structures will be done in later commits. > > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Miles Chen _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FDEEC433EF for ; Mon, 24 Jan 2022 16:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rvP1iq9ikxdXhvbAOVMwlPuPzinZ98PU9J2HrbZwkoc=; b=LS13w8UgPMF8Fc vOIgj5oO//f6k/dBl8O6qEwYrLf6eSpXUxiCRkpjuJLd6+/RzAicnNkbcNFS0mShbtDrRZXVcAJxl COMi7nUFNayKZd9zoNtyeyTsnQU7azfmTCHRmQrgehq2vFGzVCzHEzBytxIzzEPG+jdiKHqBUGi63 OJisLKQZfJXN+kBtcKXoPTWQswxhzNxDqI1S6qs0sUTCNhUPOVFBfiKD7lV1d0uiOpQbY/n+bmws/ AVlsKT6e0ktzNgBHA49gt8oE2uJkm1qeMjHyF7s5Um5nemvpqA9qCWaUbRTNsvgEIkrNWOB/0Vgvb tuNkB+hl+hnAKCCw9fxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC1tZ-003vjh-Pc; Mon, 24 Jan 2022 16:08:42 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC1pt-003uNA-MX; Mon, 24 Jan 2022 16:04:55 +0000 X-UUID: 24ae8aa0133e4618b3d90f88361fb9db-20220124 X-UUID: 24ae8aa0133e4618b3d90f88361fb9db-20220124 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1141115229; Mon, 24 Jan 2022 09:04:47 -0700 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Jan 2022 08:04:46 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Jan 2022 00:04:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 Jan 2022 00:04:38 +0800 From: Miles Chen To: CC: , , , , , , , Subject: Re: [PATCH 02/31] clk: mediatek: gate: Consolidate gate type clk related code Date: Tue, 25 Jan 2022 00:04:38 +0800 Message-ID: <20220124160438.17755-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220122091731.283592-3-wenst@chromium.org> References: <20220122091731.283592-3-wenst@chromium.org> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_080453_800569_1197333B X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > Right now some bits of the gate type clk code are in clk-gate.[ch], but > other bits are in clk-mtk.[ch]. This is different from the cpumux and > mux type clks, for which all of the code are found in the same files. > > Move the functions that register multiple clks from a given list, > mtk_clk_register_gates_with_dev() and mtk_clk_register_gates(), to > clk-gate.[ch] to consolidate all the code for the gate type clks. > > This commit only moves code with minor whitespace fixups to correct > the code style. Further improvements, such as internalizing various > functions and structures will be done in later commits. > > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Miles Chen _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel