Skip to contentSkip to conversation

mfd: remove unused aat2870 driver

PATCH Svyatoslav Ryhel 5 participants 12 messages Sep 10 – Nov 11

Subsystems (12)
lore
Share & tools
lore
#0 lore raw

Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

#1 lore raw
Quoted 5 lines · Svyatoslav Ryhel

__
Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

Sure, I have removed this patch from my series now.

Quoted 3 lines

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

Please have a look at

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Arnd

drivers/ata/pata_icside.c drivers/ata/pata_pxa.c
drivers/char/ds1620.c drivers/char/hw_random/mxc-rnga.c drivers/char/nwbutton.c
drivers/char/nwbutton.h
drivers/char/nwflash.c drivers/clk/clk-axm5516.c drivers/clk/clk-stm32f4.c drivers/clk/clk-stm32h7.c drivers/clk/imx/clk-imx31.c drivers/clk/imx/clk-imxrt1050.c drivers/clk/nxp/clk-lpc18xx-ccu.c drivers/clk/nxp/clk-lpc18xx-cgu.c drivers/clk/nxp/clk-lpc18xx-creg.c drivers/clk/ti/clk-2xxx.c drivers/clocksource/armv7m_systick.c drivers/clocksource/mps2-timer.c drivers/cpufreq/sa1110-cpufreq.c drivers/dma/lpc18xx-dmamux.c drivers/dma/sa11x0-dma.c drivers/gpio/gpio-adp5520.c drivers/gpio/gpio-htc-egpio.c drivers/gpio/gpio-lpc18xx.c drivers/gpio/gpio-rc5t583.c drivers/gpio/gpio-rdc321x.c drivers/gpio/gpio-reg.c drivers/gpio/gpio-sa1100.c drivers/gpio/gpio-wm8350.c drivers/hwmon/ds620.c
drivers/hwmon/f75375s.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c drivers/hwmon/wm8350-hwmon.c drivers/i2c/busses/i2c-acorn.c drivers/i2c/busses/i2c-axxia.c drivers/i2c/busses/i2c-lpc2k.c drivers/i2c/busses/i2c-stm32f4.c drivers/iio/adc/ad7266.c drivers/iio/adc/ad7791.c drivers/iio/adc/ad7793.c drivers/iio/adc/ad7887.c drivers/iio/adc/lp8788_adc.c drivers/iio/adc/lpc18xx_adc.c drivers/iio/dac/lpc18xx_dac.c drivers/iio/frequency/ad9523.c drivers/input/joystick/as5011.c drivers/input/keyboard/adp5520-keys.c drivers/input/keyboard/ipaq-micro-keys.c drivers/input/keyboard/jornada720_kbd.c drivers/input/keyboard/lm8323.c drivers/input/keyboard/lm8333.c drivers/input/keyboard/locomokbd.c drivers/input/misc/88pm80x_onkey.c drivers/input/misc/ad714x-i2c.c drivers/input/misc/ad714x-spi.c drivers/input/misc/ad714x.c drivers/input/misc/ad714x.h drivers/input/misc/adxl34x-i2c.c drivers/input/misc/adxl34x-spi.c drivers/input/misc/adxl34x.c drivers/input/misc/adxl34x.h drivers/input/misc/bma150.c drivers/input/misc/cma3000_d0x.c drivers/input/misc/cma3000_d0x.h drivers/input/misc/cma3000_d0x_i2c.c drivers/input/misc/kxtj9.c drivers/input/misc/max8997_haptic.c drivers/input/misc/mc13783-pwrbutton.c drivers/input/mouse/rpcmouse.c drivers/input/serio/rpckbd.c drivers/input/serio/sa1111ps2.c drivers/input/touchscreen/ad7877.c drivers/input/touchscreen/da9034-ts.c drivers/input/touchscreen/ipaq-micro-ts.c drivers/input/touchscreen/jornada720_ts.c drivers/input/touchscreen/mc13783_ts.c drivers/input/touchscreen/tps6507x-ts.c drivers/irqchip/irq-nvic.c drivers/irqchip/irq-sa11x0.c drivers/irqchip/irq-stm32-exti.c drivers/leds/leds-adp5520.c drivers/leds/leds-bd2802.c drivers/leds/leds-da903x.c drivers/leds/leds-ipaq-micro.c drivers/leds/leds-lm3530.c drivers/leds/leds-lm3532.c drivers/leds/leds-lm355x.c drivers/leds/leds-lm3642.c drivers/leds/leds-locomo.c drivers/leds/leds-lp3944.c drivers/leds/leds-lp8788.c drivers/leds/leds-wm8350.c drivers/media/i2c/ths7303.c drivers/media/platform/samsung/s3c-camif/Kconfig drivers/media/platform/samsung/s3c-camif/Makefile drivers/media/platform/samsung/s3c-camif/camif-capture.c drivers/media/platform/samsung/s3c-camif/camif-core.c drivers/media/platform/samsung/s3c-camif/camif-core.h drivers/media/platform/samsung/s3c-camif/camif-regs.c drivers/media/platform/samsung/s3c-camif/camif-regs.h drivers/media/platform/st/stm32/dma2d/dma2d-hw.c drivers/media/platform/st/stm32/dma2d/dma2d-regs.h drivers/media/platform/st/stm32/dma2d/dma2d.c drivers/media/platform/st/stm32/dma2d/dma2d.h drivers/media/radio/radio-si476x.c drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
drivers/mfd/88pm80x.c
drivers/mfd/adp5520.c
drivers/mfd/da903x.c
drivers/mfd/ipaq-micro.c drivers/mfd/lp8788-irq.c
drivers/mfd/lp8788.c
drivers/mfd/mcp-core.c
drivers/mfd/mcp-sa11x0.c
drivers/mfd/menelaus.c drivers/mfd/rc5t583-irq.c
drivers/mfd/rc5t583.c drivers/mfd/rdc321x-southbridge.c drivers/mfd/si476x-cmd.c drivers/mfd/si476x-i2c.c drivers/mfd/si476x-prop.c drivers/mfd/ucb1x00-assabet.c drivers/mfd/ucb1x00-core.c drivers/mfd/ucb1x00-ts.c drivers/mfd/wm8350-core.c drivers/mfd/wm8350-gpio.c drivers/mfd/wm8350-i2c.c drivers/mfd/wm8350-irq.c drivers/mfd/wm8350-regmap.c drivers/mfd/wm8400-core.c drivers/misc/bh1770glc.c drivers/mtd/maps/dc21285.c drivers/mtd/maps/pxa2xx-flash.c drivers/mtd/maps/sa1100-flash.c drivers/mtd/nand/raw/sharpsl.c drivers/mtd/parsers/sharpslpart.c drivers/mtd/spi-nor/controllers/Kconfig drivers/mtd/spi-nor/controllers/Makefile drivers/mtd/spi-nor/controllers/hisi-sfc.c drivers/mtd/spi-nor/controllers/nxp-spifi.c drivers/net/can/bxcan.c drivers/net/ethernet/8390/etherh.c drivers/net/ethernet/i825xx/ether1.c drivers/net/ethernet/i825xx/ether1.h drivers/net/ethernet/lantiq_etop.c drivers/net/ethernet/samsung/Kconfig drivers/net/ethernet/samsung/Makefile drivers/net/ethernet/samsung/sxgbe/Makefile drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h drivers/net/ethernet/seeq/ether3.c drivers/net/ethernet/seeq/ether3.h drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c drivers/net/wireless/marvell/libertas/if_spi.c drivers/net/wireless/marvell/libertas/if_spi.h drivers/net/wireless/st/Kconfig drivers/net/wireless/st/Makefile drivers/net/wireless/st/cw1200/Kconfig drivers/net/wireless/st/cw1200/Makefile drivers/net/wireless/st/cw1200/bh.c drivers/net/wireless/st/cw1200/bh.h drivers/net/wireless/st/cw1200/cw1200.h drivers/net/wireless/st/cw1200/cw1200_sdio.c drivers/net/wireless/st/cw1200/cw1200_spi.c drivers/net/wireless/st/cw1200/debug.c drivers/net/wireless/st/cw1200/debug.h drivers/net/wireless/st/cw1200/fwio.c drivers/net/wireless/st/cw1200/fwio.h drivers/net/wireless/st/cw1200/hwbus.h drivers/net/wireless/st/cw1200/hwio.c drivers/net/wireless/st/cw1200/hwio.h drivers/net/wireless/st/cw1200/main.c drivers/net/wireless/st/cw1200/pm.c drivers/net/wireless/st/cw1200/pm.h drivers/net/wireless/st/cw1200/queue.c drivers/net/wireless/st/cw1200/queue.h drivers/net/wireless/st/cw1200/scan.c drivers/net/wireless/st/cw1200/scan.h drivers/net/wireless/st/cw1200/sta.c drivers/net/wireless/st/cw1200/sta.h drivers/net/wireless/st/cw1200/txrx.c drivers/net/wireless/st/cw1200/txrx.h drivers/net/wireless/st/cw1200/wsm.c drivers/net/wireless/st/cw1200/wsm.h drivers/nvmem/lpc18xx_eeprom.c drivers/nvmem/lpc18xx_otp.c drivers/pcmcia/max1600.c drivers/pcmcia/max1600.h drivers/pcmcia/pxa2xx_base.c drivers/pcmcia/pxa2xx_base.h drivers/pcmcia/pxa2xx_sharpsl.c drivers/pcmcia/sa1100_generic.c drivers/pcmcia/sa1100_generic.h drivers/pcmcia/sa1100_h3600.c drivers/pcmcia/sa1111_generic.c drivers/pcmcia/sa1111_generic.h drivers/pcmcia/sa1111_jornada720.c drivers/pcmcia/sa1111_neponset.c drivers/pcmcia/sa11xx_base.c drivers/pcmcia/sa11xx_base.h drivers/pcmcia/soc_common.c drivers/pcmcia/soc_common.h drivers/phy/phy-lpc18xx-usb-otg.c drivers/pinctrl/freescale/pinctrl-imxrt1050.c drivers/pinctrl/freescale/pinctrl-imxrt1170.c drivers/pinctrl/pinctrl-lpc18xx.c drivers/pinctrl/stm32/pinctrl-stm32f429.c drivers/pinctrl/stm32/pinctrl-stm32f469.c drivers/pinctrl/stm32/pinctrl-stm32f746.c drivers/pinctrl/stm32/pinctrl-stm32f769.c drivers/pinctrl/stm32/pinctrl-stm32h743.c drivers/power/reset/axxia-reset.c drivers/power/supply/collie_battery.c drivers/power/supply/da9030_battery.c drivers/power/supply/ipaq_micro_battery.c drivers/power/supply/lp8788-charger.c drivers/power/supply/twl4030_madc_battery.c drivers/power/supply/wm8350_power.c drivers/pwm/pwm-lpc18xx-sct.c drivers/regulator/88pm800-regulator.c drivers/regulator/da903x-regulator.c drivers/regulator/lp3971.c drivers/regulator/lp3972.c drivers/regulator/lp8788-buck.c drivers/regulator/lp8788-ldo.c drivers/regulator/max8649.c drivers/regulator/rc5t583-regulator.c drivers/regulator/wm8350-regulator.c drivers/regulator/wm8400-regulator.c drivers/reset/reset-lpc18xx.c drivers/rtc/rtc-88pm80x.c drivers/rtc/rtc-lp8788.c drivers/rtc/rtc-lpc24xx.c drivers/rtc/rtc-rc5t583.c drivers/rtc/rtc-wm8350.c drivers/scsi/arm/Kconfig drivers/scsi/arm/Makefile drivers/scsi/arm/acornscsi-io.S drivers/scsi/arm/acornscsi.c drivers/scsi/arm/acornscsi.h drivers/scsi/arm/arm_scsi.h drivers/scsi/arm/arxescsi.c drivers/scsi/arm/cumana_1.c drivers/scsi/arm/cumana_2.c drivers/scsi/arm/eesox.c drivers/scsi/arm/fas216.c drivers/scsi/arm/fas216.h drivers/scsi/arm/msgqueue.c drivers/scsi/arm/msgqueue.h drivers/scsi/arm/oak.c drivers/scsi/arm/powertec.c drivers/scsi/arm/queue.c drivers/scsi/arm/queue.h drivers/spi/spi-tle62x0.c drivers/tty/serial/21285.c drivers/tty/serial/8250/8250_acorn.c drivers/tty/serial/8250/8250_lpc18xx.c drivers/tty/serial/mps2-uart.c drivers/tty/serial/sa1100.c drivers/usb/host/ohci-sa1111.c drivers/usb/host/sl811-hcd.c drivers/usb/host/sl811.h drivers/usb/host/sl811_cs.c drivers/usb/musb/tusb6010.c drivers/usb/musb/tusb6010.h drivers/usb/musb/tusb6010_omap.c drivers/usb/phy/phy-mv-usb.h drivers/video/backlight/adp5520_bl.c drivers/video/backlight/adp8860_bl.c drivers/video/backlight/adp8870_bl.c drivers/video/backlight/ams369fg06.c drivers/video/backlight/bd6107.c drivers/video/backlight/corgi_lcd.c drivers/video/backlight/da903x_bl.c drivers/video/backlight/ep93xx_bl.c drivers/video/backlight/ipaq_micro_bl.c drivers/video/backlight/jornada720_bl.c drivers/video/backlight/jornada720_lcd.c drivers/video/backlight/lm3639_bl.c drivers/video/backlight/lms501kf03.c drivers/video/backlight/locomolcd.c drivers/video/backlight/lp8788_bl.c drivers/video/backlight/tdo24m.c drivers/video/fbdev/acornfb.c drivers/video/fbdev/acornfb.h drivers/video/fbdev/arcfb.c drivers/video/fbdev/broadsheetfb.c drivers/video/fbdev/core/fb_notify.c drivers/video/fbdev/ep93xx-fb.c drivers/video/fbdev/hecubafb.c drivers/video/fbdev/metronomefb.c drivers/video/fbdev/mmp/Kconfig drivers/video/fbdev/mmp/Makefile drivers/video/fbdev/mmp/core.c drivers/video/fbdev/mmp/fb/Kconfig drivers/video/fbdev/mmp/fb/Makefile drivers/video/fbdev/mmp/fb/mmpfb.c drivers/video/fbdev/mmp/fb/mmpfb.h drivers/video/fbdev/mmp/hw/Kconfig drivers/video/fbdev/mmp/hw/Makefile drivers/video/fbdev/mmp/hw/mmp_ctrl.c drivers/video/fbdev/mmp/hw/mmp_ctrl.h drivers/video/fbdev/mmp/hw/mmp_spi.c drivers/video/fbdev/mmp/panel/Kconfig drivers/video/fbdev/mmp/panel/Makefile drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c drivers/video/fbdev/n411.c drivers/video/fbdev/pxa168fb.c drivers/video/fbdev/pxa168fb.h drivers/video/fbdev/s1d13xxxfb.c drivers/video/fbdev/sa1100fb.c drivers/video/fbdev/sa1100fb.h drivers/watchdog/lpc18xx_wdt.c drivers/watchdog/rdc321x_wdt.c drivers/watchdog/wdt285.c drivers/watchdog/wdt977.c drivers/watchdog/wm8350_wdt.c sound/soc/codecs/si476x.c sound/soc/codecs/wm8350.c sound/soc/codecs/wm8350.h sound/soc/codecs/wm8400.c sound/soc/codecs/wm8400.h sound/soc/pxa/pxa2xx-i2s.c sound/soc/pxa/pxa2xx-i2s.h sound/soc/pxa/spitz.c
sound/soc/ti/n810.c
sound/spi/Kconfig
sound/spi/Makefile
sound/spi/at73c213.c
sound/spi/at73c213.h

