u-boot/test
Alper Nebi Yasak e712245d08 sandbox: cros-ec: Add tests for the Chromium OS EC PWM driver
This patch adds a limited pulse-width modulator to sandbox's Chromium OS
Embedded Controller emulation. The emulated PWM device supports multiple
channels but can only set a duty cycle for each, as the actual EC
doesn't expose any functionality or information other than that. Though
the EC supports specifying the PWM channel by its type (e.g. display
backlight, keyboard backlight), this is not implemented in the emulation
as nothing in U-Boot uses this type specification.

This emulated PWM device is then used to test the Chromium OS PWM driver
in sandbox. Adding the required device node to the sandbox test
device-tree unfortunately makes it the first PWM device, so this also
touches some other tests to make sure they still use the sandbox PWM.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-07-06 10:38:03 -06:00
..
cmd sandbox: cros-ec: Add tests for the Chromium OS EC PWM driver 2021-07-06 10:38:03 -06:00
dm sandbox: cros-ec: Add tests for the Chromium OS EC PWM driver 2021-07-06 10:38:03 -06:00
env sandbox: add test of CONFIG_ENV_IMPORT_FDT 2021-05-04 12:52:30 -04:00
fs Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
image spl: test: Add a test for spl_load_simple_fit() 2021-03-12 09:57:31 -05:00
lib test: lmb: add test for lmb_reserve_flags 2021-06-07 10:48:40 -04:00
log log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
optee test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
overlay test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
py test/py: rewrite sqfsls command test suite 2021-07-05 15:29:12 -04:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
bootm.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
cmd_ut.c test: Convert print tests to use ut framework 2021-06-08 11:39:09 -04:00
command_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
Kconfig test: linking test/compression.c fails 2020-11-05 09:11:31 -07:00
Makefile spl: test: Add a test for spl_load_simple_fit() 2021-03-12 09:57:31 -05:00
nokia_rx51_test.sh Docker/CI: Update to "focal" and latest build 2021-07-05 15:28:32 -04:00
print_ut.c display_options: Split print_buffer() into two functions 2021-06-08 11:39:09 -04:00
run test: Run sandbox_spl tests on sandbox_noinst 2021-03-26 17:03:09 +13:00
str_ut.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
test-main.c test: Use positive conditional in test_matches() 2021-04-29 03:23:39 -07:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c Prepare v2021.04-rc4 2021-03-15 12:15:38 -04:00
ut.c display_options: Drop two spaces before the ASCII column 2021-06-08 11:39:09 -04:00