Re: [PATCH 1/4] iio: imu: bmi270: Match PNP ID found on OrangePi Neo 2026

Jonathan Cameron <[email protected]> Sun, 2 Aug 2026 18:47:23 +0100
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <20260802184723.22554361@jic23-huawei>
On Fri, 31 Jul 2026 21:53:22 +0200
Philip Mueller <[email protected]> wrote:

> OrangePi Neo devices use BMI260 sensors in their hardware.
> In older firmware they used "BMI0260" as their ID. In newer firmware
> however they switched to "BOSC0260" as their ID for the sensors.
> This change is also seen DSDT tables within newer device firmware.
> 
> Adding the PNP ID to bmi270 driver will load the driver properly on the device.

Hi Philip

The new one is not a PNP ID.  Those only have 3 letters.
They have switched over to using an ACPI ID - which is the other thing you
are allowed to put in _HID in ACPI.

Good to see they are using a valid format at least and hopefully Bosch
have indeed allocated that code to this device.  So rare case of a correct
update.

FWIW BMI was the PNP ID of the Benson medical instruments company.


So with a minor commit text update to reflect that I'll be happy to pick
this one up.

Thanks

Jonathan

> 
> Cc: [email protected] # 6.18+
> Signed-off-by: Philip Mueller <[email protected]>
> ---
>  drivers/iio/imu/bmi270/bmi270_i2c.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/iio/imu/bmi270/bmi270_i2c.c b/drivers/iio/imu/bmi270/bmi270_i2c.c
> index 7c035e82e6e9..036c6f0f7cd4 100644
> --- a/drivers/iio/imu/bmi270/bmi270_i2c.c
> +++ b/drivers/iio/imu/bmi270/bmi270_i2c.c
> @@ -43,6 +43,8 @@ static const struct acpi_device_id bmi270_acpi_match[] = {
>  	{ "BMI0160",  (kernel_ulong_t)&bmi260_chip_info },
>  	/* GPD Win Max 2 2023(sincice BIOS v0.40), etc. */
>  	{ "BMI0260",  (kernel_ulong_t)&bmi260_chip_info },
> +	/* OrangePi Neo 2026 (since BIOS BCPH01_V1.20), etc. */
> +	{ "BOSC0260", (kernel_ulong_t)&bmi260_chip_info },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(acpi, bmi270_acpi_match);