[PATCH v6 5/5] test: add a simple test for the adc-keys button driver

Neil Armstrong narmstrong at baylibre.com
Thu Feb 18 10:28:01 CET 2021


Hi Marek,

On 11/02/2021 09:47, Marek Szyprowski wrote:
> Add adc-keys device to the sandbox/test.dts and connect it to the channel
> #3 of the sandbox_adc driver. The default values sampled by sandbox_adc
> driver determines that button3 and button4 are released and button5 is
> pressed.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> ---
>  arch/sandbox/dts/test.dts | 24 ++++++++++++++++++-
>  configs/sandbox_defconfig |  1 +
>  test/dm/button.c          | 50 +++++++++++++++++++++++++++++++++++++--
>  3 files changed, 72 insertions(+), 3 deletions(-)
> 

[...]

Everything is reviewed, can you re-send with the missing "linux,code" ? and I'll push it.

Neil


More information about the U-Boot mailing list