aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPartha Basak <[email protected]>2010-09-21 19:23:04 +0200
committerPaul Walmsley <[email protected]>2010-09-22 09:19:54 -0600
commit4ef7aca895b2d06c07ff9d5f378af84bbf757e43 (patch)
tree1d2b64960a1c93649b7a8f82cc99b4a08b0c7772 /tools/perf/scripts/python
parent9980ce53c97392a3dbdc9d1ac3e455d79b4167ed (diff)
OMAP: hwmod: Handle opt clocks node using clk_add_alias
For every optional clock present per hwmod per omap-device, this function adds an entry in the clocks list of the form <dev-id=dev_name, con-id=role>, if an entry is already present in the list of the form <dev-id=NULL, con-id=role>. The function is called from within the framework inside omap_device_build_ss(), after omap_device_register. This allows drivers to get a pointer to its optional clocks based on its role by calling clk_get(<dev*>, <role>). Link to discussions related to this patch: http://www.spinics.net/lists/linux-omap/msg34809.html Signed-off-by: Charulatha V <[email protected]> Signed-off-by: Partha Basak <[email protected]> Signed-off-by: Benoit Cousson <[email protected]> Signed-off-by: Rajendra Nayak <[email protected]> [[email protected]: simplified loop iterator; removed the superfluous clk_get(), using the clk_get() in clk_add_alias() instead] Signed-off-by: Paul Walmsley <[email protected]> Acked-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions