From: Akari Tsuyukusa <akkun11.open@gmail.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Akari Tsuyukusa <akkun11.open@gmail.com>,
Chen-Yu Tsai <wenst@chromium.org>,
Miles Chen <miles.chen@mediatek.com>,
linux-clk@vger.kernel.org (open list:MEDIATEK CLOCK DRIVERS),
linux-mediatek@lists.infradead.org (moderated list:MEDIATEK
CLOCK DRIVERS),
linux-kernel@vger.kernel.org (open list:ARM/Mediatek SoC support),
linux-arm-kernel@lists.infradead.org (moderated
list:ARM/Mediatek SoC support),
devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
FLATTENED DEVICE TREE BINDINGS)
Subject: [PATCH linux-next 27/33] dt-bindings: clock: mt8183: Drop unused _NR macros
Date: Sun, 29 Nov 2026 10:47:39 +0900 [thread overview]
Message-ID: <20261129014745.3375923-28-akkun11.open@gmail.com> (raw)
In-Reply-To: <20261129014745.3375923-1-akkun11.open@gmail.com>
Remove obsolete clock-count macros that are no longer referenced
by in-tree sources.
Removed definitions:
- CLK_APMIXED_NR_CLK
- CLK_TOP_NR_CLK
- CLK_CAM_NR_CLK
- CLK_INFRA_NR_CLK
- CLK_PERI_NR_CLK
- CLK_MFG_NR_CLK
- CLK_IMG_NR_CLK
- CLK_MM_NR_CLK
- CLK_VDEC_NR_CLK
- CLK_VENC_NR_CLK
- CLK_AUDIO_NR_CLK
- CLK_IPU_CONN_NR_CLK
- CLK_IPU_ADL_NR_CLK
- CLK_IPU_CORE0_NR_CLK
- CLK_IPU_CORE1_NR_CLK
- CLK_MCU_NR_CLK
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
include/dt-bindings/clock/mt8183-clk.h | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/include/dt-bindings/clock/mt8183-clk.h b/include/dt-bindings/clock/mt8183-clk.h
index a7b470b0ec8a..e5813611bc12 100644
--- a/include/dt-bindings/clock/mt8183-clk.h
+++ b/include/dt-bindings/clock/mt8183-clk.h
@@ -30,7 +30,6 @@
#define CLK_APMIXED_CLKSQ_LVPLL_26M 19
#define CLK_APMIXED_MIPID0_26M 20
#define CLK_APMIXED_MIPID1_26M 21
-#define CLK_APMIXED_NR_CLK 22
/* TOPCKGEN */
#define CLK_TOP_MUX_AXI 0
@@ -165,7 +164,6 @@
#define CLK_TOP_ARMPLL_DIV_PLL1 129
#define CLK_TOP_ARMPLL_DIV_PLL2 130
#define CLK_TOP_UNIVPLL_D3_D16 131
-#define CLK_TOP_NR_CLK 132
/* CAMSYS */
#define CLK_CAM_LARB6 0
@@ -178,7 +176,6 @@
#define CLK_CAM_CAMSV2 7
#define CLK_CAM_CCU 8
#define CLK_CAM_LARB3 9
-#define CLK_CAM_NR_CLK 10
/* INFRACFG_AO */
#define CLK_INFRA_PMIC_TMR 0
@@ -282,15 +279,12 @@
#define CLK_INFRA_I2C7 98
#define CLK_INFRA_I2C8 99
#define CLK_INFRA_FBIST2FPC 100
-#define CLK_INFRA_NR_CLK 101
/* PERICFG */
#define CLK_PERI_AXI 0
-#define CLK_PERI_NR_CLK 1
/* MFGCFG */
#define CLK_MFG_BG3D 0
-#define CLK_MFG_NR_CLK 1
/* IMG */
#define CLK_IMG_OWE 0
@@ -303,7 +297,6 @@
#define CLK_IMG_DIP 7
#define CLK_IMG_LARB2 8
#define CLK_IMG_LARB5 9
-#define CLK_IMG_NR_CLK 10
/* MMSYS_CONFIG */
#define CLK_MM_SMI_COMMON 0
@@ -352,18 +345,15 @@
#define CLK_MM_MDP_CCORR 43
#define CLK_MM_DBI_MM 44
#define CLK_MM_DBI_IF 45
-#define CLK_MM_NR_CLK 46
/* VDEC_GCON */
#define CLK_VDEC_VDEC 0
#define CLK_VDEC_LARB1 1
-#define CLK_VDEC_NR_CLK 2
/* VENC_GCON */
#define CLK_VENC_LARB 0
#define CLK_VENC_VENC 1
#define CLK_VENC_JPGENC 2
-#define CLK_VENC_NR_CLK 3
/* AUDIO */
#define CLK_AUDIO_TML 0
@@ -381,7 +371,6 @@
#define CLK_AUDIO_I2S1 12
#define CLK_AUDIO_PDN_ADDA6_ADC 13
#define CLK_AUDIO_TDM 14
-#define CLK_AUDIO_NR_CLK 15
/* IPU_CONN */
#define CLK_IPU_CONN_IPU 0
@@ -399,28 +388,23 @@
#define CLK_IPU_CONN_CAB3TO3 12
#define CLK_IPU_CONN_CAB2TO1 13
#define CLK_IPU_CONN_CAB3TO1_SLICE 14
-#define CLK_IPU_CONN_NR_CLK 15
/* IPU_ADL */
#define CLK_IPU_ADL_CABGEN 0
-#define CLK_IPU_ADL_NR_CLK 1
/* IPU_CORE0 */
#define CLK_IPU_CORE0_JTAG 0
#define CLK_IPU_CORE0_AXI 1
#define CLK_IPU_CORE0_IPU 2
-#define CLK_IPU_CORE0_NR_CLK 3
/* IPU_CORE1 */
#define CLK_IPU_CORE1_JTAG 0
#define CLK_IPU_CORE1_AXI 1
#define CLK_IPU_CORE1_IPU 2
-#define CLK_IPU_CORE1_NR_CLK 3
/* MCUCFG */
#define CLK_MCU_MP0_SEL 0
#define CLK_MCU_MP2_SEL 1
#define CLK_MCU_BUS_SEL 2
-#define CLK_MCU_NR_CLK 3
#endif /* _DT_BINDINGS_CLK_MT8183_H */
--
2.56.0
next prev parent reply other threads:[~2026-11-29 1:48 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 1:47 [PATCH linux-next 00/33] clk: mediatek: Fix regressions and pre-existing bugs Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 01/33] clk: mediatek: Skip common MMIO mapping for PLL-only controllers Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 02/33] clk: mediatek: Fix NULL pointer dereference in pdev remove Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 03/33] clk: mediatek: Drop unused shared_io flag Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 04/33] clk: mediatek: Pass node to of_platform_populate() in common probe Akari Tsuyukusa
2026-11-29 1:58 ` sashiko-bot
2026-11-29 1:47 ` [PATCH linux-next 05/33] clk: mediatek: Fix MFG mux notifier use-after-free Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 06/33] clk: mediatek: mt2701: Keep CPU mux descriptors alive Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 07/33] clk: mediatek: mt8167: Keep muxes " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 08/33] clk: mediatek: mt8516: Keep clock " Akari Tsuyukusa
2026-11-29 1:54 ` sashiko-bot
2026-11-29 1:47 ` [PATCH linux-next 09/33] clk: mediatek: Reserve missing MT2701 audsys clock IDs Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 10/33] clk: mediatek: Fix MT2701 onecell IDs after common probe migration Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 11/33] clk: mediatek: Fix MT6779 " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 12/33] clk: mediatek: Fix MT6797 " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 13/33] clk: mediatek: Fix MT8135 " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 14/33] clk: mediatek: Fix MT8173 " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 15/33] dt-bindings: clock: mt2701: Drop unused _NR macros Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 16/33] dt-bindings: clock: mt2712: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 17/33] dt-bindings: clock: mt6765: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 18/33] dt-bindings: clock: mt6779: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 19/33] dt-bindings: clock: mt6795: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 20/33] dt-bindings: clock: mt6797: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 21/33] dt-bindings: clock: mt7622: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 22/33] dt-bindings: clock: mt7629: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 23/33] dt-bindings: clock: mt7988: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 24/33] dt-bindings: clock: mt8135: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 25/33] dt-bindings: clock: mt8167: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 26/33] dt-bindings: clock: mt8173: " Akari Tsuyukusa
2026-11-29 1:47 ` Akari Tsuyukusa [this message]
2026-11-29 1:47 ` [PATCH linux-next 28/33] dt-bindings: clock: mt8186: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 29/33] dt-bindings: clock: mt8188: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 30/33] dt-bindings: clock: mt8192: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 31/33] dt-bindings: clock: mt8195: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 32/33] dt-bindings: clock: mt8365: " Akari Tsuyukusa
2026-11-29 1:47 ` [PATCH linux-next 33/33] dt-bindings: clock: mt8516: " Akari Tsuyukusa
2026-12-01 2:56 ` [PATCH linux-next 00/33] clk: mediatek: Fix regressions and pre-existing bugs Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129014745.3375923-28-akkun11.open@gmail.com \
--to=akkun11.open@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=miles.chen@mediatek.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=wenst@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.