iio: adc: Add support for MAX8907 ADC cell
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 5 repliesIn review
- v24 patches 3 repliesSuperseded
- v14 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- explicitly assign values to channel naming enum
- add missing headers
- loosen regmap_read_poll_timeout() loop
- rename module description
---
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | regulator: dt-bindings: maxim,max8907: Document io-channel-cells propertyDocumentation/ | +3 | 0 replies | |
| 2/4 | mfd: max8907: Add ADC client supportdrivers/ include/ | +127 | 2 replies | |
| 3/4 | iio: adc: Add support for MAX8907 ADC celldrivers/ drivers/ drivers/ | +192 | 3 replies | |
| 4/4 | mfd: max8907: Add ADC celldrivers/ | +1 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Mark Brown | Conor Dooley | Jonathan Cameron |
|---|---|---|---|
| 1/4 | A-b | A-b | R-b |
| 2/4 | R-b | ||
| 3/4 | |||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/4] iio: adc: Add support for MAX8907 ADC cell
The MAX8907 PMIC has a dedicated ADC cell, which provides 8 ADC channels with information about different parts of the power system, including the battery, charger/plug, jack and thermal readings.
This patchset has 2 dependencies:
- patch 1 of the series requires this patch ("regulator: dt-bindings: maxim,max8907: Convert to DT schema")
https://lore.kernel.org/lkml/[email protected]/
- patch 4 of the series requires this patch
("leds: Add driver for MAX8907 LED cell")
https://lore.kernel.org/lkml/[email protected]/
Or to be sspecific, part that adds max8907-leds to max8907_cells
---
Changes in v2:
- remove unused register fields
- add prefixes to used register bits and macros
- default reference values indexed off the enum
- swap data array to __be16
- set bulk read size with sizeof
- return directly last regmap_update_bits in the max8907_adc_init()
- added comment for iio_device_set_parent()
- MAX8907_MASK_RST_CFG_INT_REF_EN > MAX8907_MASK_INT_REF_EN
- dropped kernel.h
Changes in v3:
- explicitly assign values to channel naming enum
- add missing headers
- loosen regmap_read_poll_timeout() loop
- rename module description
---
Svyatoslav Ryhel (4):
regulator: dt-bindings: maxim,max8907: Document io-channel-cells
property
mfd: max8907: Add ADC client support
iio: adc: Add support for MAX8907 ADC cell
mfd: max8907: Add ADC cell
.../bindings/regulator/maxim,max8907.yaml | 3 + drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/max8907-adc.c | 181 ++++++++++++++++++ drivers/mfd/max8907.c | 75 ++++++++ include/linux/mfd/max8907.h | 53 +++++ 6 files changed, 323 insertions(+) create mode 100644 drivers/iio/adc/max8907-adc.c
Signature · 1 line
2.53.0