summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-07-11 14:15:41 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-03 10:13:37 +0100
commitb40cafc1143600122719ae335359722538ed06e3 (patch)
tree5d260c2eb6e89f20afde400447846fdbaa560f4c /include/dt-bindings
parent7b00bb6fd67495f7fe7d9817ee002c12ecf5a4be (diff)
dt-bindings: iio: adc: add AD4695 and similar ADCs
Add device tree bindings for AD4695 and similar ADCs. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240711-iio-adc-ad4695-v4-0-c31621113b57@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/iio/adi,ad4695.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dt-bindings/iio/adi,ad4695.h b/include/dt-bindings/iio/adi,ad4695.h
new file mode 100644
index 000000000000..9fbef542bf67
--- /dev/null
+++ b/include/dt-bindings/iio/adi,ad4695.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+
+#ifndef _DT_BINDINGS_ADI_AD4695_H
+#define _DT_BINDINGS_ADI_AD4695_H
+
+#define AD4695_COMMON_MODE_REFGND 0xFF
+#define AD4695_COMMON_MODE_COM 0xFE
+
+#endif /* _DT_BINDINGS_ADI_AD4695_H */