All of lore.kernel.org
 help / color / mirror / Atom feed
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 31/33] dt-bindings: clock: mt8195: Drop unused _NR macros
Date: Sun, 29 Nov 2026 10:47:43 +0900	[thread overview]
Message-ID: <20261129014745.3375923-32-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_INFRA_AO_NR_CLK
- CLK_SCP_ADSP_NR_CLK
- CLK_PERI_AO_NR_CLK
- CLK_IMP_IIC_WRAP_S_NR_CLK
- CLK_IMP_IIC_WRAP_W_NR_CLK
- CLK_MFG_NR_CLK
- CLK_VPP0_NR_CLK
- CLK_WPE_NR_CLK
- CLK_WPE_VPP0_NR_CLK
- CLK_WPE_VPP1_NR_CLK
- CLK_VPP1_NR_CLK
- CLK_IMG_NR_CLK
- CLK_IMG1_DIP_TOP_NR_CLK
- CLK_IMG1_DIP_NR_NR_CLK
- CLK_IMG1_WPE_NR_CLK
- CLK_IPE_NR_CLK
- CLK_CAM_NR_CLK
- CLK_CAM_RAWA_NR_CLK
- CLK_CAM_YUVA_NR_CLK
- CLK_CAM_RAWB_NR_CLK
- CLK_CAM_YUVB_NR_CLK
- CLK_CAM_MRAW_NR_CLK
- CLK_CCU_NR_CLK
- CLK_VDEC_SOC_NR_CLK
- CLK_VDEC_NR_CLK
- CLK_VDEC_CORE1_NR_CLK
- CLK_VENC_NR_CLK
- CLK_VENC_CORE1_NR_CLK
- CLK_VDO0_NR_CLK
- CLK_VDO1_NR_CLK

Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
 include/dt-bindings/clock/mt8195-clk.h | 30 --------------------------
 1 file changed, 30 deletions(-)

diff --git a/include/dt-bindings/clock/mt8195-clk.h b/include/dt-bindings/clock/mt8195-clk.h
index d70d017ad69c..01a511625ae3 100644
--- a/include/dt-bindings/clock/mt8195-clk.h
+++ b/include/dt-bindings/clock/mt8195-clk.h
@@ -352,7 +352,6 @@
 #define CLK_INFRA_AO_UFS_RX_SYMBOL	91
 #define CLK_INFRA_AO_UFS_RX_SYMBOL1	92
 #define CLK_INFRA_AO_PERI_UFS_MEM_SUB	93
-#define CLK_INFRA_AO_NR_CLK		94
 
 /* APMIXEDSYS */
 
@@ -385,7 +384,6 @@
 /* SCP_ADSP */
 
 #define CLK_SCP_ADSP_AUDIODSP		0
-#define CLK_SCP_ADSP_NR_CLK		1
 
 /* PERICFG_AO */
 
@@ -405,14 +403,12 @@
 #define CLK_PERI_AO_FNFI1X		13
 #define CLK_PERI_AO_PCIE_P0_MEM		14
 #define CLK_PERI_AO_PCIE_P1_MEM		15
-#define CLK_PERI_AO_NR_CLK		16
 
 /* IMP_IIC_WRAP_S */
 
 #define CLK_IMP_IIC_WRAP_S_I2C5		0
 #define CLK_IMP_IIC_WRAP_S_I2C6		1
 #define CLK_IMP_IIC_WRAP_S_I2C7		2
-#define CLK_IMP_IIC_WRAP_S_NR_CLK	3
 
 /* IMP_IIC_WRAP_W */
 
@@ -421,12 +417,10 @@
 #define CLK_IMP_IIC_WRAP_W_I2C2		2
 #define CLK_IMP_IIC_WRAP_W_I2C3		3
 #define CLK_IMP_IIC_WRAP_W_I2C4		4
-#define CLK_IMP_IIC_WRAP_W_NR_CLK	5
 
 /* MFGCFG */
 
 #define CLK_MFG_BG3D			0
-#define CLK_MFG_NR_CLK			1
 
 /* VPPSYS0 */
 
@@ -472,7 +466,6 @@
 #define CLK_VPP0_WARP0_MDP_DL_ASYNC		39
 #define CLK_VPP0_WARP1_RELAY			40
 #define CLK_VPP0_WARP1_MDP_DL_ASYNC		41
-#define CLK_VPP0_NR_CLK				42
 
 /* WPESYS */
 
@@ -483,7 +476,6 @@
 #define CLK_WPE_EVENT_TX		4
 #define CLK_WPE_SMI_LARB7_P		5
 #define CLK_WPE_SMI_LARB8_P		6
-#define CLK_WPE_NR_CLK			7
 
 /* WPESYS_VPP0 */
 
@@ -510,7 +502,6 @@
 #define CLK_WPE_VPP0_MDP_CROP		20
 #define CLK_WPE_VPP0_ISP_CROP		21
 #define CLK_WPE_VPP0_TOP		22
-#define CLK_WPE_VPP0_NR_CLK		23
 
 /* WPESYS_VPP1 */
 
@@ -537,7 +528,6 @@
 #define CLK_WPE_VPP1_MDP_CROP		20
 #define CLK_WPE_VPP1_ISP_CROP		21
 #define CLK_WPE_VPP1_TOP		22
-#define CLK_WPE_VPP1_NR_CLK		23
 
 /* VPPSYS1 */
 
@@ -592,7 +582,6 @@
 #define CLK_VPP1_VPP0_DL_ASYNC		48
 #define CLK_VPP1_VPP0_DL_RELAY		49
 #define CLK_VPP1_VPP_SPLIT_26M		50
-#define CLK_VPP1_NR_CLK			51
 
 /* IMGSYS */
 
