sh: add a list of parent configurations to struct clk
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 21 Jul 2010 10:13:06 +0000 (10:13 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 07:11:56 +0000 (16:11 +0900)
commitb5272b509a8570bb559156001e74ee162c5cb96a
treec0cfb7182b597c71a88536783fb9a6187d01396b
parent71c3ba9a94c88c43e7216869531c8fbbacd15d9b
sh: add a list of parent configurations to struct clk

Many system clocks can select a parent by writing a value to a specific field
in the configuration register. Add a list of parents and location and width of
the source selection field in the clock configuration register to struct clk to
assist in clk_set_parent() implementation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/linux/sh_clk.h