ARM: tegra: clock: Add shared bus clock type
authorColin Cross <ccross@android.com>
Sun, 13 Feb 2011 00:14:03 +0000 (16:14 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:10:46 +0000 (00:10 -0800)
commit310992ca4b994db8c869e1c0f32c004b7a196147
treed6fc862591aef9f29f97c6edc3ca2218847eebc1
parent89a5fb84dabdf6daeae7d5301a6b1ae4754425dd
ARM: tegra: clock: Add shared bus clock type

Some clocks may have multiple downstream users that need to request a
higher clock rate.  Shared bus clocks provide a unique shared_bus_user
clock to each user.  The frequency of the bus is set to the highest
enabled shared_bus_user clock, with a minimum value set by the
shared bus.  Drivers can use clk_enable and clk_disable to enable
or disable their requirement, and clk_set_rate to set the minimum rate.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/tegra2_clocks.c