Linux Media Controller development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Arnd Bergmann" <arnd@arndb.de>
Cc: "Svyatoslav Ryhel" <clamor95@gmail.com>,
	"Arnd Bergmann" <arnd@kernel.org>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	"Mark Brown" <broonie@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Daniel Thompson" <danielt@kernel.org>,
	"Helge Deller" <deller@gmx.de>,
	devicetree@vger.kernel.org,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	dri-devel@lists.freedesktop.org,
	"Jingoo Han" <jingoohan1@gmail.com>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Lee Jones" <lee@kernel.org>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Linus Walleij" <linusw@kernel.org>,
	linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org,
	linux-fbdev@vger.kernel.org,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-leds@vger.kernel.org, linux-media@vger.kernel.org,
	linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org,
	linux-sound@vger.kernel.org, linux-watchdog@vger.kernel.org,
	"Guenter Roeck" <linux@roeck-us.net>,
	linuxppc-dev@lists.ozlabs.org, llvm@lists.linux.dev,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	mfd@lists.linux.dev,
	"Michael Hennerich" <michael.hennerich@analog.com>,
	patches@opensource.cirrus.com, "Pavel Machek" <pavel@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Support Opensource" <support.opensource@diasemi.com>
Subject: Re: [PATCH 08/14] mfd: remove unused aat2870 driver
Date: Sat, 12 Sep 2026 23:20:47 +0100	[thread overview]
Message-ID: <20260912232047.19c4cb10@jic23-hlaptop> (raw)
In-Reply-To: <11652e5e-053e-45b0-98a0-0c1cb2aeedc4@app.fastmail.com>

On Thu, 10 Sep 2026 20:14:15 +0200
"Arnd Bergmann" <arnd@arndb.de> wrote:

> On Thu, Sep 10, 2026, at 18:40, Svyatoslav Ryhel wrote:
> > __ 
> > 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.
> 
> > 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.
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.

> 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.

> 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)

> 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?

> 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.

> 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.

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

Likewise these two.

> 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


  parent reply	other threads:[~2026-09-12 22:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPVz0n0ryOns2sCJE_jFana9MVzwEj1QZuPEa8FNhGbHXnMB+A@mail.gmail.com>
2026-09-10 18:14 ` [PATCH 08/14] mfd: remove unused aat2870 driver Arnd Bergmann
2026-09-10 18:38   ` Guenter Roeck
2026-09-10 19:15     ` Arnd Bergmann
2026-09-10 19:31       ` Guenter Roeck
2026-09-12  6:42   ` Svyatoslav Ryhel
2026-09-12  8:05     ` Arnd Bergmann
2026-09-12 22:20   ` Jonathan Cameron [this message]
2026-09-13  8:33     ` Arnd Bergmann
2026-09-09 13:21 [PATCH 00/14] mfd: unused driver purge Arnd Bergmann
2026-09-09 13:21 ` [PATCH 08/14] mfd: remove unused aat2870 driver Arnd Bergmann

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=20260912232047.19c4cb10@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=brgl@kernel.org \
    --cc=broonie@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=danielt@kernel.org \
    --cc=deller@gmx.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jingoohan1@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=llvm@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=mfd@lists.linux.dev \
    --cc=michael.hennerich@analog.com \
    --cc=patches@opensource.cirrus.com \
    --cc=pavel@kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    --cc=support.opensource@diasemi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox