![](https://secure.gravatar.com/avatar/8c9bfd9a73890a51c50c84b788616356.jpg?s=120&d=mm&r=g)
17 Aug
2013
17 Aug
'13
4:53 p.m.
On Sat, Aug 17, 2013 at 02:28:04PM +0200, Tomasz Figa wrote:
Also I would make this option required. Use a dummy clock for mux inputs that are grounded for a specific SoC.
Some clocks are not from CCM and we haven't defined in imx6q-clk.txt, so in most cases we can't provide a phandle for them, eg: spdif_ext. I think it's a bit hard to force it to be 'required'. An 'optional' looks more flexible to me and a default one is ensured even if it's missing.
<&clks 0> is the dummy clock. This can be used for all input clocks not defined by the SoC.
Where does this assumption come from? Is it documented anywhere?
This is how all i.MX clock bindings currently are. See Documentation/devicetree/bindings/clock/imx*-clock.txt
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |