On Thu, Sep 19, 2019 at 01:50:20PM +0100, Mark Brown wrote: > On Thu, Sep 19, 2019 at 09:59:24AM +0200, Krzysztof Kozlowski wrote: > > On Wed, Sep 18, 2019 at 12:46:27PM +0200, Sylwester Nawrocki wrote: > > > The WM1811/WM8994/WM8958 audio CODEC DT bindings specify two optional > > > clocks: "MCLK1", "MCLK2". Add code for getting those clocks in the MFD > > > part of the wm8994 driver so they can be further handled in the audio > > > CODEC part. > > > I think these are needed only for the codec so how about getting them in > > codec's probe? > > Yeah. IIRC when these were added a machine driver was grabbing them. I > don't think that machine driver ever made it's way upstream though. If you mean for the Arizona stuff, the machine driver using that was sound/soc/samsung/tm2_wm5110.c. Sylwester upstreamed it along with the patches. I think on wm8994 the clocks probably are only needed by the audio part of the driver, so probably can be moved in there, although as a disclaimer I have done a lot less with parts of that era. However on Arizona the clocking is needed from various parts of the driver so couldn't be moved exclusively to the codec driver. Thanks, Charles