[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240625150717.1038212-6-olivier.moysan@foss.st.com>
Date: Tue, 25 Jun 2024 17:07:13 +0200
From: Olivier Moysan <olivier.moysan@...s.st.com>
To: <fabrice.gasnier@...s.st.com>, Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Olivier Moysan <olivier.moysan@...s.st.com>
CC: <linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2 5/8] dt-bindings: iio: add sigma delta modulator backend
Add documentation of device tree bindings to support
sigma delta modulator backend in IIO framework.
Signed-off-by: Olivier Moysan <olivier.moysan@...s.st.com>
---
.../iio/adc/sd-modulator-backend.yaml | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/sd-modulator-backend.yaml
diff --git a/Documentation/devicetree/bindings/iio/adc/sd-modulator-backend.yaml b/Documentation/devicetree/bindings/iio/adc/sd-modulator-backend.yaml
new file mode 100644
index 000000000000..3299db71f79d
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/sd-modulator-backend.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/adc/sd-modulator-backend.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sigma delta modulator backend
+
+maintainers:
+ - Olivier Moysan <olivier.moysan@...s.st.com>
+
+properties:
+ compatible:
+ enum:
+ - ti,ads1201
+
+ '#io-backend-cells':
+ const: 0
+
+ reg:
+ maxItems: 1
+
+ vref-supply:
+ description: Phandle to the vref input analog reference voltage.
+
+required:
+ - compatible
+ - '#io-backend-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ ads1201: adc {
+ compatible = "ti,ads1201";
+ #io-backend-cells = <0>;
+ };
+
+...
--
2.25.1
Powered by blists - more mailing lists