[PULL u-boot] Please pull u-boot-amlogic-20210223

Hi Tom,
These changes adds support for reading the ADC key on the Khadas VIM3 & VIM3L, in the same time it adds plumbing for ADC keys and a test for sandbox. This time with s/treshold/threshold/.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/6480
Thanks, Neil
The following changes since commit 496f49464d90b564da5f1a2f4eecb5553e01edf9:
Merge branch '2021-02-16-assorted-improvements' (2021-02-16 15:14:34 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210223
for you to fetch changes up to ceeb50b3bf074960ddfa541b7be3732b38e15c99:
button: add udevice forward declaration (2021-02-23 15:55:53 +0100)
---------------------------------------------------------------- - adds adc-keys button driver - fix meson-saradc driver to get reference voltage - add adc-keys test for sandbox - enable adc-keys for VIM3 & VIM3L boards - fix button.h build
---------------------------------------------------------------- Marek Szyprowski (5): dt-bindings: input: adc-keys bindings documentation button: add a simple Analog to Digital Converter device based button driver adc: meson-saradc: add support for getting reference voltage value configs: khadas-vim3(l): enable Function button support test: add a simple test for the adc-keys button driver
Neil Armstrong (1): button: add udevice forward declaration
arch/sandbox/dts/test.dts | 28 +++++- configs/khadas-vim3_defconfig | 2 + configs/khadas-vim3l_defconfig | 2 + configs/sandbox_defconfig | 1 + doc/device-tree-bindings/input/adc-keys.txt | 67 +++++++++++++ drivers/adc/meson-saradc.c | 21 ++++ drivers/button/Kconfig | 8 ++ drivers/button/Makefile | 1 + drivers/button/button-adc.c | 146 ++++++++++++++++++++++++++++ include/button.h | 2 + test/dm/button.c | 50 +++++++++- 11 files changed, 325 insertions(+), 3 deletions(-) create mode 100644 doc/device-tree-bindings/input/adc-keys.txt create mode 100644 drivers/button/button-adc.c

On Tue, Feb 23, 2021 at 03:58:25PM +0100, Neil Armstrong wrote:
Hi Tom,
These changes adds support for reading the ADC key on the Khadas VIM3 & VIM3L, in the same time it adds plumbing for ADC keys and a test for sandbox. This time with s/treshold/threshold/.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/6480
Thanks, Neil
The following changes since commit 496f49464d90b564da5f1a2f4eecb5553e01edf9:
Merge branch '2021-02-16-assorted-improvements' (2021-02-16 15:14:34 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210223
for you to fetch changes up to ceeb50b3bf074960ddfa541b7be3732b38e15c99:
button: add udevice forward declaration (2021-02-23 15:55:53 +0100)
- adds adc-keys button driver
- fix meson-saradc driver to get reference voltage
- add adc-keys test for sandbox
- enable adc-keys for VIM3 & VIM3L boards
- fix button.h build
I applied the PR yesterday, so just an incremental change to fix the "treshold" thing please, thanks!

On 23/02/2021 16:04, Tom Rini wrote:
On Tue, Feb 23, 2021 at 03:58:25PM +0100, Neil Armstrong wrote:
Hi Tom,
These changes adds support for reading the ADC key on the Khadas VIM3 & VIM3L, in the same time it adds plumbing for ADC keys and a test for sandbox. This time with s/treshold/threshold/.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/6480
Thanks, Neil
The following changes since commit 496f49464d90b564da5f1a2f4eecb5553e01edf9:
Merge branch '2021-02-16-assorted-improvements' (2021-02-16 15:14:34 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210223
for you to fetch changes up to ceeb50b3bf074960ddfa541b7be3732b38e15c99:
button: add udevice forward declaration (2021-02-23 15:55:53 +0100)
- adds adc-keys button driver
- fix meson-saradc driver to get reference voltage
- add adc-keys test for sandbox
- enable adc-keys for VIM3 & VIM3L boards
- fix button.h build
I applied the PR yesterday, so just an incremental change to fix the "treshold" thing please, thanks!
oops I misread, pushing asap
Neil
participants (2)
-
Neil Armstrong
-
Tom Rini