
18 Feb
2021
18 Feb
'21
5:45 a.m.
On Thu, 11 Feb 2021 at 01:48, Marek Szyprowski m.szyprowski@samsung.com 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@samsung.com
arch/sandbox/dts/test.dts | 24 ++++++++++++++++++- configs/sandbox_defconfig | 1 + test/dm/button.c | 50 +++++++++++++++++++++++++++++++++++++-- 3 files changed, 72 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org