Skip to content

Add StarFive SAR-ADC driver

Xingyu Wu linux-devicetree linux-iio lkml sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bindings: iio: adc: Add StarFive JHB100 SARADCDocumentation/devicetree/bindings/iio/adc/starfive,jhb100-saradc.yaml+62 -017 replies
2/2iio: adc: Add StarFive SAR-ADC driverMAINTAINERS drivers/iio/adc/Kconfig drivers/iio/adc/Makefile +1 more+996 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] Add StarFive SAR-ADC driver

Hi all,

This series adds an IIO ADC driver for the controller of StarFive Successive Approximation Register A/D converter (SAR-ADC).

The StarFive SAR-ADC is a 12-bit converter with up to 8 input channels and a fixed 1.8V reference domain. The driver provides raw and processed voltage readouts via IIO, runtime PM support, and threshold-based voltage monitoring.

Tested on StarFive JHB100 EVB with all ADC channels and monitor interrupt path.

Xingyu Wu (2):
bindings: iio: adc: Add StarFive JHB100 SARADC
iio: adc: Add StarFive SAR-ADC driver

 .../iio/adc/starfive,jhb100-saradc.yaml       |  62 ++
 MAINTAINERS                                   |   6 +
 drivers/iio/adc/Kconfig                       |  11 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/starfive-saradc.c             | 978 ++++++++++++++++++
 5 files changed, 1058 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/starfive,jhb100-saradc.yaml
 create mode 100644 drivers/iio/adc/starfive-saradc.c
Signature · 1 line
2.34.1