maintainer
#2 lore raw
Quoted 24 lines · Arnd Bergmann
Quoted 5 lines · Svyatoslav Ryhel

__
Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

Sure, I have removed this patch from my series now.

Quoted 3 lines

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

Please have a look at

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Arnd

...

Quoted 4 lines

drivers/hwmon/ds620.c
drivers/hwmon/f75375s.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c

I missed the rationale for removing those, but then I don't really mind either. I guess we'll hear if someone still uses any of those drivers/chips.

Guenter

#3 lore raw
Quoted 10 lines · Guenter Roeck
Quoted 1 line

...

Quoted 4 lines

drivers/hwmon/ds620.c
drivers/hwmon/f75375s.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c

I missed the rationale for removing those, but then I don't really mind either. I guess we'll hear if someone still uses any of those drivers/chips.

None of these have devicetree support, and they are not usable with any of the remaining board files.

From what I found:

- da620 apparently never had any users upstream, though it does not require platform data and is theoretically usable with an external dtb
- f75375s was only used on iop32x (long gone)
- max197 was used on x86/elan/ts5500, which is still in the tree but cannot be enabled anymore because it is a 486 class SoC. I have sent a separate patch to remove that platform
- max1111 was used on spitz, which is on its way out for 7.4.

I'm not sure when I'll get around to send the patches.

