Re: [PATCH v8 15/21] tegra: fdt: Add function to return peripheral/clock ID

2012-03-07 Thread Stephen Warren
On 03/06/2012 08:10 PM, Simon Glass wrote: 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 s...@chromium.org ... Changes in v8: - Only include

[PATCH v8 15/21] tegra: fdt: Add function to return peripheral/clock ID

2012-03-06 Thread Simon Glass
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 s...@chromium.org --- Changes in v4: - Add fdtdec function to return peripheral ID Changes in v6: - Move peripheral