Skip to contentSkip to conversation

docs: iio: add documentation for ti-ads1015 driver

PATCH In review Flaviu Nistor 2 participants 3 messages Oct 21 – Oct 26

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: iio: add documentation for ti-ads1015 driver

Add documentation for the ADS1015 ADC IIO driver, which describes channels, IIO attributes, threshold events and ABI usage examples.

---
 Documentation/iio/index.rst      |   1 +
 Documentation/iio/ti-ads1015.rst | 129 +++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)
 create mode 100644 Documentation/iio/ti-ads1015.rst
Documentation/iio/index.rst +1 -0
index d0fb32f4b80f..47ba249dae0b 100644
@@ -43,3 +43,4 @@ Industrial I/O Kernel Drivers
    bno055
    ep93xx_adc
    opt4060
+   ti-ads1015
Documentation/iio/ti-ads1015.rst new file +129 -0

129 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 3 lines · On Wed, 21 Oct 2026 09:33:50 +0300 Flaviu Nistor <[email protected]>…

Add documentation for the ADS1015 ADC IIO driver, which describes channels, IIO attributes, threshold events and ABI usage examples.

Hi Flaviu
This is missing the 'why'?

We don't tend to add per driver documentation unless there are some oddities or unique aspects that aren't described by more generic documentation. The actual features are all discoverable so documenting those rarely makes sense.

If you have a reason that it makes sense to document this specific driver then state that clearly in this patch description.

Thanks,
Jonathan

Quoted 1 line
#2 lore raw
Quoted 9 lines · Jonathan Cameron
Quoted 3 lines · On Wed, 21 Oct 2026 09:33:50 +0300 Flaviu Nistor <[email protected]>…

Add documentation for the ADS1015 ADC IIO driver, which describes channels, IIO attributes, threshold events and ABI usage examples.

Hi Flaviu
This is missing the 'why'?

Hello Jonathan,

the "why" seems to be a misunderstanding on my side. I had the impression that is it a good practice (even expected) that each driver also has a documentation (as I see a much higher driver doc coverage in hwmon subsystem for example). When I have send a patch for this driver adding label support I observed that it has no documentation. Now is clear that this is no the case (at least for IIO subsystem), so please ignore this patch. Sorry for the noise.

Best regards,
Flaviu

Quoted 13 lines

We don't tend to add per driver documentation unless there are some oddities or unique aspects that aren't described by more generic documentation. The actual features are all discoverable so documenting those rarely makes sense.

If you have a reason that it makes sense to document this specific driver then state that clearly in this patch description.

Thanks,
Jonathan