diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-04-27 16:17:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-09 01:50:23 +0300 |
commit | 051ebe322800c5d9d382e67db51d1982d94ac7b7 (patch) | |
tree | 0dc9c9f06a6f46a6ca88fca5560d2cbf40c6b0f8 /cmd/Kconfig | |
parent | e097ce4304056452704f54245e28a6badb59fe06 (diff) | |
download | u-boot-051ebe322800c5d9d382e67db51d1982d94ac7b7.tar.xz |
cmd: add ADC cli commands
Add an 'adc' cli command to get information from adc devices and to read
"single shot" data.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index ae49b82471..eb14e08f77 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -601,6 +601,14 @@ config CMD_ARMFLASH help ARM Ltd reference designs flash partition access +config CMD_ADC + bool "adc - Access Analog to Digital Converters info and data" + select ADC + select DM_REGULATOR + help + Shows ADC device info and permit printing one-shot analog converted + data from a named Analog to Digital Converter. + config CMD_CLK bool "clk - Show clock frequencies" help |