davinci: enable easy top down traversal of clock tree
authorSekhar Nori <nsekhar@ti.com>
Mon, 31 Aug 2009 10:18:01 +0000 (15:48 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:19 +0000 (10:21 -0800)
commitf02bf3b396846f3da60b4962aeaae8652e20f0dd
treef2d4bb08184f81200eb6535dc1cf707fdf356ab5
parentcd87444802ddceaa2259bc5ac48c1d2e42a99a3f
davinci: enable easy top down traversal of clock tree

Achieve easy top down traversal of clock tree by keeping
track of each clock's list of children.

This is useful in supporting DVFS where clock rates of
all children need to be updated in an efficient manner.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/clock.h