SSP: need clock driver for on-demand activation of MCLK/BCLK/LRCLK
This is the mirror of the SOF issue https://github.com/thesofproject/sof/issues/629
We need the ability to activate audio clocks independently either at boot or on-demand. This will require a dedicated kernel module registering the clocks with the clock framework (as done in the Skylake driver) as well as a new IPC.
@plbossart Should we add a new file in the drivers/clk/x86 folder? Does it make sense to reuse skl-ssp-clk.c?
On 2/22/19 1:11 AM, Bard Liao wrote:
@plbossart https://github.com/plbossart Should we add a new file in the drivers/clk/x86 folder? Does it make sense to reuse skl-ssp-clk.c?
The main point is really how this would be handled by firmware. Currently we have no IPC to tell the firmware to start the clocks on SSP (which really means start a dummy transfer).
We can certainly reuse from skl-ssp-clk.c but it's a second order problem. The first issue to agree on is how this will be told to the firmware.