Skip to content

Adding scale support to the lpc32xx ADC driver

Gregory CLEMENT linux-arm-kernel linux-devicetree linux-iio 2 versions – Applied

Status from this message: Applied,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesApplied
  2. v15 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- "dt-bindings: iio: adc: move lpc32xx-adc out of staging" and "iio:adc:lpc32xx use SPDX-License-Identifier" has been merged

- split "iio:adc:lpc32xx use SPDX-License-Identifier" in 2 patches one foe sorting and the second one for removal

- add reviewed-by from Rob Herring on the binding documentation patch

- add default in the switch/case in lpc32xx_read_raw()

- no more use scan_type.realbits and directly put the value in the IIO_CHAN_INFO_SCALE case

- keep the const for the struct iio_chan_spec and declare 2 of them.

- remove the unrelated and bad whitespace change.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4iio: adc: lpc32xx: Sort headersdrivers/iio/adc/lpc32xx_adc.c+9 -101 reply
2/4iio: adc: lpc32xx: Cleanup headersdrivers/iio/adc/lpc32xx_adc.c+0 -61 reply
3/4iio: adc: lpc32xx: Add scale featuredrivers/iio/adc/lpc32xx_adc.c+38 -61 reply
4/4dt-bindings: iio: adc: lpc32xx-adc: Document vref-supplyDocumentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt+5 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Adding scale support to the lpc32xx ADC driver

Hello,

This is the second version of a series adding the support of the scale feature to the lpc32xx ADC driver. In order to use it we need to have the voltage reference as a device tree property, however in order to be backward compatible, this property is optional and do not prevent to use the driver if missing.

I updated the binding documentation accordingly.

Gregory

Changelog:
v1 -> v2:

- "dt-bindings: iio: adc: move lpc32xx-adc out of staging" and "iio:adc:lpc32xx use SPDX-License-Identifier" has been merged

- split "iio:adc:lpc32xx use SPDX-License-Identifier" in 2 patches one foe sorting and the second one for removal

- add reviewed-by from Rob Herring on the binding documentation patch

- add default in the switch/case in lpc32xx_read_raw()

- no more use scan_type.realbits and directly put the value in the IIO_CHAN_INFO_SCALE case

- keep the const for the struct iio_chan_spec and declare 2 of them.

- remove the unrelated and bad whitespace change.

Gregory CLEMENT (4):
iio: adc: lpc32xx: Sort headers
iio: adc: lpc32xx: Cleanup headers
iio: adc: lpc32xx: Add scale feature
dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply

 .../bindings/iio/adc/lpc32xx-adc.txt          |  5 ++
 drivers/iio/adc/lpc32xx_adc.c                 | 59 +++++++++++++------
 2 files changed, 47 insertions(+), 17 deletions(-)
Signature · 1 line
2.20.1