linux icon indicating copy to clipboard operation
linux copied to clipboard

SSP: need clock driver for on-demand activation of MCLK/BCLK/LRCLK

Open plbossart opened this issue 7 years ago • 2 comments

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 avatar Nov 26 '18 18:11 plbossart

@plbossart Should we add a new file in the drivers/clk/x86 folder? Does it make sense to reuse skl-ssp-clk.c?

bardliao avatar Feb 22 '19 07:02 bardliao

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.

plbossart avatar Feb 22 '19 15:02 plbossart