lkml.org 
[lkml]   [2021]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[v2 0/8] Add support for ast2600 ADC
Date
This patch serials make aspeed_adc.c can support ast2600.
In additional,
patch #6 is used to improve the adc accurate
patch #7 is used to fix the clock issue in the original code.

Changes since v1:
dt-bindings:
- Fix the aspeed,adc.yaml check error.
- Add battery-sensing property.
aspeed_adc.c:
- Change the init flow:
Clock and reference voltage setting should be completed before adc
engine enable.
- Change the default sampling rate to meet most user case.
- Add patch #8 to suppoert battery sensing mode.

Billy Tsai (8):
dt-bindings: iio: adc: rename the aspeed adc yaml
dt-bindings: iio: adc: Binding ast2600 adc.
iio: adc: aspeed: completes the bitfield declare.
iio: adc: aspeed: Allow driver to support ast2600
iio: adc: aspeed: Add func to set sampling rate.
iio: adc: aspeed: Add compensation phase.
iio: adc: aspeed: Fix the calculate error of clock.
iio: adc: aspeed: Support battery sensing.

.../bindings/iio/adc/aspeed,adc.yaml | 79 ++++
.../bindings/iio/adc/aspeed,ast2400-adc.yaml | 55 ---
drivers/iio/adc/aspeed_adc.c | 376 ++++++++++++++----
3 files changed, 385 insertions(+), 125 deletions(-)
create mode 100644 Documentation/devicetree/bindings/iio/adc/aspeed,adc.yaml
delete mode 100644 Documentation/devicetree/bindings/iio/adc/aspeed,ast2400-adc.yaml

--
2.25.1

\
 
 \ /
  Last update: 2021-07-23 10:18    [W:0.130 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site