u-boot/arch/arm/include/asm/arch-rockchip
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
..
clock.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
cru_rk3036.h rockchip: rk3036: Add clock driver 2015-12-01 08:07:22 -07:00
cru_rk3288.h rockchip: rk3288: Add clock support for the gmac ethernet interface 2016-05-27 09:00:48 -06:00
ddr_rk3288.h rockchip: rk3288: Add SDRAM init 2015-09-02 21:28:24 -06:00
edp_rk3288.h rockchip: video: Add a display driver for rockchip eDP 2016-01-21 20:42:36 -07:00
gpio.h rockchip: gpio: Add rockchip GPIO driver 2015-09-02 21:28:23 -06:00
grf_rk3036.h rockchip: rk3036: Add header files for GRF 2015-12-01 08:07:22 -07:00
grf_rk3288.h rockchip: rk3288: grf: Define GRF_SOC_CON1 and GRF_SOC_CON3 2016-05-27 09:00:48 -06:00
hardware.h rockchip: Tidy up the register-access macros 2016-01-21 20:42:37 -07:00
hdmi_rk3288.h rockchip: video: Add a display driver for rockchip HDMI 2016-01-21 20:42:36 -07:00
i2c.h rockchip: Add I2C driver 2015-09-02 21:28:24 -06:00
lvds_rk3288.h rockchip: video: Add a display driver for rockchip LVDS 2016-03-14 22:06:33 +01:00
periph.h rockchip: Add basic peripheral and clock definitions 2015-09-02 21:28:23 -06:00
pmu_rk3288.h rockchip: Convert the PMU IOMUX registers into an array 2016-01-21 20:42:34 -07:00
pwm.h pwm: rockchip: Add a PWM driver for Rockchip SoCs 2016-01-21 20:42:36 -07:00
sdram.h rockchip: rk3288: Add SDRAM init 2015-09-02 21:28:24 -06:00
sdram_rk3036.h rockchip: add rk3036 sdram driver 2015-12-01 08:07:22 -07:00
timer.h rockchip: add timer driver 2015-12-01 08:07:22 -07:00
uart.h rockchip: add early uart driver 2015-12-01 08:07:22 -07:00
vop_rk3288.h rockchip: video: Add LVDS support in vop driver 2016-03-14 22:24:10 +01:00