]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: sunxi: Add Allwinner A10s/A13 CLK driver
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 2 Aug 2018 14:24:26 +0000 (19:54 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 18 Jan 2019 16:49:08 +0000 (22:19 +0530)
commitc8e743c1e8bc2aed79ce15bc4bc8f0e15d3fa1c4
treefb0a86ef0d8742a55e8354b7fbeee52ee0ef1543
parent6590bd8c47b47ae97ac43efd17c8a0e2f5ddb855
clk: sunxi: Add Allwinner A10s/A13 CLK driver

Add initial clock driver for Allwinner A10s/A13.

- Implement USB ahb and USB clocks via ccu_clk_gate table
  for A10s/A13, so it can accessed in common clk enable and
  disable functions from clk_sunxi.c
- Implement USB resets via ccu_reset table for A10s/A13,
  so it can accessed in common reset deassert and assert
  functions from reset-sunxi.c

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi/Kconfig
drivers/clk/sunxi/Makefile
drivers/clk/sunxi/clk_a10s.c [new file with mode: 0644]