Arnd

maintainer
#4 lore raw
Quoted 17 lines · Arnd Bergmann
Quoted 10 lines · Guenter Roeck
Quoted 1 line

...

Quoted 4 lines

drivers/hwmon/ds620.c
drivers/hwmon/f75375s.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c

I missed the rationale for removing those, but then I don't really mind either. I guess we'll hear if someone still uses any of those drivers/chips.

None of these have devicetree support, and they are not usable with any of the remaining board files.

From what I found:

Quoted 9 lines

- da620 apparently never had any users upstream, though it does not require platform data and is theoretically usable with an external dtb
- f75375s was only used on iop32x (long gone)
- max197 was used on x86/elan/ts5500, which is still in the tree but cannot be enabled anymore because it is a 486 class SoC. I have sent a separate patch to remove that platform
- max1111 was used on spitz, which is on its way out for 7.4.

As I said, I don't have any issues with removing them. Note though that the ds620 driver (like many other hwmon drivers) does not require devicetree or platform data to work just fine.

Thanks,
Guenter

#5 lore raw
In reply to Arnd Bergmann

чт, 10 вер. 2026 р. о 21:15 Arnd Bergmann <[email protected]> пише:

Quoted 10 lines · Svyatoslav Ryhel
Quoted 5 lines

__
Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

