devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add support for the GE HealthCare PMC ADC
@ 2024-10-03 11:46 Herve Codina
  2024-10-03 11:46 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add an entry for GE HealthCare Herve Codina
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Herve Codina @ 2024-10-03 11:46 UTC (permalink / raw)
  To: Herve Codina, David Lechner, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-iio, devicetree, linux-kernel, Luca Ceresoli, Ian Ray,
	Thomas Petazzoni

Hi,

The GE HealthCare PMC Analog to Digital Converter (ADC) is a 16-Channel
voltage and current, 16-Bit ADC with an I2C Interface.

Compare to the previous iteration, this v2 series mainly:
  - Add a description in the binding
  - Fixed sign_extend32() parameter
  - Use dev_err_probe()
  - Remove scale and use processed channels

Best regards,
Herve Codina

Changes v1 -> v2
  v1: https://lore.kernel.org/lkml/20241001074618.350785-1-herve.codina@bootlin.com/

  - Patch 1
    Add 'Acked-by: Conor Dooley <conor.dooley@microchip.com>'

  - Patch 2
    Add a desccription for the 'osc' clock.

  - Patch 3
    Replace sign_extend32(ret, 16) by sign_extend32(ret, 15).
    Use dev_err_probe().
    Remove scale and use processed channels as values are read in IIO
    expected unit (mV or mA).

  - Patch 4
    No changes

Herve Codina (4):
  dt-bindings: vendor-prefixes: Add an entry for GE HealthCare
  dt-bindings: iio: adc: Add the GE HealthCare PMC ADC
  iio: adc: Add support for the GE HealthCare PMC ADC
  MAINTAINERS: add the GE HealthCare PMC ADC driver entry

 .../bindings/iio/adc/gehc,pmc-adc.yaml        |  86 +++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   8 +
 drivers/iio/adc/Kconfig                       |  10 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/gehc-pmc-adc.c                | 227 ++++++++++++++++++
 include/dt-bindings/iio/adc/gehc,pmc-adc.h    |  10 +
 7 files changed, 344 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/gehc,pmc-adc.yaml
 create mode 100644 drivers/iio/adc/gehc-pmc-adc.c
 create mode 100644 include/dt-bindings/iio/adc/gehc,pmc-adc.h

-- 
2.46.1


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

end of thread, other threads:[~2024-10-06 13:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03 11:46 [PATCH v2 0/4] Add support for the GE HealthCare PMC ADC Herve Codina
2024-10-03 11:46 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add an entry for GE HealthCare Herve Codina
2024-10-03 11:55   ` Ian Ray
2024-10-03 11:46 ` [PATCH v2 2/4] dt-bindings: iio: adc: Add the GE HealthCare PMC ADC Herve Codina
2024-10-03 11:56   ` Ian Ray
2024-10-03 16:16   ` Conor Dooley
2024-10-03 11:46 ` [PATCH v2 3/4] iio: adc: Add support for " Herve Codina
2024-10-03 11:56   ` Ian Ray
2024-10-03 13:39   ` David Lechner
2024-10-06 13:05     ` Jonathan Cameron
2024-10-03 11:46 ` [PATCH v2 4/4] MAINTAINERS: add the GE HealthCare PMC ADC driver entry Herve Codina
2024-10-03 11:56   ` Ian Ray

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).