On Wednesday 28 January 2015 10:27:00 Zubair Lutfullah Kakakhel wrote: > > There is on-going work to fix jz4740, add jz4780 and shake the entire clock tree as well. > > Patch 14 onwards in this series > http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ Right, that looks good. > Instead of lumping things out in huge changesets, I intended to push out the minor patches that are disjoint. > > That was the purpose of sending these two patches. > > Current binding requires the clock-name to be "rtc". Hence the name at the moment. The problem with the binding is that once you've established it, it is very hard to change. One possible solution would be to try 'of_clk_get(dev->of_node, 0)' in the driver first, and only then call clk_get(dev, "rtc"). Doing that, you can have an anonymous clock in the DT without waiting for the clock driver to get merged first or breaking the existing setup. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html