Sure, I have removed this patch from my series now.

Thank you!

Quoted 8 lines
Quoted 3 lines

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

Please have a look at

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3

Thanks, I will keep my eye on this branch.

Quoted 86 lines

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Arnd

drivers/ata/pata_icside.c
drivers/ata/pata_pxa.c
drivers/char/ds1620.c
drivers/char/hw_random/mxc-rnga.c
drivers/char/nwbutton.c
drivers/char/nwbutton.h
drivers/char/nwflash.c
drivers/clk/clk-axm5516.c
drivers/clk/clk-stm32f4.c
drivers/clk/clk-stm32h7.c
drivers/clk/imx/clk-imx31.c
drivers/clk/imx/clk-imxrt1050.c
drivers/clk/nxp/clk-lpc18xx-ccu.c
drivers/clk/nxp/clk-lpc18xx-cgu.c
drivers/clk/nxp/clk-lpc18xx-creg.c
drivers/clk/ti/clk-2xxx.c
drivers/clocksource/armv7m_systick.c
drivers/clocksource/mps2-timer.c
drivers/cpufreq/sa1110-cpufreq.c
drivers/dma/lpc18xx-dmamux.c
drivers/dma/sa11x0-dma.c
drivers/gpio/gpio-adp5520.c
drivers/gpio/gpio-htc-egpio.c
drivers/gpio/gpio-lpc18xx.c
drivers/gpio/gpio-rc5t583.c
drivers/gpio/gpio-rdc321x.c
drivers/gpio/gpio-reg.c
drivers/gpio/gpio-sa1100.c
drivers/gpio/gpio-wm8350.c
drivers/hwmon/ds620.c
drivers/hwmon/f75375s.c
drivers/hwmon/max1111.c
drivers/hwmon/max197.c
drivers/hwmon/wm8350-hwmon.c
drivers/i2c/busses/i2c-acorn.c
drivers/i2c/busses/i2c-axxia.c
drivers/i2c/busses/i2c-lpc2k.c
drivers/i2c/busses/i2c-stm32f4.c
drivers/iio/adc/ad7266.c
drivers/iio/adc/ad7791.c
drivers/iio/adc/ad7793.c
drivers/iio/adc/ad7887.c
drivers/iio/adc/lp8788_adc.c
drivers/iio/adc/lpc18xx_adc.c
drivers/iio/dac/lpc18xx_dac.c
drivers/iio/frequency/ad9523.c
drivers/input/joystick/as5011.c
drivers/input/keyboard/adp5520-keys.c
drivers/input/keyboard/ipaq-micro-keys.c
drivers/input/keyboard/jornada720_kbd.c
drivers/input/keyboard/lm8323.c
drivers/input/keyboard/lm8333.c
drivers/input/keyboard/locomokbd.c
drivers/input/misc/88pm80x_onkey.c
drivers/input/misc/ad714x-i2c.c
drivers/input/misc/ad714x-spi.c
drivers/input/misc/ad714x.c
drivers/input/misc/ad714x.h
drivers/input/misc/adxl34x-i2c.c
drivers/input/misc/adxl34x-spi.c
drivers/input/misc/adxl34x.c
drivers/input/misc/adxl34x.h
drivers/input/misc/bma150.c
drivers/input/misc/cma3000_d0x.c
drivers/input/misc/cma3000_d0x.h
drivers/input/misc/cma3000_d0x_i2c.c
drivers/input/misc/kxtj9.c
drivers/input/misc/max8997_haptic.c
drivers/input/misc/mc13783-pwrbutton.c
drivers/input/mouse/rpcmouse.c
drivers/input/serio/rpckbd.c
drivers/input/serio/sa1111ps2.c
drivers/input/touchscreen/ad7877.c
drivers/input/touchscreen/da9034-ts.c
drivers/input/touchscreen/ipaq-micro-ts.c
drivers/input/touchscreen/jornada720_ts.c
drivers/input/touchscreen/mc13783_ts.c
drivers/input/touchscreen/tps6507x-ts.c
drivers/irqchip/irq-nvic.c

Quoted 8 lines

drivers/irqchip/irq-sa11x0.c
drivers/irqchip/irq-stm32-exti.c
drivers/leds/leds-adp5520.c
drivers/leds/leds-bd2802.c
drivers/leds/leds-da903x.c
drivers/leds/leds-ipaq-micro.c
drivers/leds/leds-lm3530.c
drivers/leds/leds-lm3532.c

LM3532 has full OF support and is functional, it just does not have device tree users yet. I have a device using it - Motorola Atrix 4G (Tegra 2 based).

Here is commit removing LM3532
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=46a6457870825d8b782d350fdc7e27c540734d41
Here are my patches bringing up Motorola Atrix 4G support
https://lore.kernel.org/lkml/[email protected]/

Quoted 248 lines

