Revert "dt-bindings: iio: magnetometer: asahi-kasei,ak8975: Drop deprecated enums"
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 10 Oct 2023 08:46:00 +0000 (09:46 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 11 Oct 2023 14:54:39 +0000 (15:54 +0100)
Reverted as Rob Herring is tracking undocumented compatibles and as per
discussion in the thread, we can not remove this deprecated compatibles from
the driver without potential/likely regressions.  So keep it around
as it's not that painful anyway.

This reverts commit 711fb79a1ea8e79dc600f25d9f8c1ac25870b4de.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml

index ee77558e980022733e63db3db3b80e635551113d..9790f75fc669ef79ae1a692f2ad4dee6ffee294c 100644 (file)
@@ -18,6 +18,13 @@ properties:
           - asahi-kasei,ak09911
           - asahi-kasei,ak09912
           - asahi-kasei,ak09916
+      - enum:
+          - ak8975
+          - ak8963
+          - ak09911
+          - ak09912
+          - ak09916
+        deprecated: true
 
   reg:
     maxItems: 1