1
0
Fork 0
alistair23-linux/sound/soc/intel/skylake
Sriram Periyasamy bc2bd45b1f
ASoC: Intel: Skylake: Parse nhlt and register clock device
When NHLT endpoint is present for a SSP then we create clock for that SSP.

MCLK is consistent across endpoints and configuration for an SSP, so query
only for first endpoint for an SSP.

For SCLK/SCLKFS, the best fit is queried from the NHLT configurations which
matches the clock rate requested. Best fit is decided based on below:

1. If rate matches with multiple configurations, then the first
   configuration is selected.

2. If for a selected fs and bits_per_sample, there are multiple endpoint
   configuration match, then the configuration with max number of
   channels is selected. So, the user has to set the rate which fits
   max number of channels

So we create a platform device and pass clock information parsed as
platform data.

Signed-off-by: Sriram Periyasamy <sriramx.periyasamy@intel.com>
Signed-off-by: Jaikrishna Nemallapudi <jaikrishnax.nemallapudi@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-29 15:39:47 +00:00
..
Makefile ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
bxt-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
cnl-sst-dsp.c ASoC: Intel: cnl: Add cnl dsp functions and registers 2017-08-03 11:07:23 +01:00
cnl-sst-dsp.h ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
cnl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
skl-debug.c ASoC: Intel: Skylake: Remove driver debugfs exit 2017-07-03 16:50:49 +01:00
skl-i2s.h ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl-messages.c ASoC: Intel: Skylake: Modify skl_dsp_set_dma_control API arguments 2017-10-09 10:22:40 +01:00
skl-nhlt.c ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl-nhlt.h ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt 2016-05-30 18:16:44 +01:00
skl-pcm.c ASoC: Intel: Skylake: Add dai load ops for dais from topology 2017-10-13 20:25:20 +01:00
skl-ssp-clk.h ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl-sst-cldma.c ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-cldma.h ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-dsp.c ASoC: Intel: Skylake: Fix DSP core ref count for init failure 2017-08-23 11:55:18 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Register dsp_fw_ops for kabylake 2017-04-26 15:47:45 +01:00
skl-sst-ipc.c ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-ipc.h ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: Move platform specific init to platform dsp_init() 2017-08-03 11:07:26 +01:00
skl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
skl-topology.c ASoC: Intel: Skylake: Decrease loglevel for topology loading 2017-10-25 14:00:33 +02:00
skl-topology.h ASoC: Intel: Skylake: Add dai load ops for dais from topology 2017-10-13 20:25:20 +01:00
skl-tplg-interface.h ASoC: Intel: Skylake: Add enum control for mic selection 2017-06-06 20:00:43 +01:00
skl.c ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl.h ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00