Re: [PATCH v2 4/4] iio: Add Qualcomm Sensor Manager driver
From: Yassine Oudjana
Date: Thu Jul 17 2025 - 09:32:20 EST
On Thursday, July 10th, 2025 at 9:58 AM, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> On Thu, Jul 10, 2025 at 11:06 AM Yassine Oudjana via B4 Relay
> devnull+y.oudjana.protonmail.com@xxxxxxxxxx wrote:
>
> > Add a driver for sensors exposed by the Qualcomm Sensor Manager service,
> > which is provided by SLPI or ADSP on Qualcomm SoCs. Supported sensors
> > include accelerometers, gyroscopes, pressure sensors, proximity sensors
> > and magnetometers.
>
>
> First of all it's almost 2kLoCs, it's on the edge of unreviewable
> code. Please, try to make 3+ patches out of this one.
> Second, take your time and check what your code is using from the
> kernel internal libraries and APIs and follow IWYU principle when
> including headers.
I can cleanly split it into 2 patches by putting the QMI components
in a separate patch. Not sure about 3+ patches but will try my best.
Will review includes.