u-boot-brain/test/dm
Stephen Warren 135aa95002 clk: convert API to match reset/mailbox style
The following changes are made to the clock API:
* The concept of "clocks" and "peripheral clocks" are unified; each clock
  provider now implements a single set of clocks. This provides a simpler
  conceptual interface to clients, and better aligns with device tree
  clock bindings.
* Clocks are now identified with a single "struct clk", rather than
  requiring clients to store the clock provider device and clock identity
  values separately. For simple clock consumers, this isolates clients
  from internal details of the clock API.
* clk.h is split so it only contains the client/consumer API, whereas
  clk-uclass.h contains the provider API. This aligns with the recently
  added reset and mailbox APIs.
* clk_ops .of_xlate(), .request(), and .free() are added so providers
  can customize these operations if needed. This also aligns with the
  recently added reset and mailbox APIs.
* clk_disable() is added.
* All users of the current clock APIs are updated.
* Sandbox clock tests are updated to exercise clock lookup via DT, and
  clock enable/disable.
* rkclk_get_clk() is removed and replaced with standard APIs.

Buildman shows no clock-related errors for any board for which buildman
can download a toolchain.

test/py passes for sandbox (which invokes the dm clk test amongst
others).

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-06-19 17:05:55 -06:00
..
adc.c sandbox: add ADC unit tests 2015-11-02 10:38:00 +09:00
blk.c dm: sandbox: mmc: Enable building MMC code for sandbox 2016-05-17 09:54:43 -06:00
bus.c dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
clk.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
cmd_dm.c CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set 2015-12-07 08:35:23 -05:00
core.c test/dm/core.c: Make pre-reloc test use pre-reloc struct 2016-04-14 11:51:39 -06:00
eth.c dm: test: Add a new test case against dm eth codes for NULL pointer access 2015-10-29 14:05:52 -05:00
gpio.c dm: test: Add GPIO open drain tests 2016-06-03 22:14:20 -07:00
i2c.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
led.c dm: test: Add a test for the LED uclass 2015-07-21 17:39:32 -06:00
mailbox.c mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
Makefile reset: implement a reset test 2016-06-19 17:05:55 -06:00
mmc.c dm: mmc: test: Add tests for MMC 2016-05-17 09:54:43 -06:00
pci.c dm: test: Convert PCI tests to use the DM PCI API 2016-01-12 10:19:09 -07:00
pmic.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
ram.c dm: test: Add a test for the ram uclass 2015-07-21 17:39:32 -06:00
regmap.c test: Add a test for regmap 2015-07-21 17:39:33 -06:00
regulator.c dm: pmic: Split output from function 2015-07-21 17:39:26 -06:00
remoteproc.c test: Add basic tests for remoteproc 2015-10-22 14:18:40 -04:00
reset.c reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
sf.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
spi.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
spmi.c spmi: Add sandbox test driver 2016-04-01 17:18:12 -04:00
syscon.c dm: syscon: Allow finding devices by driver data 2016-01-24 12:07:19 +08:00
sysreset.c Rename reset to sysreset 2016-05-26 20:48:31 -06:00
test-driver.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-fdt.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-main.c test/dm: clear unit test failure count each run 2016-01-28 21:01:24 -07:00
test-uclass.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
timer.c sandbox: add a sandbox timer and basic test 2015-11-19 20:13:41 -07:00
usb.c dm: usb: Clean up USB after each test 2016-03-14 15:34:50 -06:00
video.c video: test: Adjust order of file closure 2016-02-06 13:57:15 +01:00