[PATCH v6 2/5] button: add a simple Analog to Digital Converter device based button driver

Simon Glass sjg at chromium.org
Thu Feb 18 05:45:15 CET 2021


On Thu, 11 Feb 2021 at 01:48, Marek Szyprowski <m.szyprowski at samsung.com> wrote:
>
> Add a simple Analog to Digital Converter device based button driver. This
> driver binds to the 'adc-keys' device tree node.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> ---
>  drivers/button/Kconfig      |   8 ++
>  drivers/button/Makefile     |   1 +
>  drivers/button/button-adc.c | 146 ++++++++++++++++++++++++++++++++++++
>  3 files changed, 155 insertions(+)
>  create mode 100644 drivers/button/button-adc.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list