diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-01-11 11:18:20 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-13 20:09:30 +0000 |
commit | 1b8079381fa830b0b83754fd19a004e14b18cc85 (patch) | |
tree | 0676e968ec673d3d45437560a1ae163bdaca06fd /board/volmar | |
parent | b4c633d44da0eed262c177a10513535fee6f6bea (diff) | |
download | chrome-ec-1b8079381fa830b0b83754fd19a004e14b18cc85.tar.gz |
zephyr: adc: switch to using io-channels
There is a special property named "io-channels" which can be used to
specify ADC module and channel.
Switch to use the "io-channels" property in the named-adc-channels node
instead of custom "channel" property.
The "io-channels" also specifies the ADC module, so there is no more
need of choosing "cros-ec,adc" in dts files.
BUG=b:213210342
TEST=zmake testall && make sure the 'adc' console command shows correct
values
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I8b5b6a46ad6141fb0446cb9051cfd4eaa0c732fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3379806
Tested-by: Dawid Niedźwiecki <dn@semihalf.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/volmar')
0 files changed, 0 insertions, 0 deletions