[PATCH V11 4/9] iio: imu: inv_icm42607: Add I2C and SPI For icm42607
Jonathan Cameron
jic23 at kernel.org
Thu Jun 11 03:52:19 PDT 2026
On Thu, 11 Jun 2026 10:49:41 +0300
Andy Shevchenko <andriy.shevchenko at intel.com> wrote:
> On Wed, Jun 10, 2026 at 12:54:48PM -0500, Chris Morgan wrote:
>
> > Add I2C and SPI driver support for InvenSense ICM-42607 devices.
> > Add necessary Kconfig and Makefile to allow building of (incomplete)
> > driver.
>
> ...
>
> > drivers/iio/imu/Kconfig | 1 +
> > drivers/iio/imu/Makefile | 1 +
> > drivers/iio/imu/inv_icm42607/Kconfig | 30 +++++
> > drivers/iio/imu/inv_icm42607/Makefile | 10 ++
>
> These should be part of the previous patch.
>
> ...
>
> > +config INV_ICM42607
> > + tristate
>
> To make it compilable w.o. SPI/I2C make this as
>
> tristate "Inven... Core driver" if COMPILE_TEST
Hi Andy,
Is it worth it? I'm not convinced - we will get pretty
good build coverage with a dependence on either SPI or I2C.
Plus as someone who always builds with COMPILE_TEST this
seems overly noisy to me.
Jonathan
More information about the Linux-rockchip
mailing list