* [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU
@ 2026-02-05 15:07 Jun Yan
2026-02-05 15:07 ` [PATCH v4 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding Jun Yan
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Jun Yan @ 2026-02-05 15:07 UTC (permalink / raw)
To: devicetree, linux-iio; +Cc: linusw, stephan, hns, jic23, Jun Yan
The BMX055[1] is a Bosch 9-axis IMU integrating a 3-axis accelerometer,
gyroscope and geomagnetic sensor.
It supports SPI/I²C interfaces, and existing compatible drivers can
be reused by simply adding the corresponding dt-bindings for fallback
coompatibles as follows:
- accelerometer: bmc150_accel
- gyroscope: bmg160
- magnetometer: bmc150_magn
Changes in v4:
- Please replace underscores with hyphens in the compatibles.
- Link to v3: https://lore.kernel.org/all/20260203143946.301233-1-jerrysteve1101@gmail.com/
Changes in v3:
- Drop the Linux-related comments in the bosch,bma25 dt-bindings.
- Link to v2: https://lore.kernel.org/all/20260202110304.236320-1-jerrysteve1101@gmail.com/
Changes in v2:
- Use fallback compatibles instead of introducing a new device ID in the driver.
- Link to v1: https://lore.kernel.org/all/20260129071105.389493-1-jerrysteve1101@gmail.com/
[1] https://cdn.sparkfun.com/assets/b/9/1/f/4/bst-bmx055-ds000_datasheet.pdf
Jun Yan (3):
dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding
dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055
magnetometer binding
dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope
binding
.../bindings/iio/accel/bosch,bma255.yaml | 40 ++++++++++---------
.../bindings/iio/gyroscope/bosch,bmg160.yaml | 12 ++++--
.../iio/magnetometer/bosch,bmc150_magn.yaml | 14 ++++---
3 files changed, 38 insertions(+), 28 deletions(-)
--
2.52.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding
2026-02-05 15:07 [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
@ 2026-02-05 15:07 ` Jun Yan
2026-02-05 15:07 ` [PATCH v4 2/3] dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding Jun Yan
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Jun Yan @ 2026-02-05 15:07 UTC (permalink / raw)
To: devicetree, linux-iio; +Cc: linusw, stephan, hns, jic23, Jun Yan, Conor Dooley
Add the device-tree binding for the Bosch BMX055 IMU (accelerometer part),
which is compatible with bmc150_accel.
Datasheet: https://cdn.sparkfun.com/assets/b/9/1/f/4/bst-bmx055-ds000_datasheet.pdf
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
.../bindings/iio/accel/bosch,bma255.yaml | 40 ++++++++++---------
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml b/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
index c1387e02eb82..7f9c5eec35dd 100644
--- a/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
@@ -16,25 +16,27 @@ description:
properties:
compatible:
- enum:
- # bmc150-accel driver in Linux
- - bosch,bma222
- - bosch,bma222e
- - bosch,bma250e
- - bosch,bma253
- - bosch,bma254
- - bosch,bma255
- - bosch,bma280
- - bosch,bmc150_accel
- - bosch,bmc156_accel
- - bosch,bmi055_accel
-
- # bma180 driver in Linux
- - bosch,bma023
- - bosch,bma150
- - bosch,bma180
- - bosch,bma250
- - bosch,smb380
+ oneOf:
+ - enum:
+ - bosch,bma222
+ - bosch,bma222e
+ - bosch,bma250e
+ - bosch,bma253
+ - bosch,bma254
+ - bosch,bma255
+ - bosch,bma280
+ - bosch,bmc150_accel
+ - bosch,bmc156_accel
+ - bosch,bmi055_accel
+
+ - bosch,bma023
+ - bosch,bma150
+ - bosch,bma180
+ - bosch,bma250
+ - bosch,smb380
+ - items:
+ - const: bosch,bmx055-accel
+ - const: bosch,bmc150_accel
reg:
maxItems: 1
--
2.52.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v4 2/3] dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding
2026-02-05 15:07 [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
2026-02-05 15:07 ` [PATCH v4 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding Jun Yan
@ 2026-02-05 15:07 ` Jun Yan
2026-02-05 15:07 ` [PATCH v4 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding Jun Yan
2026-02-05 18:39 ` [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Conor Dooley
3 siblings, 0 replies; 8+ messages in thread
From: Jun Yan @ 2026-02-05 15:07 UTC (permalink / raw)
To: devicetree, linux-iio; +Cc: linusw, stephan, hns, jic23, Jun Yan
Add the device-tree binding for the bosch BMX055 IMU (magnetometer
part), which is compatible with bmc150_magn.
Datasheet: https://cdn.sparkfun.com/assets/b/9/1/f/4/bst-bmx055-ds000_datasheet.pdf
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
---
.../iio/magnetometer/bosch,bmc150_magn.yaml | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml b/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
index a3838ab0c524..c1a6892b0194 100644
--- a/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
+++ b/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
@@ -21,11 +21,15 @@ properties:
description:
Note the bmm150_magn is a deprecated compatible as this part contains only
a magnetometer.
- enum:
- - bosch,bmc150_magn
- - bosch,bmc156_magn
- - bosch,bmm150
- - bosch,bmm150_magn
+ oneOf:
+ - enum:
+ - bosch,bmc150_magn
+ - bosch,bmc156_magn
+ - bosch,bmm150
+ - bosch,bmm150_magn
+ - items:
+ - const: bosch,bmx055-magn
+ - const: bosch,bmc150_magn
reg:
maxItems: 1
--
2.52.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v4 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding
2026-02-05 15:07 [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
2026-02-05 15:07 ` [PATCH v4 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding Jun Yan
2026-02-05 15:07 ` [PATCH v4 2/3] dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding Jun Yan
@ 2026-02-05 15:07 ` Jun Yan
2026-02-05 18:39 ` [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Conor Dooley
3 siblings, 0 replies; 8+ messages in thread
From: Jun Yan @ 2026-02-05 15:07 UTC (permalink / raw)
To: devicetree, linux-iio; +Cc: linusw, stephan, hns, jic23, Jun Yan
Add the device-tree binding for the bosch BMX055 IMU (gyroscope part),
which is compatible with bmg160.
Datasheet: https://cdn.sparkfun.com/assets/b/9/1/f/4/bst-bmx055-ds000_datasheet.pdf
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
---
.../bindings/iio/gyroscope/bosch,bmg160.yaml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml b/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml
index 3c6fe74af0b8..fcbd4b430e48 100644
--- a/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml
+++ b/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml
@@ -11,10 +11,14 @@ maintainers:
properties:
compatible:
- enum:
- - bosch,bmg160
- - bosch,bmi055_gyro
- - bosch,bmi088_gyro
+ oneOf:
+ - enum:
+ - bosch,bmg160
+ - bosch,bmi055_gyro
+ - bosch,bmi088_gyro
+ - items:
+ - const: bosch,bmx055-gyro
+ - const: bosch,bmg160
reg:
maxItems: 1
--
2.52.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU
2026-02-05 15:07 [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
` (2 preceding siblings ...)
2026-02-05 15:07 ` [PATCH v4 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding Jun Yan
@ 2026-02-05 18:39 ` Conor Dooley
2026-02-07 15:12 ` Jonathan Cameron
3 siblings, 1 reply; 8+ messages in thread
From: Conor Dooley @ 2026-02-05 18:39 UTC (permalink / raw)
To: Jun Yan; +Cc: devicetree, linux-iio, linusw, stephan, hns, jic23
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU
2026-02-05 18:39 ` [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Conor Dooley
@ 2026-02-07 15:12 ` Jonathan Cameron
2026-02-24 14:11 ` Jun Yan
0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Cameron @ 2026-02-07 15:12 UTC (permalink / raw)
To: Conor Dooley; +Cc: Jun Yan, devicetree, linux-iio, linusw, stephan, hns
On Thu, 5 Feb 2026 18:39:18 +0000
Conor Dooley <conor@kernel.org> wrote:
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> pw-bot: not-applicable
Applied to the testing branch of iio.git
Thanks,
Jonathan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU
2026-02-07 15:12 ` Jonathan Cameron
@ 2026-02-24 14:11 ` Jun Yan
2026-03-01 12:30 ` Jonathan Cameron
0 siblings, 1 reply; 8+ messages in thread
From: Jun Yan @ 2026-02-24 14:11 UTC (permalink / raw)
To: jic23; +Cc: conor, devicetree, hns, jerrysteve1101, linusw, linux-iio,
stephan
> On Thu, 5 Feb 2026 18:39:18 +0000
> Conor Dooley <conor@kernel.org> wrote:
>
> > Acked-by: Conor Dooley <conor.dooley@microchip.com>
> > pw-bot: not-applicable
>
> Applied to the testing branch of iio.git
>
This patch series commit was not found in the testing branch.
could it have been missed?
Best regards,
Jun Yan
>
> Thanks,
>
> Jonathan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU
2026-02-24 14:11 ` Jun Yan
@ 2026-03-01 12:30 ` Jonathan Cameron
0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2026-03-01 12:30 UTC (permalink / raw)
To: Jun Yan; +Cc: conor, devicetree, hns, linusw, linux-iio, stephan
On Tue, 24 Feb 2026 22:11:42 +0800
Jun Yan <jerrysteve1101@gmail.com> wrote:
> > On Thu, 5 Feb 2026 18:39:18 +0000
> > Conor Dooley <conor@kernel.org> wrote:
> >
> > > Acked-by: Conor Dooley <conor.dooley@microchip.com>
> > > pw-bot: not-applicable
> >
> > Applied to the testing branch of iio.git
> >
> This patch series commit was not found in the testing branch.
>
> could it have been missed?
Good catch. I clearly messed something up here :(
Applied and pushed out now.
Jonathan
>
> Best regards,
>
> Jun Yan
> >
> > Thanks,
> >
> > Jonathan
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-03-01 12:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 15:07 [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
2026-02-05 15:07 ` [PATCH v4 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding Jun Yan
2026-02-05 15:07 ` [PATCH v4 2/3] dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding Jun Yan
2026-02-05 15:07 ` [PATCH v4 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding Jun Yan
2026-02-05 18:39 ` [PATCH v4 0/3] iio: add support for Bosch BMX055 IMU Conor Dooley
2026-02-07 15:12 ` Jonathan Cameron
2026-02-24 14:11 ` Jun Yan
2026-03-01 12:30 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox