Dear community, Could you please give me an advise how to implement properly (in terms of architecture design) enabling / disabling of external functional clock and power of a WLAN device from a (mac80211-based) device driver? We have a device on a board which needs to be powered on and clocked before driver can use it. There are several options: 1. Driver can call clk_get()/clk_enable() itself using name of the clock. 2. Driver can get struct clk* from platform data and call clk_enable() 3. Driver can call platform callback and request platform code to enable the clock. What is preferable way of doing it? I see there is no clk_get()/regulator_get() calls from the drivers/net/wireless/ code, nor *_enable(). For my understanding clocks and power are platform-specific. Other boards/platform using the same chip can require other clocks or not require them at all in case of self-clocked design. Same with power. Thank you and with best regards, Dmitry Tarnyagin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html