Re: [PATCH RFC v2 0/7] iio: add Open Sensor Fusion UART driver
From: Andy Shevchenko
Date: Tue Jun 02 2026 - 20:07:45 EST
On Sun, May 24, 2026 at 05:53:05PM +0900, Jinseob Kim wrote:
> This series adds an IIO driver for a UART-attached sensor aggregation
> device. The device sends OSF0 binary frames over serdev UART. The driver
> uses capability reports to register IIO devices for supported sensors.
>
> v2 preparation changes:
>
> - split the previous RFC driver patch into smaller patches
> - add a Device Tree binding
> - add an OSF0 protocol reference
> - use get_unaligned_le16/32/64() for wire fields
> - use IIO timestamp handling for buffered samples
> - push decoded samples directly to registered IIO devices
>
> Tested path:
>
> - STM32F405 OSF0 UART stream
> - Raspberry Pi 4 serdev
> - kernel 6.12.75+rpt-rpi-v8
> - IIO devices: osf-accel, osf-gyro, osf-magn, osf-temp
> - raw reads from accel, gyro, magn, and temp
> - buffer reads from accel, gyro, magn, and temp
>
> No OSF oops, panic, or call trace was observed in the Raspberry Pi
> runtime smoke.
My comments from the previous version seem still valid.
--
With Best Regards,
Andy Shevchenko