drivers/leds/leds-lm355x.c drivers/leds/leds-lm3642.c drivers/leds/leds-locomo.c drivers/leds/leds-lp3944.c drivers/leds/leds-lp8788.c drivers/leds/leds-wm8350.c drivers/media/i2c/ths7303.c drivers/media/platform/samsung/s3c-camif/Kconfig drivers/media/platform/samsung/s3c-camif/Makefile drivers/media/platform/samsung/s3c-camif/camif-capture.c drivers/media/platform/samsung/s3c-camif/camif-core.c drivers/media/platform/samsung/s3c-camif/camif-core.h drivers/media/platform/samsung/s3c-camif/camif-regs.c drivers/media/platform/samsung/s3c-camif/camif-regs.h drivers/media/platform/st/stm32/dma2d/dma2d-hw.c drivers/media/platform/st/stm32/dma2d/dma2d-regs.h drivers/media/platform/st/stm32/dma2d/dma2d.c drivers/media/platform/st/stm32/dma2d/dma2d.h drivers/media/radio/radio-si476x.c drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
drivers/mfd/88pm80x.c
drivers/mfd/adp5520.c
drivers/mfd/da903x.c
drivers/mfd/ipaq-micro.c drivers/mfd/lp8788-irq.c
drivers/mfd/lp8788.c
drivers/mfd/mcp-core.c
drivers/mfd/mcp-sa11x0.c
drivers/mfd/menelaus.c drivers/mfd/rc5t583-irq.c
drivers/mfd/rc5t583.c drivers/mfd/rdc321x-southbridge.c drivers/mfd/si476x-cmd.c drivers/mfd/si476x-i2c.c drivers/mfd/si476x-prop.c drivers/mfd/ucb1x00-assabet.c drivers/mfd/ucb1x00-core.c drivers/mfd/ucb1x00-ts.c drivers/mfd/wm8350-core.c drivers/mfd/wm8350-gpio.c drivers/mfd/wm8350-i2c.c drivers/mfd/wm8350-irq.c drivers/mfd/wm8350-regmap.c drivers/mfd/wm8400-core.c drivers/misc/bh1770glc.c drivers/mtd/maps/dc21285.c drivers/mtd/maps/pxa2xx-flash.c drivers/mtd/maps/sa1100-flash.c drivers/mtd/nand/raw/sharpsl.c drivers/mtd/parsers/sharpslpart.c drivers/mtd/spi-nor/controllers/Kconfig drivers/mtd/spi-nor/controllers/Makefile drivers/mtd/spi-nor/controllers/hisi-sfc.c drivers/mtd/spi-nor/controllers/nxp-spifi.c drivers/net/can/bxcan.c drivers/net/ethernet/8390/etherh.c drivers/net/ethernet/i825xx/ether1.c drivers/net/ethernet/i825xx/ether1.h drivers/net/ethernet/lantiq_etop.c drivers/net/ethernet/samsung/Kconfig drivers/net/ethernet/samsung/Makefile drivers/net/ethernet/samsung/sxgbe/Makefile drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h drivers/net/ethernet/seeq/ether3.c drivers/net/ethernet/seeq/ether3.h drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c drivers/net/wireless/marvell/libertas/if_spi.c drivers/net/wireless/marvell/libertas/if_spi.h drivers/net/wireless/st/Kconfig drivers/net/wireless/st/Makefile drivers/net/wireless/st/cw1200/Kconfig drivers/net/wireless/st/cw1200/Makefile drivers/net/wireless/st/cw1200/bh.c drivers/net/wireless/st/cw1200/bh.h drivers/net/wireless/st/cw1200/cw1200.h drivers/net/wireless/st/cw1200/cw1200_sdio.c drivers/net/wireless/st/cw1200/cw1200_spi.c drivers/net/wireless/st/cw1200/debug.c drivers/net/wireless/st/cw1200/debug.h drivers/net/wireless/st/cw1200/fwio.c drivers/net/wireless/st/cw1200/fwio.h drivers/net/wireless/st/cw1200/hwbus.h drivers/net/wireless/st/cw1200/hwio.c drivers/net/wireless/st/cw1200/hwio.h drivers/net/wireless/st/cw1200/main.c drivers/net/wireless/st/cw1200/pm.c drivers/net/wireless/st/cw1200/pm.h drivers/net/wireless/st/cw1200/queue.c drivers/net/wireless/st/cw1200/queue.h drivers/net/wireless/st/cw1200/scan.c drivers/net/wireless/st/cw1200/scan.h drivers/net/wireless/st/cw1200/sta.c drivers/net/wireless/st/cw1200/sta.h drivers/net/wireless/st/cw1200/txrx.c drivers/net/wireless/st/cw1200/txrx.h drivers/net/wireless/st/cw1200/wsm.c drivers/net/wireless/st/cw1200/wsm.h drivers/nvmem/lpc18xx_eeprom.c drivers/nvmem/lpc18xx_otp.c drivers/pcmcia/max1600.c drivers/pcmcia/max1600.h drivers/pcmcia/pxa2xx_base.c drivers/pcmcia/pxa2xx_base.h drivers/pcmcia/pxa2xx_sharpsl.c drivers/pcmcia/sa1100_generic.c drivers/pcmcia/sa1100_generic.h drivers/pcmcia/sa1100_h3600.c drivers/pcmcia/sa1111_generic.c drivers/pcmcia/sa1111_generic.h drivers/pcmcia/sa1111_jornada720.c drivers/pcmcia/sa1111_neponset.c drivers/pcmcia/sa11xx_base.c drivers/pcmcia/sa11xx_base.h drivers/pcmcia/soc_common.c drivers/pcmcia/soc_common.h drivers/phy/phy-lpc18xx-usb-otg.c drivers/pinctrl/freescale/pinctrl-imxrt1050.c drivers/pinctrl/freescale/pinctrl-imxrt1170.c drivers/pinctrl/pinctrl-lpc18xx.c drivers/pinctrl/stm32/pinctrl-stm32f429.c drivers/pinctrl/stm32/pinctrl-stm32f469.c drivers/pinctrl/stm32/pinctrl-stm32f746.c drivers/pinctrl/stm32/pinctrl-stm32f769.c drivers/pinctrl/stm32/pinctrl-stm32h743.c drivers/power/reset/axxia-reset.c drivers/power/supply/collie_battery.c drivers/power/supply/da9030_battery.c drivers/power/supply/ipaq_micro_battery.c drivers/power/supply/lp8788-charger.c drivers/power/supply/twl4030_madc_battery.c drivers/power/supply/wm8350_power.c drivers/pwm/pwm-lpc18xx-sct.c drivers/regulator/88pm800-regulator.c drivers/regulator/da903x-regulator.c drivers/regulator/lp3971.c drivers/regulator/lp3972.c drivers/regulator/lp8788-buck.c drivers/regulator/lp8788-ldo.c drivers/regulator/max8649.c drivers/regulator/rc5t583-regulator.c drivers/regulator/wm8350-regulator.c drivers/regulator/wm8400-regulator.c drivers/reset/reset-lpc18xx.c drivers/rtc/rtc-88pm80x.c drivers/rtc/rtc-lp8788.c drivers/rtc/rtc-lpc24xx.c drivers/rtc/rtc-rc5t583.c drivers/rtc/rtc-wm8350.c drivers/scsi/arm/Kconfig drivers/scsi/arm/Makefile drivers/scsi/arm/acornscsi-io.S drivers/scsi/arm/acornscsi.c drivers/scsi/arm/acornscsi.h drivers/scsi/arm/arm_scsi.h drivers/scsi/arm/arxescsi.c drivers/scsi/arm/cumana_1.c drivers/scsi/arm/cumana_2.c drivers/scsi/arm/eesox.c drivers/scsi/arm/fas216.c drivers/scsi/arm/fas216.h drivers/scsi/arm/msgqueue.c drivers/scsi/arm/msgqueue.h drivers/scsi/arm/oak.c drivers/scsi/arm/powertec.c drivers/scsi/arm/queue.c drivers/scsi/arm/queue.h drivers/spi/spi-tle62x0.c drivers/tty/serial/21285.c drivers/tty/serial/8250/8250_acorn.c drivers/tty/serial/8250/8250_lpc18xx.c drivers/tty/serial/mps2-uart.c drivers/tty/serial/sa1100.c drivers/usb/host/ohci-sa1111.c drivers/usb/host/sl811-hcd.c drivers/usb/host/sl811.h drivers/usb/host/sl811_cs.c drivers/usb/musb/tusb6010.c drivers/usb/musb/tusb6010.h drivers/usb/musb/tusb6010_omap.c drivers/usb/phy/phy-mv-usb.h drivers/video/backlight/adp5520_bl.c drivers/video/backlight/adp8860_bl.c drivers/video/backlight/adp8870_bl.c drivers/video/backlight/ams369fg06.c drivers/video/backlight/bd6107.c drivers/video/backlight/corgi_lcd.c drivers/video/backlight/da903x_bl.c drivers/video/backlight/ep93xx_bl.c drivers/video/backlight/ipaq_micro_bl.c drivers/video/backlight/jornada720_bl.c drivers/video/backlight/jornada720_lcd.c drivers/video/backlight/lm3639_bl.c drivers/video/backlight/lms501kf03.c drivers/video/backlight/locomolcd.c drivers/video/backlight/lp8788_bl.c drivers/video/backlight/tdo24m.c drivers/video/fbdev/acornfb.c drivers/video/fbdev/acornfb.h drivers/video/fbdev/arcfb.c drivers/video/fbdev/broadsheetfb.c drivers/video/fbdev/core/fb_notify.c drivers/video/fbdev/ep93xx-fb.c drivers/video/fbdev/hecubafb.c drivers/video/fbdev/metronomefb.c drivers/video/fbdev/mmp/Kconfig drivers/video/fbdev/mmp/Makefile drivers/video/fbdev/mmp/core.c drivers/video/fbdev/mmp/fb/Kconfig drivers/video/fbdev/mmp/fb/Makefile drivers/video/fbdev/mmp/fb/mmpfb.c drivers/video/fbdev/mmp/fb/mmpfb.h drivers/video/fbdev/mmp/hw/Kconfig drivers/video/fbdev/mmp/hw/Makefile drivers/video/fbdev/mmp/hw/mmp_ctrl.c drivers/video/fbdev/mmp/hw/mmp_ctrl.h drivers/video/fbdev/mmp/hw/mmp_spi.c drivers/video/fbdev/mmp/panel/Kconfig drivers/video/fbdev/mmp/panel/Makefile drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c drivers/video/fbdev/n411.c drivers/video/fbdev/pxa168fb.c drivers/video/fbdev/pxa168fb.h drivers/video/fbdev/s1d13xxxfb.c drivers/video/fbdev/sa1100fb.c drivers/video/fbdev/sa1100fb.h drivers/watchdog/lpc18xx_wdt.c drivers/watchdog/rdc321x_wdt.c drivers/watchdog/wdt285.c drivers/watchdog/wdt977.c drivers/watchdog/wm8350_wdt.c sound/soc/codecs/si476x.c sound/soc/codecs/wm8350.c sound/soc/codecs/wm8350.h sound/soc/codecs/wm8400.c sound/soc/codecs/wm8400.h

