[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <a15bb180-401d-49ad-a212-0c81d613fbc8@app.fastmail.com>
Date: Mon, 03 Mar 2025 11:17:22 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Lukas Bulwahn" <lbulwahn@...hat.com>, "Lee Jones" <lee@...nel.org>,
linux-kernel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org,
"Lukas Bulwahn" <lukas.bulwahn@...hat.com>
Subject: Re: [PATCH] mfd: remove STA2x11 mfd driver
On Mon, Mar 3, 2025, at 11:00, Lukas Bulwahn wrote:
> From: Lukas Bulwahn <lukas.bulwahn@...hat.com>
>
> With commit dcbb01fbb7ae ("x86/pci: Remove old STA2x11 support"), the mfd
> driver for STA2x11 is not needed and cannot be built anymore.
>
> Remove the driver and its header file.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@...hat.com>
> ---
Acked-by: Arnd Bergmann <arnd@...db.de>
You probably also saw the bits in drivers/media and drivers/ata
for sta2x11. I have another list of drviers that are (probably)
be unused for some reason. I have some more arm platforms that
I want to remove, and was planning to go through all of them
once the board support is gone, but feel free to take that list
below as a starting point case you are in a mood for destruction ;-)
Most of the drivers below lack DT support and were only used in
board files that have since been removed. Note that the s3c64xx
platform is still around and may use some of them even though we
had previously planned to drop the platform by now.
Arnd
---
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 89aec08df739..8d2d429170e7 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -370,6 +370,7 @@ config RPR0521
config SENSORS_LM3533
tristate "LM3533 ambient light sensor"
depends on MFD_LM3533
+ depends on UNUSED
help
If you say yes here you get support for the ambient light sensor
interface on National Semiconductor / TI LM3533 Lighting Power
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 721ab69e84ac..1caca5d22500 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -30,6 +30,7 @@ config KEYBOARD_ADC
config KEYBOARD_ADP5520
tristate "Keypad Support for ADP5520 PMIC"
depends on PMIC_ADP5520
+ depends on UNUSED
help
This option enables support for the keypad scan matrix
on Analog Devices ADP5520 PMICs.
@@ -53,6 +54,7 @@ config KEYBOARD_ADP5588
config KEYBOARD_ADP5589
tristate "ADP5585/ADP5589 I2C QWERTY Keypad and IO Expander"
depends on I2C
+ depends on UNUSED
help
Say Y here if you want to use a ADP5585/ADP5589 attached to your
system I2C bus.
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index 13d135257e06..9e6693b41463 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -52,6 +52,7 @@ config INPUT_AB8500_PONKEY
config INPUT_AD714X
tristate "Analog Devices AD714x Capacitance Touch Sensor"
+ depends on UNUSED
help
Say Y here if you want to support an AD7142/3/7/8/7A touch sensor.
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 91a2b584dab1..c3319a644c25 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -46,6 +46,7 @@ config TOUCHSCREEN_ADS7846
config TOUCHSCREEN_AD7877
tristate "AD7877 based touchscreens"
depends on SPI_MASTER
+ depends on UNUSED
help
Say Y here if you have a touchscreen interface using the
AD7877 controller, and your board-specific initialization
diff --git a/drivers/media/pci/sta2x11/Kconfig b/drivers/media/pci/sta2x11/Kconfig
index 118b922c08c3..3153544c0600 100644
--- a/drivers/media/pci/sta2x11/Kconfig
+++ b/drivers/media/pci/sta2x11/Kconfig
@@ -3,6 +3,7 @@ config STA2X11_VIP
tristate "STA2X11 VIP Video For Linux"
depends on PCI && VIDEO_DEV && I2C
depends on STA2X11 || COMPILE_TEST
+ depends on UNUSED
select GPIOLIB if MEDIA_SUBDRV_AUTOSELECT
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
select VIDEOBUF2_DMA_CONTIG
diff --git a/drivers/media/platform/samsung/s3c-camif/Kconfig b/drivers/media/platform/samsung/s3c-camif/Kconfig
index f359f6382fff..0132b0f13dec 100644
--- a/drivers/media/platform/samsung/s3c-camif/Kconfig
+++ b/drivers/media/platform/samsung/s3c-camif/Kconfig
@@ -4,6 +4,7 @@ config VIDEO_S3C_CAMIF
depends on V4L_PLATFORM_DRIVERS
depends on VIDEO_DEV && I2C && PM
depends on ARCH_S3C64XX || COMPILE_TEST
+ depends on UNUSED
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG
diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index 72776d08046a..43551cebf5b2 100644
--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -144,6 +144,7 @@ config RADIO_TIMBERDALE
config RADIO_WL1273
tristate "Texas Instruments WL1273 I2C FM Radio"
depends on I2C
+ depends on UNUSED
select MFD_CORE
select MFD_WL1273_CORE
select FW_LOADER
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index d44c69bb3dfd..75eb2b3a64a6 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -117,6 +117,7 @@ config MFD_AS3722
config PMIC_ADP5520
bool "Analog Devices ADP5520/01 MFD PMIC Core Support"
depends on I2C=y
+ depends on UNUSED
help
Say yes here to add support for Analog Devices ADP5520 and ADP5501,
Multifunction Power Management IC. This includes
@@ -129,6 +130,7 @@ config MFD_AAT2870_CORE
select MFD_CORE
depends on I2C=y
depends on GPIOLIB || COMPILE_TEST
+ depends on UNUSED
help
If you say yes here you get support for the AAT2870.
This driver provides common support for accessing the device,
@@ -362,6 +364,7 @@ config MFD_CS47L92
config PMIC_DA903X
bool "Dialog Semiconductor DA9030/DA9034 PMIC Support"
depends on I2C=y
+ depends on UNUSED
help
Say yes here to add support for Dialog Semiconductor DA9030 (a.k.a
ARAVA) and DA9034 (a.k.a MICCO), these are Power Management IC
@@ -1069,6 +1072,7 @@ config MFD_OCELOT
config EZX_PCAP
bool "Motorola EZXPCAP Support"
depends on SPI_MASTER
+ depends on UNUSED
help
This enables the PCAP ASIC present on EZX Phones. This is
needed for MMC, TouchScreen, Sound, USB, etc..
@@ -1121,6 +1125,7 @@ config MFD_RETU
config MFD_PCF50633
tristate "NXP PCF50633"
+ depends on UNUSED
depends on I2C
select REGMAP_I2C
help
@@ -1245,6 +1250,7 @@ config MFD_RT5120
config MFD_RC5T583
bool "Ricoh RC5T583 Power Management system device"
depends on I2C=y
+ depends on UNUSED
select MFD_CORE
select REGMAP_I2C
help
@@ -1325,6 +1331,7 @@ config MFD_SEC_CORE
config MFD_SI476X_CORE
tristate "Silicon Laboratories 4761/64/68 AM/FM radio."
depends on I2C
+ depends on UNUSED
select MFD_CORE
select REGMAP_I2C
help
@@ -1498,6 +1505,7 @@ endmenu
config MFD_STA2X11
bool "STMicroelectronics STA2X11"
depends on STA2X11
+ depends on UNUSED
select MFD_CORE
select REGMAP_MMIO
@@ -1543,6 +1551,7 @@ config MFD_LP3943
config MFD_LP8788
bool "TI LP8788 Power Management Unit Driver"
depends on I2C=y
+ depends on UNUSED
select MFD_CORE
select REGMAP_I2C
select IRQ_DOMAIN
@@ -1868,6 +1877,7 @@ config MENELAUS
config MFD_WL1273_CORE
tristate "TI WL1273 FM radio"
depends on I2C
+ depends on UNUSED
select MFD_CORE
default n
help
@@ -1877,6 +1887,7 @@ config MFD_WL1273_CORE
config MFD_LM3533
tristate "TI/National Semiconductor LM3533 Lighting Power chip"
+ depends on UNUSED
depends on I2C
select MFD_CORE
select REGMAP_I2C
@@ -1995,6 +2006,7 @@ config MFD_WM8400
bool "Wolfson Microelectronics WM8400"
select MFD_CORE
depends on I2C=y
+ depends on UNUSED
select REGMAP_I2C
help
Support for the Wolfson Microelecronics WM8400 PMIC and audio
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 4d71a76ac82e..6e698549e2dc 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -362,6 +362,7 @@ config SENSORS_TSL2550
config SENSORS_BH1770
tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
depends on I2C
+ depends on UNUSED
help
Say Y here if you want to build a driver for BH1770GLC (ROHM) or
SFH7770 (Osram) combined ambient light and proximity sensor chip.
@@ -372,6 +373,7 @@ config SENSORS_BH1770
config SENSORS_APDS990X
tristate "APDS990X combined als and proximity sensors"
depends on I2C
+ depends on UNUSED
help
Say Y here if you want to build a driver for Avago APDS990x
combined ambient light and proximity sensor chip.
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 977b42bc1e8c..72eecd075bfd 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -107,6 +107,7 @@ config KORINA
config LANTIQ_ETOP
tristate "Lantiq SoC ETOP driver"
depends on SOC_TYPE_XWAY
+ depends on UNUSED
help
Support for the MII0 inside the Lantiq SoC
diff --git a/drivers/net/ethernet/wiznet/Kconfig b/drivers/net/ethernet/wiznet/Kconfig
index 4bac2ad2d6a1..1f7a7edfa0b9 100644
--- a/drivers/net/ethernet/wiznet/Kconfig
+++ b/drivers/net/ethernet/wiznet/Kconfig
@@ -33,6 +33,7 @@ config WIZNET_W5100
config WIZNET_W5300
tristate "WIZnet W5300 Ethernet support"
depends on HAS_IOMEM
+ depends on UNUSED
help
Support for WIZnet W5300 chips.
diff --git a/drivers/net/wireless/marvell/libertas/Kconfig b/drivers/net/wireless/marvell/libertas/Kconfig
index caf8bc231b2e..d232ecaee9d2 100644
--- a/drivers/net/wireless/marvell/libertas/Kconfig
+++ b/drivers/net/wireless/marvell/libertas/Kconfig
@@ -22,6 +22,7 @@ config LIBERTAS_SDIO
config LIBERTAS_SPI
tristate "Marvell Libertas 8686 SPI 802.11b/g cards"
depends on LIBERTAS && SPI
+ depends on UNUSED
help
A driver for Marvell Libertas 8686 SPI devices.
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 7b18358f194a..73126f1f4f97 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -299,6 +299,7 @@ config BATTERY_BQ27XXX_DT_UPDATES_NVM
config BATTERY_DA9030
tristate "DA9030 battery driver"
+ depends on UNUSED
depends on PMIC_DA903X
help
Say Y here to enable support for batteries charger integrated into
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 39297f7d8177..f5cf30172a54 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -499,6 +499,7 @@ config REGULATOR_LOCHNAGAR
config REGULATOR_LP3971
tristate "National Semiconductors LP3971 PMIC regulator driver"
+ depends on UNUSED
depends on I2C
help
Say Y here to support the voltage regulators and convertors
@@ -506,6 +507,7 @@ config REGULATOR_LP3971
config REGULATOR_LP3972
tristate "National Semiconductors LP3972 PMIC regulator driver"
+ depends on UNUSED
depends on I2C
help
Say Y here to support the voltage regulators and convertors
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index f496ab127ef0..da7d8d626366 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -1280,6 +1280,7 @@ config SPI_LOOPBACK_TEST
config SPI_TLE62X0
tristate "Infineon TLE62X0 (for power switching)"
depends on SYSFS
+ depends on UNUSED
help
SPI driver for Infineon TLE62X0 series line driver chips,
such as the TLE6220, TLE6230 and TLE6240. This provides a
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 79a8186d3361..bb4affd536ca 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -313,6 +313,7 @@ config SERIAL_TEGRA_UTC_CONSOLE
config SERIAL_MAX3100
tristate "MAX3100/3110/3111/3222 support"
depends on SPI
+ depends on UNUSED
select SERIAL_CORE
help
This selects support for an advanced UART from Maxim.
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
index aae1787320d4..f25011cc61c0 100644
--- a/drivers/usb/gadget/udc/Kconfig
+++ b/drivers/usb/gadget/udc/Kconfig
@@ -231,6 +231,7 @@ config USB_PXA27X
config USB_MV_UDC
tristate "Marvell USB2.0 Device Controller"
depends on HAS_DMA
+ depends on UNUSED
help
Marvell Socs (including PXA and MMP series) include a high speed
USB2.0 OTG controller, which can be configured as high speed or
@@ -239,6 +240,7 @@ config USB_MV_UDC
config USB_MV_U3D
depends on HAS_DMA
tristate "MARVELL PXA2128 USB 3.0 controller"
+ depends on UNUSED
help
MARVELL PXA2128 Processor series include a super speed USB3.0 device
controller, which support super speed USB peripheral.
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index d011d6c753ed..5f0deb409f94 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -377,7 +377,7 @@ config USB_ISP116X_HCD
config USB_ISP1362_HCD
tristate "ISP1362 HCD support"
depends on HAS_IOPORT
- depends on COMPILE_TEST # nothing uses this
+ depends on UNUSED # nothing uses this
help
Supports the Philips ISP1362 chip as a host controller
@@ -625,6 +625,7 @@ config FHCI_DEBUG
config USB_SL811_HCD
tristate "SL811HS HCD support"
depends on HAS_IOMEM
+ depends on UNUSED
help
The SL811HS is a single-port USB controller that supports either
host side or peripheral side roles. Enable this option if your
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 5f629d7cad64..efa798b2d56e 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -130,6 +130,7 @@ config USB_MV_OTG
tristate "Marvell USB OTG support"
depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
+ depends on UNUSED
select USB_PHY
help
Say Y here if you want to build Marvell USB OTG transceiver
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index aa681266c68f..3869c98185cb 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -1464,6 +1464,7 @@ config FB_PXA168
tristate "PXA168/910 LCD framebuffer support"
depends on FB && HAVE_CLK && HAS_IOMEM
depends on CPU_PXA168 || CPU_PXA910 || COMPILE_TEST
+ depends on UNUSED
select FB_IOMEM_HELPERS
help
Frame buffer driver for the built-in LCD controller in the Marvell
diff --git a/drivers/video/fbdev/mmp/fb/Kconfig b/drivers/video/fbdev/mmp/fb/Kconfig
index b13882b34e79..11442169f049 100644
--- a/drivers/video/fbdev/mmp/fb/Kconfig
+++ b/drivers/video/fbdev/mmp/fb/Kconfig
@@ -2,6 +2,7 @@
config MMP_FB
tristate "fb driver for Marvell MMP Display Subsystem"
depends on FB
+ depends on UNUSED
select FB_IOMEM_HELPERS
default y
help
diff --git a/sound/spi/Kconfig b/sound/spi/Kconfig
index f407c37c37fa..e93a1abfd7bd 100644
--- a/sound/spi/Kconfig
+++ b/sound/spi/Kconfig
@@ -13,6 +13,7 @@ if SND_SPI
config SND_AT73C213
tristate "Atmel AT73C213 DAC driver"
depends on ATMEL_SSC
+ depends on UNUSED
select SND_PCM
help
Say Y here if you want to use the Atmel AT73C213 external DAC. This
Powered by blists - more mailing lists