dt-bindings: Remove unused includes
Subsystems (18)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: Remove unused includes
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
--- include/dt-bindings/clock/oxsemi,ox810se.h | 19 -- include/dt-bindings/clock/oxsemi,ox820.h | 29 -- include/dt-bindings/clock/qcom,mss-sc7180.h | 12 - include/dt-bindings/clock/xlnx-versal-clk.h | 123 --------- include/dt-bindings/clock/xlnx-zynqmp-clk.h | 133 --------- include/dt-bindings/dma/jz4775-dma.h | 44 --- include/dt-bindings/dma/x2000-dma.h | 54 ---- include/dt-bindings/gce/mt6779-gce.h | 222 --------------- .../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 30 -- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 19 -- include/dt-bindings/memory/mt6779-larb-port.h | 206 -------------- include/dt-bindings/mux/ti-serdes.h | 190 ------------- include/dt-bindings/pinctrl/mt6397-pinfunc.h | 257 ------------------ .../power/allwinner,sun20i-d1-ppu.h | 10 - include/dt-bindings/reset/bcm6318-reset.h | 20 -- include/dt-bindings/reset/imx8ulp-pcc-reset.h | 59 ---- include/dt-bindings/reset/oxsemi,ox810se.h | 42 --- include/dt-bindings/reset/oxsemi,ox820.h | 42 --- include/dt-bindings/sound/audio-jack-events.h | 10 - 19 files changed, 1521 deletions(-) delete mode 100644 include/dt-bindings/clock/oxsemi,ox810se.h delete mode 100644 include/dt-bindings/clock/oxsemi,ox820.h delete mode 100644 include/dt-bindings/clock/qcom,mss-sc7180.h delete mode 100644 include/dt-bindings/clock/xlnx-versal-clk.h delete mode 100644 include/dt-bindings/clock/xlnx-zynqmp-clk.h delete mode 100644 include/dt-bindings/dma/jz4775-dma.h delete mode 100644 include/dt-bindings/dma/x2000-dma.h delete mode 100644 include/dt-bindings/gce/mt6779-gce.h delete mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h delete mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-smb139x.h delete mode 100644 include/dt-bindings/memory/mt6779-larb-port.h delete mode 100644 include/dt-bindings/mux/ti-serdes.h delete mode 100644 include/dt-bindings/pinctrl/mt6397-pinfunc.h delete mode 100644 include/dt-bindings/power/allwinner,sun20i-d1-ppu.h delete mode 100644 include/dt-bindings/reset/bcm6318-reset.h delete mode 100644 include/dt-bindings/reset/imx8ulp-pcc-reset.h delete mode 100644 include/dt-bindings/reset/oxsemi,ox810se.h delete mode 100644 include/dt-bindings/reset/oxsemi,ox820.h delete mode 100644 include/dt-bindings/sound/audio-jack-events.h
include/dt-bindings/clock/oxsemi,ox810se.h deleted +0 -19
@@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* Copyright (C) 2016 Neil Armstrong <[email protected]> -*/ - -#ifndef DT_CLOCK_OXSEMI_OX810SE_H -#define DT_CLOCK_OXSEMI_OX810SE_H - -#define CLK_810_LEON 0 -#define CLK_810_DMA_SGDMA 1 -#define CLK_810_CIPHER 2 -#define CLK_810_SATA 3 -#define CLK_810_AUDIO 4 -#define CLK_810_USBMPH 5 -#define CLK_810_ETHA 6 -#define CLK_810_PCIEA 7 -#define CLK_810_NAND 8 - -#endif /* DT_CLOCK_OXSEMI_OX810SE_H */
include/dt-bindings/clock/oxsemi,ox820.h deleted +0 -29
@@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* Copyright (C) 2016 Neil Armstrong <[email protected]> -*/ - -#ifndef DT_CLOCK_OXSEMI_OX820_H -#define DT_CLOCK_OXSEMI_OX820_H - -/* PLLs */ -#define CLK_820_PLLA 0 -#define CLK_820_PLLB 1 - -/* Gate Clocks */ -#define CLK_820_LEON 2 -#define CLK_820_DMA_SGDMA 3 -#define CLK_820_CIPHER 4 -#define CLK_820_SD 5 -#define CLK_820_SATA 6 -#define CLK_820_AUDIO 7 -#define CLK_820_USBMPH 8 -#define CLK_820_ETHA 9 -#define CLK_820_PCIEA 10 -#define CLK_820_NAND 11 -#define CLK_820_PCIEB 12 -#define CLK_820_ETHB 13 -#define CLK_820_REF600 14 -#define CLK_820_USBDEV 15 - -#endif /* DT_CLOCK_OXSEMI_OX820_H */
include/dt-bindings/clock/qcom,mss-sc7180.h deleted +0 -12
@@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* Copyright (c) 2020, The Linux Foundation. All rights reserved. -*/ - -#ifndef _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H -#define _DT_BINDINGS_CLK_QCOM_MSS_SC7180_H - -#define MSS_AXI_CRYPTO_CLK 0 -#define MSS_AXI_NAV_CLK 1 - -#endif
include/dt-bindings/clock/xlnx-versal-clk.h deleted +0 -123
123 lines not on this page · raw message
include/dt-bindings/clock/xlnx-zynqmp-clk.h deleted +0 -133
133 lines not on this page · raw message
include/dt-bindings/dma/jz4775-dma.h deleted +0 -44
44 lines not on this page · raw message
include/dt-bindings/dma/x2000-dma.h deleted +0 -54
54 lines not on this page · raw message
include/dt-bindings/gce/mt6779-gce.h deleted +0 -222
222 lines not on this page · raw message
include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h deleted +0 -30
@@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* Copyright (c) 2020 The Linux Foundation. All rights reserved. -*/ - -#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_PMR735B_H -#define _DT_BINDINGS_QCOM_SPMI_VADC_PMR735B_H - -#ifndef PMR735B_SID -#define PMR735B_SID 5 -#endif - -#include <dt-bindings/iio/qcom,spmi-vadc.h> - -/* ADC channels for PMR735B_ADC for PMIC7 */ -#define PMR735B_ADC7_REF_GND (PMR735B_SID << 8 | ADC7_REF_GND) -#define PMR735B_ADC7_1P25VREF (PMR735B_SID << 8 | ADC7_1P25VREF) -#define PMR735B_ADC7_VREF_VADC (PMR735B_SID << 8 | ADC7_VREF_VADC) -#define PMR735B_ADC7_DIE_TEMP (PMR735B_SID << 8 | ADC7_DIE_TEMP) - -#define PMR735B_ADC7_GPIO1 (PMR735B_SID << 8 | ADC7_GPIO1) -#define PMR735B_ADC7_GPIO2 (PMR735B_SID << 8 | ADC7_GPIO2) -#define PMR735B_ADC7_GPIO3 (PMR735B_SID << 8 | ADC7_GPIO3) - -/* 100k pull-up2 */ -#define PMR735B_ADC7_GPIO1_100K_PU (PMR735B_SID << 8 | ADC7_GPIO1_100K_PU) -#define PMR735B_ADC7_GPIO2_100K_PU (PMR735B_SID << 8 | ADC7_GPIO2_100K_PU) -#define PMR735B_ADC7_GPIO3_100K_PU (PMR735B_SID << 8 | ADC7_GPIO3_100K_PU) - -#endif /* _DT_BINDINGS_QCOM_SPMI_VADC_PMR735B_H */
include/dt-bindings/iio/qcom,spmi-adc7-smb139x.h deleted +0 -19
@@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */ -/* -* Copyright (c) 2020 The Linux Foundation. All rights reserved. -*/ - -#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H -#define _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H - -#include <dt-bindings/iio/qcom,spmi-vadc.h> - -#define SMB139x_1_ADC7_SMB_TEMP (SMB139x_1_SID << 8 | ADC7_SMB_TEMP) -#define SMB139x_1_ADC7_ICHG_SMB (SMB139x_1_SID << 8 | ADC7_ICHG_SMB) -#define SMB139x_1_ADC7_IIN_SMB (SMB139x_1_SID << 8 | ADC7_IIN_SMB) - -#define SMB139x_2_ADC7_SMB_TEMP (SMB139x_2_SID << 8 | ADC7_SMB_TEMP) -#define SMB139x_2_ADC7_ICHG_SMB (SMB139x_2_SID << 8 | ADC7_ICHG_SMB) -#define SMB139x_2_ADC7_IIN_SMB (SMB139x_2_SID << 8 | ADC7_IIN_SMB) - -#endif
include/dt-bindings/memory/mt6779-larb-port.h deleted +0 -206
206 lines not on this page · raw message
include/dt-bindings/mux/ti-serdes.h deleted +0 -190
190 lines not on this page · raw message
include/dt-bindings/pinctrl/mt6397-pinfunc.h deleted +0 -257
257 lines not on this page · raw message
include/dt-bindings/power/allwinner,sun20i-d1-ppu.h deleted +0 -10
@@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ - -#ifndef _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ -#define _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ - -#define PD_CPU 0 -#define PD_VE 1 -#define PD_DSP 2 - -#endif /* _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ */
include/dt-bindings/reset/bcm6318-reset.h deleted +0 -20
@@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef __DT_BINDINGS_RESET_BCM6318_H -#define __DT_BINDINGS_RESET_BCM6318_H - -#define BCM6318_RST_SPI 0 -#define BCM6318_RST_EPHY 1 -#define BCM6318_RST_SAR 2 -#define BCM6318_RST_ENETSW 3 -#define BCM6318_RST_USBD 4 -#define BCM6318_RST_USBH 5 -#define BCM6318_RST_PCIE_CORE 6 -#define BCM6318_RST_PCIE 7 -#define BCM6318_RST_PCIE_EXT 8 -#define BCM6318_RST_PCIE_HARD 9 -#define BCM6318_RST_ADSL 10 -#define BCM6318_RST_PHYMIPS 11 -#define BCM6318_RST_HOSTMIPS 12 - -#endif /* __DT_BINDINGS_RESET_BCM6318_H */
include/dt-bindings/reset/imx8ulp-pcc-reset.h deleted +0 -59
59 lines not on this page · raw message
include/dt-bindings/reset/oxsemi,ox810se.h deleted +0 -42
42 lines not on this page · raw message
include/dt-bindings/reset/oxsemi,ox820.h deleted +0 -42
42 lines not on this page · raw message
include/dt-bindings/sound/audio-jack-events.h deleted +0 -10
@@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AUDIO_JACK_EVENTS_H -#define __AUDIO_JACK_EVENTS_H - -#define JACK_HEADPHONE 1 -#define JACK_MICROPHONE 2 -#define JACK_LINEOUT 3 -#define JACK_LINEIN 4 - -#endif /* __AUDIO_JACK_EVENTS_H */
Signature · 1 line
2.51.0
Quoted 5 lines · Rob Herring (Arm)
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Signed-off-by Rob Herring (Arm) <[email protected]>
Oh yes!
Best regards,
Krzysztof
Quoted 3 lines · Rob Herring (Arm)
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Quoted 5 lines · On Fri, 12 Dec 2025 17:11:52 -0600 "Rob Herring (Arm)" <[email protected]> wrote:
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Signed-off-by Rob Herring (Arm) <[email protected]>
Ideally we'll get a QC ack on those as well.
Jonathan
Quoted 2 lines
.../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 30 -- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 19 --
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · On Fri, 12 Dec 2025 17:11:52 -0600 "Rob Herring (Arm)" <[email protected]> wrote:
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Quoted 9 lines
Quoted 1 line
Signed-off-by Rob Herring (Arm) <[email protected]>Ideally we'll get a QC ack on those as well.
Jonathan
Quoted 2 lines
.../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 30 -- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 19 --
Those are being moved to dts/qcom:
https://lore.kernel.org/linux-arm-msm/[email protected]/
and will hopefully be in use later in this cycle.
Krzysztof and the submitter agreed on that outcome since they represent hw constants and aren't "real" bindings (connecting sw to sw)
Konrad
Rob Herring
maintainerQuoted 18 lines · Konrad Dybcio
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · On Fri, 12 Dec 2025 17:11:52 -0600 "Rob Herring (Arm)" <[email protected]> wrote:
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Quoted 9 lines
Quoted 1 line
Signed-off-by Rob Herring (Arm) <[email protected]>Ideally we'll get a QC ack on those as well.
Jonathan
Quoted 2 lines
.../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 30 -- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 19 --
Quoted 8 lines
Those are being moved to dts/qcom:
https://lore.kernel.org/linux-arm-msm/[email protected]/
and will hopefully be in use later in this cycle.
Krzysztof and the submitter agreed on that outcome since they represent hw constants and aren't "real" bindings (connecting sw to sw)
Okay, I'll drop those 2 when applying.
Rob
Chen-Yu Tsai
maintainerQuoted 6 lines · Rob Herring (Arm)
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Signed-off-by Rob Herring (Arm) <[email protected]>
Quoted 15 lines
--- include/dt-bindings/clock/oxsemi,ox810se.h | 19 -- include/dt-bindings/clock/oxsemi,ox820.h | 29 -- include/dt-bindings/clock/qcom,mss-sc7180.h | 12 - include/dt-bindings/clock/xlnx-versal-clk.h | 123 --------- include/dt-bindings/clock/xlnx-zynqmp-clk.h | 133 --------- include/dt-bindings/dma/jz4775-dma.h | 44 --- include/dt-bindings/dma/x2000-dma.h | 54 ---- include/dt-bindings/gce/mt6779-gce.h | 222 --------------- .../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 30 -- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 19 -- include/dt-bindings/memory/mt6779-larb-port.h | 206 -------------- include/dt-bindings/mux/ti-serdes.h | 190 ------------- include/dt-bindings/pinctrl/mt6397-pinfunc.h | 257 ------------------ .../power/allwinner,sun20i-d1-ppu.h | 10 -
For this one, a node is present in the DT, but there are currently no references to it, and thus no users of the header.
Also this chip hasn't seen a lot of interest after it was initially brought up. None of the peripherals that have a separate power domain have been enabled.
ChenYu
Quoted 5 lines · Rob Herring (Arm)
Remove includes which are not referenced by either DTS files or drivers.
There's a few more which are new, so they are excluded for now.
Signed-off-by Rob Herring (Arm) <[email protected]>
Good.
Yours,
Linus Walleij