Messages in this thread | | | Date | Tue, 28 Jul 2009 14:39:59 +0100 | From | Ian Molton <> | Subject | Re: [PATCH] tmio_mmc: Optionally support using platform clock |
| |
Guennadi Liakhovetski wrote: > If the platform device has a clock associated with the tmio-mmc device, > use it.
As RMK has stated manny times before now, you cannot pass struct clks to devices like this, they should be claimed using the clk api.
The problem for tmio-mmc is that the struct clk is tied to the architecture code, so at present we cant create new clk providers. What we need is for the clk api to be divorced from the arch code so that the TMIO MFD driver can create its own clocks that can be claimed by its children.
| |