Quoted 8 lines

sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/pxa2xx-i2s.h
sound/soc/pxa/spitz.c
sound/soc/ti/n810.c
sound/spi/Kconfig
sound/spi/Makefile
sound/spi/at73c213.c
sound/spi/at73c213.h

Other drivers from this list seem to not be used in any of my devices.

Best regards,
Svyatoslav R.

#6 lore raw
Quoted 5 lines · Svyatoslav Ryhel

чт, 10 вер. 2026 р. о 21:15 Arnd Bergmann <[email protected]> пише:

Quoted 2 lines

drivers/leds/leds-lm3530.c
drivers/leds/leds-lm3532.c

Quoted 8 lines

LM3532 has full OF support and is functional, it just does not have device tree users yet. I have a device using it - Motorola Atrix 4G (Tegra 2 based).

Here is commit removing LM3532
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=46a6457870825d8b782d350fdc7e27c540734d41
Here are my patches bringing up Motorola Atrix 4G support
https://lore.kernel.org/lkml/[email protected]/

Ah, perfect: this is actually one of two drivers that I independently noticed as a false positive while writing the commit logs, and I dropped the changes in the update I pushed the branch yesterday.

In fact, I saw that there are three other upstream dts files using this driver. In general, I assumed that anything with a DT binding has users, with the exception of the devices inside of a removed SoC and a few PMIC chips that were tightly linked to a removed SoC from the same manufacturer.

Thanks a lot for checking the list!

Arnd

maintainer
#7 lore raw
In reply to Arnd Bergmann
Quoted 13 lines · On Thu, 10 Sep 2026 20:14:15 +0200 "Arnd Bergmann" <[email protected]> wrote:
Quoted 5 lines · Svyatoslav Ryhel

