iio: backend: add support for data alignment
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Fri, 16 May 2025 08:26:22 +0000 (11:26 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:34 +0000 (07:45 +0100)
commit995fd6e002b0d1ac435faed68005585906467e92
tree7c394c78c93e1c4d8d7bd588cc79c12198ad0695
parentdc38441890ec0c54d032395ea9c365a4307185fa
iio: backend: add support for data alignment

Add backend support for staring the capture synchronization.
When activated, it initates a proccess that aligns the sample's most
significant bit (MSB) based solely on the captured data, without
considering any other external signals.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://patch.msgid.link/20250516082630.8236-3-antoniu.miclaus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-backend.c
include/linux/iio/backend.h