Skip to content

Commit 1774b9a

Browse files
committed
dt-bindings: iio: position: Document ADMT4000
The ADMT4000 is a magnetic turn count sensor that records the rotations of a magnetic system even when powered down. Signed-off-by: adiceline <celinejoy.capua@analog.com>
1 parent d7904ae commit 1774b9a

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
# Copyright (c) 2025 Analog Devices, Inc.
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/iio/position/adi,admt4000.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Analog Devices ADMT4000 True Power-On Multiturn Sensor
9+
maintainers:
10+
- Celine Joy Capua <celinejoy.capua@analog.com>
11+
12+
description: |
13+
The ADMT4000 is a magnetic turn count sensor capable of recording the number
14+
of rotations of a magnetic system even while the device is powered down. On
15+
power-up, the device can be interrogated to report the absolute position of
16+
the system. Datasheet can be found here:
17+
https://www.analog.com/media/en/technical-documentation/data-sheets/admt4000.pdf
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- adi,admt4000
23+
24+
reg:
25+
maxItems: 1
26+
27+
spi-max-frequency:
28+
maximum: 10000000
29+
30+
vdd-supply:
31+
description: Power Supply Input.
32+
33+
acalc-gpios:
34+
description:
35+
Angle Calculation Status. Indicates when the angle is being calculated.
36+
maxItems: 1
37+
38+
busy-gpios:
39+
description:
40+
Busy indicator gpio. Indicates when the part is performing measurement.
41+
maxItems: 1
42+
43+
cnv-gpios:
44+
description:
45+
Conversion start gpio. Used when an external convert start
46+
signal is desired. If not present, the conversion start is done via device
47+
registers.
48+
maxItems: 1
49+
50+
adi,one-shot-conversion:
51+
description:
52+
If present, this indicates that the device is operation at a one-shot
53+
conversion mode.
54+
type: boolean
55+
56+
adi,cnv-sync-mode:
57+
description:
58+
Convert start synchronization mode.
59+
enum: [seq_ctrl, start_edge]
60+
default: seq_ctrl
61+
62+
required:
63+
- compatible
64+
- reg
65+
- vdd-supply
66+
67+
allOf:
68+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
69+
70+
unevaluatedProperties: false
71+
72+
examples:
73+
- |
74+
spi {
75+
#address-cells = <1>;
76+
#size-cells = <0>;
77+
pos@0 {
78+
compatible = "adi,admt4000";
79+
reg = <0>;
80+
spi-max-frequency = <1000000>;
81+
82+
vdd-supply = <&vdd>;
83+
};
84+
};
85+
...

0 commit comments

Comments
 (0)