devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add SARADC support on Sophgo SoC
@ 2024-07-02 11:52 Thomas Bonnefille
  2024-07-02 11:52 ` [PATCH 1/3] dt-bindings: iio: adc: sophgo,cv18xx-saradc.yaml: Add Sophgo SARADC binding documentation Thomas Bonnefille
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Thomas Bonnefille @ 2024-07-02 11:52 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Chen Wang, Inochi Amaoto,
	Paul Walmsley, Palmer Dabbelt, Albert Ou
  Cc: Thomas Petazzoni, Miquèl Raynal, linux-iio, devicetree,
	linux-kernel, linux-riscv, Thomas Bonnefille

This patchset adds initial ADC support for Sophgo SoC. This driver can
work with or without interrupt and in "Active" and "No-Die" domains
depending on if a clock is provided.

Link: https://github.com/sophgo/sophgo-doc/releases/download/sg2002-trm-v1.0/sg2002_trm_en.pdf

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
---
Thomas Bonnefille (3):
      dt-bindings: iio: adc: sophgo,cv18xx-saradc.yaml: Add Sophgo SARADC binding documentation
      iio: adc: sophgo-saradc: Add driver for Sophgo SARADC
      riscv: dts: sophgo: Add SARADC configuration

 .../bindings/iio/adc/sophgo,cv18xx-saradc.yaml     |  51 +++++
 MAINTAINERS                                        |   6 +
 arch/riscv/boot/dts/sophgo/cv18xx.dtsi             |  14 ++
 drivers/iio/adc/Kconfig                            |   9 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/sophgo-adc.c                       | 223 +++++++++++++++++++++
 6 files changed, 304 insertions(+)
---
base-commit: be18997d95c888e7a432d46045644f396286775b
change-id: 20240527-sg2002-adc-924b862cd3f2

Best regards,
-- 
Thomas Bonnefille <thomas.bonnefille@bootlin.com>


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-04 10:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 11:52 [PATCH 0/3] Add SARADC support on Sophgo SoC Thomas Bonnefille
2024-07-02 11:52 ` [PATCH 1/3] dt-bindings: iio: adc: sophgo,cv18xx-saradc.yaml: Add Sophgo SARADC binding documentation Thomas Bonnefille
2024-07-02 13:30   ` Rob Herring (Arm)
2024-07-03  0:04   ` Chen Wang
2024-07-03  5:08   ` Krzysztof Kozlowski
2024-07-04  8:35     ` Thomas Bonnefille
2024-07-04  8:39       ` Krzysztof Kozlowski
2024-07-04  8:52         ` Thomas Bonnefille
2024-07-04  8:55           ` Inochi Amaoto
2024-07-04 10:47           ` Krzysztof Kozlowski
2024-07-02 11:52 ` [PATCH 2/3] iio: adc: sophgo-saradc: Add driver for Sophgo SARADC Thomas Bonnefille
2024-07-02 17:01   ` Jonathan Cameron
2024-07-03  0:18   ` Chen Wang
2024-07-02 11:52 ` [PATCH 3/3] riscv: dts: sophgo: Add SARADC configuration Thomas Bonnefille
2024-07-03  5:09   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).