Re: [PATCH v4 1/2] dt-bindings: iio: adc: ti,ads112c04: Add binding for ADS112C04
Conor Dooley <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260811-union-editor-1d475c5f32cc@spud> |
On Tue, Aug 11, 2026 at 10:48:37AM +0800, Kyle Hsieh wrote: > Add device tree binding documentation for Texas Instruments ADS112C04 > I2C Analog-to-Digital Converters. > > These devices provide 4-channel, 16-bit delta-sigma ADCs with an I2C > interface, programmable gain amplifier (PGA), and data-ready (DRDY) > interrupt output. > > The binding uses child nodes to dynamically define the connected > single-ended or differential channels. > > Excitation current, burn-out current, and reference source properties > are also included to fully describe the chip's hardware capabilities, > aligned with the ti,ads112c14 binding conventions. > > Signed-off-by: Kyle Hsieh <[email protected]> > +patternProperties: > + "^channel@[0-9a-b]$": > + $ref: adc.yaml > + unevaluatedProperties: false > + properties: > + reg: > + items: > + - maximum: 11 > + > + single-channel: > + maximum: 3 Can someone explain to me please why the maximum for this is 3 when reg goes up to 11? What do the additional reg entries beyond 3 represent? > + > + diff-channels: > + items: > + maximum: 3 > + > + excitation-channels: > + maxItems: 2 > + items: > + maximum: 5 > + description: > + Additionally to AIN0-AIN3, IDAC1/IDAC2 can also be routed to > + REFP0 (4) and REFN0 (5).
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCantUUAAKCRB4tDGHoIJi 0uXNAP419etxKcz2HNSl4Awhxc7uZQe4W1I+bCRflNZ0CuWUKQD7BheSUA08mAxh T26a4flDWaeTxbKoYczMndukD7peyQg= =Khh5 -----END PGP SIGNATURE-----