Re: [RFC PATCH v1 0/2] iio: imu: Add support for QST QMI8658C
From: NanamiKite
Date: Fri Dec 04 2026 - 05:59:58 EST
Hi Andy,
On Fri, 04 Dec 2026 11:47:58 +0200, Andy Shevchenko wrote:
> First of all, please setup the email and patch sending on your side.
> The three patches were sent as three different emails! No, we want
> a single email thread (for example, --thread to `git format-patch` makes
> this happen).
Sorry about the broken threading. I did pass --thread, but smtp.qq.com
silently rewrites outgoing Message-ID headers, breaking the In-Reply-To
links between patches. I'll switch to b4's web relay before sending v2.
> Why a brand new driver? You should research existing ones and if there are some
> close enough explain, why they are not suitable to host this HW.
I checked the existing drivers under drivers/iio/imu/ (Bosch bmi*/smi*/bno055,
InvenSense inv_icm*/inv_mpu6050, ST st_lsm*, ADI adis*, NXP fxos8700,
Kionix kmx61) as well as the existing QST magnetometer drivers (qmc5883l,
qmc6308). The QMI8658C uses the QST/FIS2108 register layout (WHO_AM_I at
0x00 = 0x05, CTRL1..CTRL9 at 0x02..0x0a, contiguous output data at
0x33..0x40, soft reset 0xb0 to 0x60, and coupled 6DOF/accel-only ODR
tables), which doesn't match any existing driver in the tree.
As for the use case, the QMI8658C is common on low-cost embedded and
wearable hardware, and I'm also using it externally for orientation
sensing on my 2-in-1 tablet keyboard cover.
I'll include this rationale in the cover letter and commit message for v2.
Thanks,
NanamiKite