clk: emev2: Add support for emev2 SMU clocks with DT
authorTakashi Yoshii <takasi-y@ops.dti.ne.jp>
Tue, 8 Oct 2013 05:32:17 +0000 (14:32 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sat, 14 Dec 2013 04:17:55 +0000 (13:17 +0900)
commit92ca6a8ce97e07206d474da5477d8da4e41bad6c
treed9bb7916e026c5e53ae5bda3e9113f9364506370
parentf94859c215b6d977794108a1a9a101239e393c09
clk: emev2: Add support for emev2 SMU clocks with DT

Device tree clock binding document for EMMA Mobile EV2 SMU,
And Common clock framework based implementation of it.
Following nodes are defined to describe clock tree.
- renesas,emev2-smu
- renesas,emev2-smu-clkdiv
- renesas,emev2-smu-gclk

These bindings are designed manually based on
 19UH0037EJ1000_SMU : System Management Unit User's Manual

So far, reparent is not implemented, and is fixed to index #0.
Clock tree description is not included, and should be provided
by device-tree.

Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/clock/emev2-clock.txt [new file with mode: 0644]
drivers/clk/shmobile/Makefile
drivers/clk/shmobile/clk-emev2.c [new file with mode: 0644]