u-boot/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cros-ec-keyboard.dtsi sandbox: avoid duplicate backslash input 2020-10-06 09:07:54 -06:00
Makefile pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
overlay0.dts pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
overlay1.dts pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
sandbox.dts sandbox: Update dts files to reduce SPL size 2021-01-05 12:24:41 -07:00
sandbox.dtsi sandbox: dtsi: add rng 2021-03-27 13:59:36 +13:00
sandbox64.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
sandbox_pmic.dtsi dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
test.dts sandbox: cros-ec: Add tests for the Chromium OS EC PWM driver 2021-07-06 10:38:03 -06:00