Re: [PATCH v4 0/6] iio: accel: bma400: Refactor GENINTR config and register macros

From: Jonathan Cameron

Date: Sun Oct 12 2025 - 11:55:33 EST


On Tue, 7 Oct 2025 11:25:00 +0530
Akshay Jindal <akshayaj.lkd@xxxxxxxxx> wrote:

> This series refactors the BMA400 driver with a focus on generic interrupt
> configuration and related register usage. The main changes reduce
> usage of hard-coded values by introducing macros and formula-based
> register addressing, and add a centralized lookup indexed on iio event
> direction.
>
> Alongside these updates, the series also reorganizes and renames register
> and field macros for consistency with the datasheet, and extends comments
> for additional clarity.
>
> All patches are pure refactoring. No functional changes are intended.
Other than comments in patches 1 and 4 this series looks good to me.

Thanks,

Jonathan