__
Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

Sure, I have removed this patch from my series now.

Quoted 3 lines

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

Quoted 8 lines

Please have a look at

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Hi Arnd

For I2C and SPI at least, there doesn't need to be explicit device tree support as long as they have defaults when platform data isn't there. Those two buses will happily bind based on a dt-compatible and their i2c_device_id or spi_device_id tables for example.

So unless they fail to probe (some might?) we don't have a clear signal on whether they are in use via DT or not.

For vast majority of IIO drivers we don't have an upstream DTS as there is no clear motivation for anyone to upstream the dts for a random industrial control board or similar.

Quoted 1 line

drivers/iio/adc/ad7266.c

No to dropping this.

Has fallbacks and should bind just fine No one ever bothered adding an of_device_id table because it isn't needed. Fine to rip out the platform data support as nothing is using that.

This is a production part that is likely being used in new designs.

Quoted 1 line

drivers/iio/adc/ad7791.c

No to dropping this one.

I'm fine with ripping out the platform data but this again has defaults and may well be in use via DT. Antoniu from Analog was doing some cleanup on this recently so I'd guess they probably still at least somewhat care and some of the supported parts are still in production (e.g. the AD7788)

Quoted 1 line

drivers/iio/adc/ad7793.c

Maybe. Analog devices ack needed.

Production part but this one indeed fails to probe. Analog folk, do you want to fix this one up?

Quoted 1 line

drivers/iio/adc/ad7887.c

No to dropping this.

Production part - should work fine with defaults in driver. Could like the others drop the platform data handling.

Quoted 1 line

drivers/iio/adc/lp8788_adc.c

Probably

Sub driver of an MFD. I'm fine with that going if we know the mfd is no longer in use.

Quoted 2 lines

drivers/iio/adc/lpc18xx_adc.c
drivers/iio/dac/lpc18xx_dac.c

Probably

Likewise these two.

Quoted 1 line

drivers/iio/frequency/ad9523.c

Maybe. Analog Devices ack needed.

Fails to probe without platform data and marked not recomended for new designs. If we get an Ack from Analog devices folk I'm fine with this one going away.

Jonathan

#8 lore raw
Quoted 14 lines · Jonathan Cameron
Quoted 5 lines · On Thu, 10 Sep 2026 20:14:15 +0200 "Arnd Bergmann" <[email protected]> wrote:

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Hi Arnd

For I2C and SPI at least, there doesn't need to be explicit device tree support as long as they have defaults when platform data isn't there. Those two buses will happily bind based on a dt-compatible and their i2c_device_id or spi_device_id tables for example.

Quoted 6 lines

So unless they fail to probe (some might?) we don't have a clear signal on whether they are in use via DT or not.

For vast majority of IIO drivers we don't have an upstream DTS as there is no clear motivation for anyone to upstream the dts for a random industrial control board or similar.

Right, that was my general rule, if I had tried to remove all drivers that could plausibly probe with an external dtb but have no internal users, that would have easily doubled the 300 patches I already did.

Quoted 10 lines
Quoted 1 line

drivers/iio/adc/ad7266.c

No to dropping this.

Quoted 1 line

drivers/iio/adc/ad7791.c

No to dropping this one.

Quoted 1 line

drivers/iio/adc/ad7793.c

Maybe. Analog devices ack needed.

Quoted 8 lines

Production part but this one indeed fails to probe. Analog folk, do you want to fix this one up?

Quoted 1 line

drivers/iio/adc/ad7887.c

No to dropping this.

Production part - should work fine with defaults in driver. Could like the others drop the platform data handling.

This was one patch that I wasn't sure about myself (all four drivers together) since it looks like even when they do probe from dtb, the feature set would be limited without a DT binding, and they have been in the tree for a rather long time without users.

I've dropped the patch now. I looked at dropping the platform_data handling, but I think that only makes sense if we get a proper DT binding first.

Quoted 5 lines
Quoted 1 line

drivers/iio/adc/lp8788_adc.c

Probably

Sub driver of an MFD. I'm fine with that going if we know the mfd is no longer in use.

Ok, I posted that one as
https://lore.kernel.org/all/[email protected]/

and so far, everyone agreed on removing it.

Quoted 5 lines
Quoted 2 lines

drivers/iio/adc/lpc18xx_adc.c
drivers/iio/dac/lpc18xx_dac.c

Probably

Likewise these two.

Right, this one of course should follow the removal of CONFIG_ARCH_LPC18XX in arch/arm/

Quoted 6 lines
Quoted 1 line

drivers/iio/frequency/ad9523.c

Maybe. Analog Devices ack needed.

Fails to probe without platform data and marked not recomended for new designs. If we get an Ack from Analog devices folk I'm fine with this one going away.

This matches what I wrote in
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=20c1515b0caec2769c0916d087326f640bfb8aab

I'll keep the patch in the series and we'll see what the maintainers think when I post it.

Thanks a lot for taking a look!

I wonder if some of the older Analog drivers were only ever used on Blackfin. My series still removes a few more drivers outside of iio list that had platform_data in arch/blackfin/ until we removed that in 2018. These all fail to probe without platform_data, which means they also wouldn't work with the downstream adsp-sc5xx/sc8xx port or any other upstream Arm platform:

a4bdf847e0e1 backlight: remove unused adp8860/8870 drivers c71829e110e9 Input: touchscreen: remove unused ad7877 driver b4d4ca64500b Input: misc: remove unused ad714x driver 978426a3fe1a usb: remove unused sl811 driver 0860c9f297c3 mfd: remove unused adp5520 driver

Arnd

reviewer
#9 lore raw
In reply to Jonathan Cameron
Quoted 26 lines · Jonathan Cameron
Quoted 13 lines · On Thu, 10 Sep 2026 20:14:15 +0200 "Arnd Bergmann" <[email protected]> wrote:
Quoted 5 lines · Svyatoslav Ryhel

