From: Jun Yan <jerrysteve1101@gmail.com>
To: devicetree@vger.kernel.org, linux-iio@vger.kernel.org
Cc: linusw@kernel.org, stephan@gerhold.net, hns@goldelico.com,
jic23@kernel.org, Jun Yan <jerrysteve1101@gmail.com>
Subject: [PATCH v3 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding
Date: Tue, 3 Feb 2026 22:39:43 +0800 [thread overview]
Message-ID: <20260203143946.301233-4-jerrysteve1101@gmail.com> (raw)
In-Reply-To: <20260203143946.301233-1-jerrysteve1101@gmail.com>
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>
---
.../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..e19aa1797f14 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
next prev parent reply other threads:[~2026-02-03 14:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 14:39 [PATCH v3 0/3] iio: add support for Bosch BMX055 IMU Jun Yan
2026-02-03 14:39 ` [PATCH v3 1/3] dt-bindings: iio: accel: bosch,bma255: add bmx055 accel binding Jun Yan
2026-02-04 17:57 ` Conor Dooley
2026-02-06 12:47 ` Linus Walleij
2026-02-03 14:39 ` [PATCH v3 2/3] dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding Jun Yan
2026-02-04 17:58 ` Conor Dooley
2026-02-05 14:31 ` Jun Yan
2026-02-03 14:39 ` Jun Yan [this message]
2026-02-04 17:58 ` [PATCH v3 3/3] dt-bindings: iio: gyroscope: bosch,bmg160: add bmx055 gyroscope binding Conor Dooley
2026-02-03 23:36 ` [PATCH v3 0/3] iio: add support for Bosch BMX055 IMU Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260203143946.301233-4-jerrysteve1101@gmail.com \
--to=jerrysteve1101@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=hns@goldelico.com \
--cc=jic23@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=stephan@gerhold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox