diff mbox series

[v4,3/4] dt-bindings: iio: magnetometer: Add ak09118

Message ID 20240819-ak09918-v4-3-f0734d14cfb9@mainlining.org (mailing list archive)
State Accepted
Headers show
Series Add support for AK09918 | expand

Commit Message

Barnabás Czémán Aug. 18, 2024, 10:29 p.m. UTC
From: Danila Tikhonov <danila@jiaxyga.com>

Document asahi-kasei,ak09918 compatible as a fallback compatible,
ak09918 is register compatible with ak09912.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
 .../devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml      | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Conor Dooley Aug. 18, 2024, 10:35 p.m. UTC | #1
On Mon, Aug 19, 2024 at 12:29:41AM +0200, Barnabás Czémán wrote:
> From: Danila Tikhonov <danila@jiaxyga.com>
> 
> Document asahi-kasei,ak09918 compatible as a fallback compatible,
> ak09918 is register compatible with ak09912.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml b/Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml
index fe5145d3b73c..e8ca9a234027 100644
--- a/Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml
+++ b/Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml
@@ -18,6 +18,10 @@  properties:
           - asahi-kasei,ak09911
           - asahi-kasei,ak09912
           - asahi-kasei,ak09916
+      - items:
+          # ak09918 is register compatible with ak09912.
+          - const: asahi-kasei,ak09918
+          - const: asahi-kasei,ak09912
       - enum:
           - ak8975
           - ak8963