]> git.sur5r.net Git - u-boot/commit
tegra: fdt: Add function to return peripheral/clock ID
authorSimon Glass <sjg@chromium.org>
Tue, 6 Mar 2012 17:10:27 +0000 (17:10 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:48 +0000 (08:12 +0200)
commited2974493e838399eacd4bf88f38b215955688a8
tree8eccb7124c36adb71f53ccdb5ec44bf30a787790
parent9ab4ce223c1d991e92e15c9aa0f522d61072155d
tegra: fdt: Add function to return peripheral/clock ID

A common requirement is to find the clock ID for a peripheral. This is the
second cell of the 'clocks' property (the first being the phandle itself).

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/clock.c
arch/arm/include/asm/arch-tegra2/clock.h