linux/sound/soc
Mark Brown b2fc1c08f7
Merge series "ASoC: rt1308-sdw: configure amplifier with set_tdm_slot()" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
When two (or more) amplifiers are on the same link, the integrator may:
a) assign dedicated slots for each of the amplifiers.
b) provide the same configuration to all amplifiers, and rely on
additional controls/processing in the amplifier to generate different
outputs.

case a) was the initial direction for SoundWire and is required for
amplifiers with limited capabilities, but to deal with orientation or
'posture' changes it's easier to implement case b) when the amplifier
can deal with multiple channels.

This patchset suggest the use of the set_tdm_slot() API to define
which of the channels will be consumed by what amplifiers. This maps
well with SoundWire's 'ChannelEnable' registers. The notion of
slot_width is however irrelevant here and ignored, and SoundWire ports
are typically single direction, so only one of the two masks shall be
used.

Pierre-Louis Bossart (2):
  ASoC: rt1308-sdw: add set_tdm_slot() support
  ASoC: rt1308-sdw: use slot and rx_mask to configure stream

 sound/soc/codecs/rt1308-sdw.c | 38 +++++++++++++++++++++++++++++++----
 sound/soc/codecs/rt1308-sdw.h |  2 ++
 2 files changed, 36 insertions(+), 4 deletions(-)

--
2.20.1
2020-03-26 19:04:33 +00:00
..
adi
amd ASoC: amd: Adding TDM support in hw_params. 2020-03-09 14:25:04 +00:00
atmel ASoC: mchp-i2s-mcc: make signed 1 bit bitfields unsigned 2020-03-25 21:51:28 +00:00
au1x sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
bcm ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
cirrus ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
codecs ASoC: rt1308-sdw: use slot and rx_mask to configure stream 2020-03-26 18:48:09 +00:00
dwc ASoC: dwc: dwc-i2s: use for_each_pcm_streams() macro 2020-02-18 23:37:09 +00:00
fsl ASoC: fsl: fsl_asrc_dma: use for_each_pcm_streams() macro 2020-02-18 23:37:10 +00:00
generic ASoC: simple-card-utils: use for_each_pcm_streams() 2020-03-09 14:25:03 +00:00
hisilicon
img
intel ASoC: Intel: common: Add mach table for tgl-max98373-rt5682 2020-03-26 17:55:29 +00:00
jz4740 ASoC: jz4740-i2s: Add support for the JZ4770 2020-03-24 17:16:01 +00:00
kirkwood ASoC: kirkwood: Drop superfluous ioctl PCM ops 2019-12-11 15:57:19 +00:00
mediatek ASoC: mediatek: use for_each_rtd_codecs/cpus_dai() macro 2020-03-10 13:35:21 +00:00
meson ASoC: meson: use for_each_rtd_codecs/cpus_dai() macro 2020-03-10 13:35:22 +00:00
mxs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
pxa ASoC: pxa: Enable AC'97 bus support for PXA machines 2020-03-26 19:04:30 +00:00
qcom ASoC: qcom: sdm845: handle soundwire stream 2020-03-18 21:25:53 +00:00
rockchip ASoC: Fixes for v5.4 2019-11-07 13:52:17 +01:00
samsung ASoC: samsung: Silence warnings during deferred probe 2020-02-28 17:28:29 +00:00
sh ASoC: sh: fsi: Restore devm_ioremap() alignment 2020-02-12 18:42:47 +00:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof ASoC: SOF: Intel: hda: call codec wake at chip init 2020-03-26 18:31:16 +00:00
spear ASoC: spear: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:06:18 +01:00
sprd ASoC: sprd: Allow the MCDT driver to build into modules 2020-03-05 13:15:17 +00:00
sti ASoC: sti: sti_uniperif: move .suspend/.resume to component 2020-01-21 17:04:37 +00:00
stm ASoC: stm32: i2s: manage rebind issue 2020-03-18 19:55:26 +00:00
sunxi Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-02-24 22:26:06 +00:00
tegra ASoC: tegra: tegra_wm8903: Support DAPM events for built-in microphone 2020-03-23 17:58:14 +00:00
ti ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret 2020-02-11 11:47:59 +00:00
txx9 ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
uniphier ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
ux500 ASoC: ux500: ux500_msp_dai: remove unused DAI .suspend/.resume 2020-01-21 17:06:13 +00:00
xilinx ASoC: xilinx: Use managed buffer allocation 2019-12-11 16:43:25 +00:00
xtensa ASoC: xtensa: Use managed buffer allocation 2019-12-11 16:43:26 +00:00
zte ASoC: zte: zx-tdm: remove redundant variables dev 2020-03-11 17:59:49 +00:00
Kconfig ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
Makefile ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-component: tidyup snd_soc_pcm_component_sync_stop() 2020-02-28 17:06:09 +00:00
soc-compress.c ASoC: Return error if the function does not support multi-cpu 2020-02-26 17:35:04 +00:00
soc-core.c ASoC: soc-core: Merge CPU/Codec for soc_dai_pcm_new() 2020-03-20 20:45:35 +00:00
soc-dai.c ASoC: soc-pcm: add snd_soc_dai_get_pcm_stream() 2020-02-24 21:18:28 +00:00
soc-dapm.c ASoC: soc-dapm: Merge for_each_rtd_cpu/codec_dais() 2020-03-20 20:45:34 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: Return error if the function does not support multi-cpu 2020-02-26 17:35:04 +00:00
soc-io.c
soc-jack.c ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report 2019-11-12 17:12:56 +00:00
soc-ops.c ASoC: soc-ops: use snd_soc_card_get_kcontrol() at snd_soc_limit_volume() 2019-10-03 14:37:20 +01:00
soc-pcm.c ASoC: soc-pcm: Merge for_each_rtd_cpu/codec_dais() 2020-03-20 20:45:35 +00:00
soc-topology.c Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-03-13 18:52:23 +00:00
soc-utils.c ASoC: utils: Drop superfluous ioctl PCM ops 2019-12-11 16:00:48 +00:00