Re: [PATCH 6.6.y] iio: imu: inv_icm42600: fix spi burst write not supported

Jean-Baptiste Maneyrol
2025-01-15T10:50:49Z

Hello Greg,

beware that I messed up for the 1st versions of this backport, and then I sent v2 patches that are working correctly.
You need to be careful to use only the v2 patch if there is one.

I'm really sorry about that.

Thanks,
JB

________________________________________
From: Greg KH <gregkh@linuxfoundation.org>
Sent: Wednesday, January 15, 2025 11:32
To: INV Git Commit <INV.git-commit@tdk.com>
Cc: stable@vger.kernel.org <stable@vger.kernel.org>; Jean-Baptiste Maneyrol <Jean-Baptiste.Maneyrol@tdk.com>; Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: Re: [PATCH 6.6.y] iio: imu: inv_icm42600: fix spi burst write not supported

This Message Is From an External Sender
This message came from outside your organization.

On Mon, Jan 13, 2025 at 12:46:38PM +0000, inv.git-commit@tdk.com wrote:
> From: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
>
> Burst write with SPI is not working for all icm42600 chips. It was
> only used for setting user offsets with regmap_bulk_write.
>
> Add specific SPI regmap config for using only single write with SPI.
>
> Fixes: 9f9ff91b775b ("iio: imu: inv_icm42600: add SPI driver for inv_icm42600 driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
> Link: https://urldefense.com/v3/__https://patch.msgid.link/20241112-inv-icm42600-fix-spi-burst-write-not-supported-v2-1-97690dc03607@tdk.com__;!!FtrhtPsWDhZ6tw!BHuM_mFkFLufuYUdfRKsfVtoNwcGIdpfwb67zA7zHn0aaejUaf1E059wV6BjFCM4sykCxOWPj1PnNMwDW2WyQuXjY8KnYJ8a$[patch[.]msgid[.]link]
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> (cherry picked from commit c0f866de4ce447bca3191b9cefac60c4b36a7922)
> ---
> drivers/iio/imu/inv_icm42600/inv_icm42600.h | 1 +
> drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 15 +++++++++++++++
> drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 ++-
> 3 files changed, 18 insertions(+), 1 deletion(-)

Did you test build this?