1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

test/py: add tests for the button commands

Adds tests for the button commands.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:
Philippe Reynes
2020-07-24 18:19:51 +02:00
committed by Simon Glass
parent 5f9228691c
commit a6c6f0f0c8
2 changed files with 33 additions and 0 deletions

View File

@@ -51,6 +51,20 @@
#sound-dai-cells = <1>;
};
buttons {
compatible = "gpio-keys";
summer {
gpios = <&gpio_a 3 0>;
label = "summer";
};
christmas {
gpios = <&gpio_a 4 0>;
label = "christmas";
};
};
cros_ec: cros-ec {
reg = <0 0>;
compatible = "google,cros-ec-sandbox";