Re: [PATCH v3 1/9] dt-bindings: iio: adc: support the TI ADS126x ADC family
"Kurt Borja" <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon Aug 10, 2026 at 3:46 AM -05, Bartosz Golaszewski wrote: > On Sat, 8 Aug 2026 05:58:23 +0200, Kurt Borja <[email protected]> said: >> The ADS1262 and ADS1263 are 32-bit, 38.4-kSPS delta-sigma ADCs with an >> integrated PGA, internal reference, excitation and burn-out current >> sources for sensor biasing and diagnostics. The ADS1263 adds a second, >> 24-bit delta-sigma ADC (ADC2) for background measurements. >> >> Each can configure its own voltage reference source, the two excitation >> current sources (IDAC), plus input and excitation channels rotation for >> offset and IDAC mismatch cancellation. This lets the device drive and >> ratiometrically measure RTDs and other resistive sensors. >> >> Signed-off-by: Kurt Borja <[email protected]> >> --- > > ... > >> + >> + '#gpio-cells': >> + const: 2 >> + >> + gpio-controller: true >> + > > Where is the gpio-controller functionality in this series? I don't see the > driver providing any GPIO chip. > > Bart Hi Bart, The chip does have GPIO controller capabilities that are not yet implemented in the driver. I'll go for it after this series. I don't know why b4's --auto-to-cc is picking up the GPIO list. I'll drop it until I actually implement the feature. This chip is compatible with gpio_regmap but it would need (*request) and (*free) callbacks for it to work properly, as this chip doesn't have pinctrl. My plan was to extend these callbacks to gpio_regmap_config. What do you think of this? -- Thanks, ~ Kurt