__
Hello Arnd! May you please spare AAT2870 from being removed? I have a device which uses aat2870 (LG Optimus 2X P990 Tegra 2, not upstreamed yet, but in process as well) and atm I am working on converting this driver to use OF. Thank you!

Sure, I have removed this patch from my series now.

Quoted 3 lines

P. S. If you are planning to remove more old drivers, please CC me in since I may be interested in some additional driver upgrades for devices I own.

Quoted 8 lines

Please have a look at

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3

I tried to be careful about figuring out exactly which drivers are unused, but I'm sure there are still a few false positive and false negative ones in there. I've added the current list of driver files below, let me know if you see something that shouldn't be there.

Hi Arnd

...

Quoted 6 lines
Quoted 2 lines

drivers/iio/adc/ad7793.c

Maybe. Analog devices ack needed.

Production part but this one indeed fails to probe. Analog folk, do you want to fix this one up?

Given it's production we should fix. Looking at platdata seems to nicely fir in DT. Issue is that I don't have HW with me to test. So I'll maybe just remove platdata and assume some defaults.

Quoted 13 lines
Quoted 2 lines

drivers/iio/adc/ad7887.c

No to dropping this.

Production part - should work fine with defaults in driver. Could like the others drop the platform data handling.

Quoted 1 line

drivers/iio/adc/lp8788_adc.c

Probably

Sub driver of an MFD. I'm fine with that going if we know the mfd is no longer in use.

Quoted 9 lines
Quoted 2 lines

drivers/iio/adc/lpc18xx_adc.c
drivers/iio/dac/lpc18xx_dac.c

Probably

Likewise these two.

Quoted 1 line

drivers/iio/frequency/ad9523.c

Maybe. Analog Devices ack needed.

Hmm we definitely use this one and we have OF support out of tree with likely some DT abuse of what can be in DT or not. Not sure if I have some HW around but we'll need to fix it.

In general for ADI parts, I think we can drop the ones that are not recommended for new designs. All the others I tempted to say we should keep. Naturally we need to fix all the drivers that do not compile without platdata. And for the ones with defaults we can also just remove platdata and use the plain defaults.

- Nuno Sá

#10 lore raw
Quoted 4 lines · Nuno Sá
Quoted 3 lines · Jonathan Cameron
Quoted 1 line · On Thu, 10 Sep 2026 20:14:15 +0200 "Arnd Bergmann" <[email protected]> wrote:

drivers/iio/adc/ad7793.c

Quoted 8 lines
Quoted 4 lines

Maybe. Analog devices ack needed.

Production part but this one indeed fails to probe. Analog folk, do you want to fix this one up?

Given it's production we should fix. Looking at platdata seems to nicely fir in DT. Issue is that I don't have HW with me to test. So I'll maybe just remove platdata and assume some defaults.

Sounds good. I already dropped my removal patch for this one.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

drivers/iio/frequency/ad9523.c

Maybe. Analog Devices ack needed.

Hmm we definitely use this one and we have OF support out of tree with likely some DT abuse of what can be in DT or not. Not sure if I have some HW around but we'll need to fix it.

Quoted 5 lines

In general for ADI parts, I think we can drop the ones that are not recommended for new designs. All the others I tempted to say we should keep. Naturally we need to fix all the drivers that do not compile without platdata. And for the ones with defaults we can also just remove platdata and use the plain defaults.

Ok, I'll leave it alone as well now.

I currently still have patches to remove adp8860/8870 (backlight), ad7877 (touchscreen), ad714x (touch) and adxl34x (input, not the iio one), which are currently unusable with DT but are all listed as in production.

I assume you want to fix all of these and keep them in the kernel, but possibly still remove the adxl34x and only keep the IIO driver for that part?

I also have patches to remove platform_data probing from ad5761, adf4350, ad5791, ad5421 and ad5504, these all have DT support.

See
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=board-remove-7.4
for the updated series. I hope to slowly get through that. Let me know if you want me to skip any more of those patches.

Thanks,

Arnd

reviewer
#11 lore raw
Quoted 32 lines · Arnd Bergmann
Quoted 4 lines · Nuno Sá
Quoted 3 lines · Jonathan Cameron
Quoted 1 line · On Thu, 10 Sep 2026 20:14:15 +0200 "Arnd Bergmann" <[email protected]> wrote:

drivers/iio/adc/ad7793.c

Quoted 8 lines
Quoted 4 lines

Maybe. Analog devices ack needed.

Production part but this one indeed fails to probe. Analog folk, do you want to fix this one up?

Given it's production we should fix. Looking at platdata seems to nicely fir in DT. Issue is that I don't have HW with me to test. So I'll maybe just remove platdata and assume some defaults.

Sounds good. I already dropped my removal patch for this one.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

drivers/iio/frequency/ad9523.c

Maybe. Analog Devices ack needed.

Hmm we definitely use this one and we have OF support out of tree with likely some DT abuse of what can be in DT or not. Not sure if I have some HW around but we'll need to fix it.

Quoted 5 lines

In general for ADI parts, I think we can drop the ones that are not recommended for new designs. All the others I tempted to say we should keep. Naturally we need to fix all the drivers that do not compile without platdata. And for the ones with defaults we can also just remove platdata and use the plain defaults.

Ok, I'll leave it alone as well now.

Quoted 7 lines

I currently still have patches to remove adp8860/8870 (backlight), ad7877 (touchscreen), ad714x (touch) and adxl34x (input, not the iio one), which are currently unusable with DT but are all listed as in production.

I assume you want to fix all of these and keep them in the kernel, but possibly still remove the adxl34x and only keep the IIO driver for that part?

Yes. And yes, seems to me the input driver has not reason to be in tree. The IIO should be the one to use.

Quoted 8 lines

I also have patches to remove platform_data probing from ad5761, adf4350, ad5791, ad5421 and ad5504, these all have DT support.

See
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=board-remove-7.4
for the updated series. I hope to slowly get through that. Let me know if you want me to skip any more of those patches.

Thanks for taking care of this. Let me know if you need any help with ADI related parts.

- Nuno Sá

Quoted 4 lines

Thanks,

Arnd