[PATCH v2 0/4] Add support for the GE HealthCare PMC ADC

From: Herve Codina
Date: Thu Oct 03 2024 - 07:47:10 EST


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@xxxxxxxxxxx/

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

- 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