u-boot/arch/sandbox/include/asm
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
..
bitops.h sandbox: Use the generic bitops headers 2015-11-05 10:52:14 -05:00
byteorder.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cache.h sandbox: Enable many more commands 2016-04-15 08:14:37 -06:00
clk.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
config.h sandbox: Set up global data before board_init_f() 2014-07-23 14:05:39 +01:00
errno.h sandbox: Add asm/errno.h 2012-09-29 10:00:29 -07:00
eth-raw-os.h sandbox: eth: Add support for using the 'lo' interface 2015-04-18 11:11:14 -06:00
eth.h sandbox: eth: Add a function to skip ping timeouts 2015-05-05 20:58:18 -06:00
getopt.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
global_data.h sandbox: Allow reading/writing of RAM buffer 2014-01-08 17:25:03 -07:00
gpio.h sandbox: gpio: doc: Fix parameter documentation 2016-06-19 17:05:55 -06:00
io.h sandbox: Add string and 16-bit I/O functions 2016-05-17 09:54:43 -06:00
mbox.h mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
processor.h dm: sandbox: pci: Add PCI support for sandbox 2015-04-16 19:27:43 -06:00
ptrace.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
reset.h reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc.h dm: rtc: sandbox: Add an emulated I2C RTC device 2015-05-05 20:58:39 -06:00
sdl.h sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
sections.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
sound.h build: define CPU only when arch/${ARCH}/cpu/${CPU} exists 2014-07-07 19:42:34 -04:00
spi.h dm: sf: sandbox: Convert SPI flash driver to driver model 2014-10-22 10:36:51 -06:00
state.h Rename reset to sysreset 2016-05-26 20:48:31 -06:00
string.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
system.h sandbox: change local_irq_save() to macro 2014-06-23 15:37:24 -06:00
test.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
types.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
u-boot-sandbox.h sandbox: Use the reset driver to handle reset 2015-07-21 17:39:31 -06:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00