table of contents
other versions
DEVM_GET_CLK_FROM_CH(9) | Clock Framework | DEVM_GET_CLK_FROM_CH(9) |
NAME¶
devm_get_clk_from_child - lookup and obtain a managed reference to a clock producer from child node.
SYNOPSIS¶
struct clk * devm_get_clk_from_child(struct device * dev, struct device_node * np, const char * con_id);
ARGUMENTS¶
struct device * dev
device for clock “consumer”
struct device_node * np
pointer to clock consumer node
const char * con_id
clock consumer ID
DESCRIPTION¶
This function parses the clocks, and uses them to look up the struct clk from the registered list of clock providers by using np and con_id
The clock will automatically be freed when the device is unbound from the bus.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |