> The TI wilink chips (TiWi, wl12xx, wl18xx) have wifi on SDIO and BT on > UART but they share the same clock. So, the next question would be what > if I just want to enable one or the other (and take that decision at > runtime) ? At least for the clock is it not an issue. The generic clock framework does "reference" counting. It will only turn the clock off when all users have said to turn it off. So put a phandle to the clock in all nodes which use it. I've not looked at regulators, but i would hope it also does reference counting of a regulators users. Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html