[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251223155534.220504-2-maxime.chevallier@bootlin.com>
Date: Tue, 23 Dec 2025 16:55:32 +0100
From: Maxime Chevallier <maxime.chevallier@...tlin.com>
To: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
nuno.sa@...log.com,
Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Marcelo Schmitt <marcelo.schmitt@...log.com>,
Matti Vaittinen <mazziesaccount@...il.com>,
Antoniu Miclaus <antoniu.miclaus@...log.com>,
Angelo Dureghello <adureghello@...libre.com>,
Tobias Sperling <tobias.sperling@...ting.com>,
Eason Yang <j2anfernee@...il.com>,
Marilene Andrade Garcia <marilene.agarcia@...il.com>,
Cosmin Tanislav <cosmin-gabriel.tanislav.xa@...esas.com>,
duje@...emihanovic.xyz,
herve.codina@...tlin.com,
Rodolfo Giometti <giometti@...eenne.com>
Cc: Maxime Chevallier <maxime.chevallier@...tlin.com>,
linux-iio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
thomas.petazzoni@...tlin.com
Subject: [PATCH 1/2] dt-bindings: iio: adc: add Texas Instruments TLA 2528
The TI TLA 2528 is a simple 8 channel, 12-bit ADC? Add a binding
documentation for it.
Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
---
.../bindings/iio/adc/ti,tla2528.yaml | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,tla2528.yaml
diff --git a/Documentation/devicetree/bindings/iio/adc/ti,tla2528.yaml b/Documentation/devicetree/bindings/iio/adc/ti,tla2528.yaml
new file mode 100644
index 000000000000..0ee326d77014
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/ti,tla2528.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/adc/ti,tla2528.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments TLA2528 8-channel 12bit I2C ADC
+
+maintainers:
+ - Maxime Chevallier <maxime.chevallier@...tlin.com>
+
+description: |
+ 12bit 8-channel I2C ADC.
+
+properties:
+ compatible:
+ const: ti,tla2528
+
+ reg:
+ maxItems: 1
+
+ vref-supply:
+ description: Supply for 2.35V to 5.5V reference voltage
+
+ "#io-channel-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - vref-supply
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ adc@17 {
+ compatible = "ti,tla2528";
+ reg = <0x17>;
+ vref-supply = <®_adc_supply>;
+ #io-channel-cells = <1>;
+ };
+ };
+...
--
2.49.0
Powered by blists - more mailing lists