@@ -607,25 +596,21 @@
 #define CLK_IMG_DIP1			8
 #define CLK_IMG_WPE1			9
 #define CLK_IMG_GALS			10
-#define CLK_IMG_NR_CLK			11
 
 /* IMGSYS1_DIP_TOP */
 
 #define CLK_IMG1_DIP_TOP_LARB10		0
 #define CLK_IMG1_DIP_TOP_DIP_TOP	1
-#define CLK_IMG1_DIP_TOP_NR_CLK		2
 
 /* IMGSYS1_DIP_NR */
 
 #define CLK_IMG1_DIP_NR_RESERVE		0
 #define CLK_IMG1_DIP_NR_DIP_NR		1
-#define CLK_IMG1_DIP_NR_NR_CLK		2
 
 /* IMGSYS1_WPE */
 
 #define CLK_IMG1_WPE_LARB11		0
 #define CLK_IMG1_WPE_WPE		1
-#define CLK_IMG1_WPE_NR_CLK		2
 
 /* IPESYS */
 
@@ -634,7 +619,6 @@
 #define CLK_IPE_ME			2
 #define CLK_IPE_TOP			3
 #define CLK_IPE_SMI_LARB12		4
-#define CLK_IPE_NR_CLK			5
 
 /* CAMSYS */
 
@@ -661,35 +645,30 @@
 #define CLK_CAM_CAM2MM0_GALS		20
 #define CLK_CAM_CAM2MM1_GALS		21
 #define CLK_CAM_CAM2SYS_GALS		22
-#define CLK_CAM_NR_CLK			23
 
 /* CAMSYS_RAWA */
 
 #define CLK_CAM_RAWA_LARBX		0
 #define CLK_CAM_RAWA_CAM		1
 #define CLK_CAM_RAWA_CAMTG		2
-#define CLK_CAM_RAWA_NR_CLK		3
 
 /* CAMSYS_YUVA */
 
 #define CLK_CAM_YUVA_LARBX		0
 #define CLK_CAM_YUVA_CAM		1
 #define CLK_CAM_YUVA_CAMTG		2
-#define CLK_CAM_YUVA_NR_CLK		3
 
 /* CAMSYS_RAWB */
 
 #define CLK_CAM_RAWB_LARBX		0
 #define CLK_CAM_RAWB_CAM		1
 #define CLK_CAM_RAWB_CAMTG		2
-#define CLK_CAM_RAWB_NR_CLK		3
 
 /* CAMSYS_YUVB */
 
 #define CLK_CAM_YUVB_LARBX		0
 #define CLK_CAM_YUVB_CAM		1
 #define CLK_CAM_YUVB_CAMTG		2
-#define CLK_CAM_YUVB_NR_CLK		3
 
 /* CAMSYS_MRAW */
 
@@ -699,7 +678,6 @@
 #define CLK_CAM_MRAW_MRAW1		3
 #define CLK_CAM_MRAW_MRAW2		4
 #define CLK_CAM_MRAW_MRAW3		5
-#define CLK_CAM_MRAW_NR_CLK		6
 
 /* CCUSYS */
 
@@ -707,28 +685,24 @@
 #define CLK_CCU_AHB			1
 #define CLK_CCU_CCU0			2
 #define CLK_CCU_CCU1			3
-#define CLK_CCU_NR_CLK			4
 
 /* VDECSYS_SOC */
 
 #define CLK_VDEC_SOC_LARB1		0
 #define CLK_VDEC_SOC_LAT		1
 #define CLK_VDEC_SOC_VDEC		2
-#define CLK_VDEC_SOC_NR_CLK		3
 
 /* VDECSYS */
 
 #define CLK_VDEC_LARB1			0
 #define CLK_VDEC_LAT			1
 #define CLK_VDEC_VDEC			2
-#define CLK_VDEC_NR_CLK			3
 
 /* VDECSYS_CORE1 */
 
 #define CLK_VDEC_CORE1_LARB1		0
 #define CLK_VDEC_CORE1_LAT		1
 #define CLK_VDEC_CORE1_VDEC		2
-#define CLK_VDEC_CORE1_NR_CLK		3
 
 /* APUSYS_PLL */
 
@@ -746,7 +720,6 @@
 #define CLK_VENC_JPGDEC			3
 #define CLK_VENC_JPGDEC_C1		4
 #define CLK_VENC_GALS			5
-#define CLK_VENC_NR_CLK			6
 
 /* VENCSYS_CORE1 */
 
@@ -756,7 +729,6 @@
 #define CLK_VENC_CORE1_JPGDEC		3
 #define CLK_VENC_CORE1_JPGDEC_C1	4
 #define CLK_VENC_CORE1_GALS		5
-#define CLK_VENC_CORE1_NR_CLK		6
 
 /* VDOSYS0 */
 
@@ -805,7 +777,6 @@
 #define CLK_VDO0_DSI0_DSI		42
 #define CLK_VDO0_DSI1_DSI		43
 #define CLK_VDO0_DP_INTF0_DP_INTF	44
-#define CLK_VDO0_NR_CLK			45
 
 /* VDOSYS1 */
 
@@ -860,7 +831,6 @@
 #define CLK_VDO1_DISP_MONITOR_DPINTF		48
 #define CLK_VDO1_26M_SLOW			49
 #define CLK_VDO1_DPI1_HDMI			50
-#define CLK_VDO1_NR_CLK				51
 
 
 #endif /* _DT_BINDINGS_CLK_MT8195_H */
-- 
2.56.0


  parent reply	other threads:[~2026-11-29  1:49 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 ` [PATCH linux-next 27/33] dt-bindings: clock: mt8183: " Akari Tsuyukusa
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 ` Akari Tsuyukusa [this message]
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-32-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.