Skip to content
Permalink
Srinivas-Kanda…
Switch branches/tags

Commits on Apr 14, 2021

  1. ASoC: codecs: wcd938x: add audio routing

    This patch adds audio routing for both playback and capture.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  2. ASoC: codecs: wcd938x: add capture dapm widgets

    This patch adds required dapm widgets for capture path.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  3. ASoC: codecs: wcd938x: add playback dapm widgets

    This patch adds required dapm widgets for playback.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  4. ASoC: codecs: wcd938x: add basic controls

    This patch adds basic controls found in wcd938x codec.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  5. ASoC: codecs: wcd938x-sdw: add SoundWire driver

    This patch adds support to SoundWire devices on WCD9380/WCD9385 Codec
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  6. ASoC: dt-bindings: wcd938x-sdw: add bindings for wcd938x-sdw

    Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC
    connected over SoundWire. This device has two SoundWire devices RX and
    TX respectively. This bindings is for those slave devices on WCD9380/WCD9385.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  7. ASoC: codecs: wcd938x: add basic driver

    This patch adds basic SoundWire codec driver to support for
    WCD938X TX and RX devices.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  8. ASoC: codecs: wcd-clsh: add new version support

    From WCD937X Class H controller has changed significantly, so add support
    to this new version for WCD937X and WCD938X Codecs.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021
  9. ASoC: dt-bindings: wcd938x: add bindings for wcd938x

    Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC
    connected over SoundWire. This device has two SoundWire device RX and
    TX respectively, supporting 4 x ADCs, ClassH, Ear, Aux PA, 2xHPH,
    7 x TX diff inputs, 8 DMICs, MBHC.
    
    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Srinivas-Kandagatla authored and intel-lab-lkp committed Apr 14, 2021

Commits on Apr 13, 2021

  1. ASoC: cs35l36: Fix an error handling path in 'cs35l36_i2c_probe()'

    If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should
    return directly as already done by the surrounding error handling paths.
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://lore.kernel.org/r/9fec48e75bc1d3c92626e6f6aca2344bda223379.1618145790.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Apr 13, 2021
  2. ASoC: cs35l35: Fix an error handling path in 'cs35l35_i2c_probe()'

    If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should
    return directly as already done by the surrounding error handling paths.
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://lore.kernel.org/r/15720439769ba94ffb65c90217392b0758b08f61.1618145369.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Apr 13, 2021
  3. Merge series "ASoC: simple-card-utils: prepare for multi support" fro…

    …m Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
    
    Hi Mark
    
    This patch-set is for v2 of Multi-CPU/Codec support,
    and some cleanups.
    v1 had patch-conflict on simple-card / audio-graph with below.
    v2 was solved it.
    
    	fa74c22
    	("ASoC: simple-card: fix possible uninitialized single_cpu local variable")
    
    I want to add new audio-graph-card2 driver which can support
    not only DPCM, but also Multi-CPU/Codec, and Codec2Codec.
    And it is also supporting audio-graph-card2 base custom driver.
    
    But before supporting such driver, we need to cleanup existing
    simple-card / audio-graph, because these and new driver are
    sharing code.
    
    Link: https://lore.kernel.org/r/87wntmod33.wl-kuninori.morimoto.gx@renesas.com
    Link: https://lore.kernel.org/r/20210408141639.GA39604@sirena.org.uk
    
    Kuninori Morimoto (12):
      ASoC: simple-card-utils: setup dai_props cpu_dai/codec_dai at initial timing
      ASoC: simple-card-utils: remove li->dais/li->conf
      ASoC: simple-card-utils: use for_each_prop_xxx()
      ASoC: simple-card-utils: remove asoc_simple_parse_xxx()
      ASoC: simple-card-utils: care multi DAI at asoc_simple_clean_reference()
      ASoC: simple-card-utils: indicate dai_fmt if exist
      ASoC: simple-card-utils: indicate missing CPU/Codec numbers for debug
      ASoC: simple-card-utils: add simple_props_to_xxx() macro
      ASoC: simple-card-utils: multi support at asoc_simple_canonicalize_cpu/platform()
      ASoC: simple-card-utils: tidyup debug info for clock
      ASoC: simple-card-utils: tidyup dev_dbg() to use 1 line
      ASoC: simple-card-utils: tidyup asoc_simple_parse_convert()
    
     include/sound/simple_card_utils.h     | 107 ++++++++++------
     sound/soc/generic/audio-graph-card.c  |  64 ++++------
     sound/soc/generic/simple-card-utils.c | 174 ++++++++++++++++----------
     sound/soc/generic/simple-card.c       |  70 ++++-------
     4 files changed, 226 insertions(+), 189 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 13, 2021
  4. ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE

    This patch adds missing MODULE_DEVICE_TABLE definition which generates
    correct modalias for automatic loading of this driver when it is built
    as an external module.
    
    Reported-by: Hulk Robot <hulkci@huawei.com>
    Signed-off-by: Chen Lifu <chenlifu@huawei.com>
    Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
    Link: https://lore.kernel.org/r/20210409015953.259688-1-chenlifu@huawei.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Chen Lifu authored and broonie committed Apr 13, 2021
  5. ASoC: simple-card-utils: tidyup asoc_simple_parse_convert()

    dev is not used. This patch removes it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87eefgwf8j.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  6. ASoC: simple-card-utils: tidyup dev_dbg() to use 1 line

    We can use 100 char now for 1 line.
    This patch tidyup unreadable dev_dbg() message.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87fszwwf8o.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  7. ASoC: simple-card-utils: tidyup debug info for clock

    simple-card / audio-graph can use clock as dai->clk or dai->sysclk.
    These related information should be indicated at same position.
    This patch tidyup it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87h7kcwf8t.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  8. ASoC: simple-card-utils: multi support at asoc_simple_canonicalize_cp…

    …u/platform()
    
    Current asoc_simple_canonicalize_cpu/platform() is assuming single CPU,
    single Platform, but we want to support Multi support.
    This patch is prepare for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87im4swf8y.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  9. ASoC: simple-card-utils: add simple_props_to_xxx() macro

    We shouldn't use dai_props->cpus/codecs/cpu_dai/codec_dai/codec_conf
    directly, because these are array to supporting multi CPU/Codec/Platform.
    This patch adds asoc_link_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87k0p8wf9b.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  10. ASoC: simple-card-utils: indicate missing CPU/Codec numbers for debug

    Now ALSA is supporting multi-CPU/Codec,
    thus, we want to know number of CPU/Codec when debugging.
    This patch indicates it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87lf9owf9g.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  11. ASoC: simple-card-utils: indicate dai_fmt if exist

    link->dai_fmt might be 0.
    Don't indicate it in such case when debugging.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87mtu4wf9k.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  12. ASoC: simple-card-utils: care multi DAI at asoc_simple_clean_reference()

    ASoC is now supporting multi DAI, but, current
    simple-card / audio-graph are assuming fixed single DAI.
    
    This patch cares multi DAI at asoc_simple_clean_reference()
    for of_node_put().
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87o8ekwf9p.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  13. ASoC: simple-card-utils: remove asoc_simple_parse_xxx()

    ASoC is now supporting multi DAI, but, current
    simple-card / audio-graph are assuming fixed single DAI.
    
    Now, asoc_simple_parse_xxx() macro is assuming single DAI.
    To support multi-CPU/Codec, this patch unpack asoc_simple_parse_xxx()
    macro, and uses "&dai_link->cpus[i]" instead of "dai_link->cpus".
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87pmz0wf9u.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  14. ASoC: simple-card-utils: use for_each_prop_xxx()

    ASoC is now supporting multi DAI, but, current
    simple-card / audio-graph are assuming fixed single DAI.
    
    This patch uses for_each_prop_xxx() to support multi DAI.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87r1jgwf9y.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  15. ASoC: simple-card-utils: remove li->dais/li->conf

    li->dais is same as number of CPU + Codec,
    li->conf is same as number of Codec when dummy-Codec.
    
    li->dais/li->conf are no longer needed.
    This patch removes these.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87sg3wwfa3.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  16. ASoC: simple-card-utils: setup dai_props cpu_dai/codec_dai at initial…

    … timing
    
    We couldn't setup dai_props cpu_dai/codec_dai at the initial timing,
    because "counting DAIs loop" and "detecting DAIs loop" were different.
    But we can do it now, because these are using same loops.
    
    This patch setups dai_props cpu_dai/codec_dai at the initial timing.
    It can removes triky code from simple-card / audio-graph.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87tuocwfa8.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  17. ASoC: meson: axg-frddr: fix fifo depth on g12 and sm1

    Previous fifo depth patch was only tested on axg, not g12 or sm1.
    Of course, while adding hw_params dai callback for the axg, I forgot to do
    the same for g12 and sm1, leaving the depth unset and breaking playback on
    these SoCs.
    
    Add hw_params callback to the g12 dai_ops to fix the problem.
    
    Fixes: 6f68acc ("ASoC: meson: axg-frddr: set fifo depth according to the period")
    Reported-by: Christian Hewitt <christianshewitt@gmail.com>
    Tested-by: Christian Hewitt <christianshewitt@gmail.com>
    Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
    Link: https://lore.kernel.org/r/20210412132256.89920-1-jbrunet@baylibre.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    jeromebrunet authored and broonie committed Apr 13, 2021

Commits on Apr 12, 2021

  1. Merge series "ASoC: SOF: Intel: descriptor corrections for TGL and AD…

    …L" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
    
    One missed property for TigerLake and need for separate descriptors
    between ADL-S and the other flavors.
    
    Libin Yang (1):
      ASoC: SOF: Intel: add missing use_acpi_target_states for TGL platforms
    
    Sathya Prakash M R (1):
      ASoC: SOF: Intel: Update ADL P to use its own descriptor
    
     sound/soc/sof/intel/pci-tgl.c | 20 +++++++++++++++++++-
     sound/soc/sof/intel/tgl.c     |  2 +-
     2 files changed, 20 insertions(+), 2 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 12, 2021
  2. Merge series "ASoC: SOF: simplify probe and report errors" from Ranja…

    …ni Sridharan <ranjani.sridharan@linux.intel.com>:
    
    These patches simplify the sof_probe_complete handling and
    address reporting of errors during probe.
    
    Peter Ujfalusi (2):
      ASoC: SOF: core: Add missing error prints to device probe operation
      ASoC: SOF: Simplify sof_probe_complete handling for acpi/pci/of
    
     sound/soc/sof/core.c         |  9 +++++++--
     sound/soc/sof/sof-acpi-dev.c | 18 +++---------------
     sound/soc/sof/sof-of-dev.c   | 18 +++---------------
     sound/soc/sof/sof-pci-dev.c  | 20 ++++----------------
     4 files changed, 17 insertions(+), 48 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 12, 2021
  3. Merge series "ASoC: SOF: simplify nocodec mode" from Ranjani Sridhara…

    …n <ranjani.sridharan@linux.intel.com>:
    
    This set of patches simplify the implementation
    of nocodec mode in SOF.
    
    Pierre-Louis Bossart (6):
      ASoC: SOF: add Kconfig option for probe workqueues
      ASoC: soc-acpi: add new fields for mach_params
      ASoC: SOF: change signature of set_mach_params() callback
      ASoC: SOF: Intel: update set_mach_params()
      ASoC: SOF: pcm: export snd_pcm_dai_link_fixup
      ASOC: SOF: simplify nocodec mode
    
     include/sound/soc-acpi.h  |  4 ++++
     include/sound/sof.h       |  3 ---
     sound/soc/sof/Kconfig     | 11 +++++++++++
     sound/soc/sof/intel/bdw.c |  8 ++++++--
     sound/soc/sof/intel/byt.c | 22 +++++++++++++---------
     sound/soc/sof/intel/hda.c |  8 ++++++--
     sound/soc/sof/intel/hda.h |  2 +-
     sound/soc/sof/nocodec.c   | 39 +++++++++++++++++++++------------------
     sound/soc/sof/ops.h       |  6 ++----
     sound/soc/sof/pcm.c       |  1 +
     sound/soc/sof/sof-audio.c | 34 +++++++++++++++-------------------
     sound/soc/sof/sof-priv.h  |  2 +-
     12 files changed, 81 insertions(+), 59 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 12, 2021
  4. ASoC: SOF: Intel: Update ADL P to use its own descriptor

    ADL P has specific machines and hence having its own
    table will help separate the machines and FW
    
    Reviewed-by: Bard Liao <bard.liao@intel.com>
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Signed-off-by: Sathya Prakash M R <sathya.prakash.m.r@intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20210412161519.13508-3-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    sathyap-chrome authored and broonie committed Apr 12, 2021
  5. ASoC: SOF: Intel: add missing use_acpi_target_states for TGL platforms

    All Intel TigerLake platforms should support the feature of getting
    the system state from acpi to deal with S0ix support.
    
    This was missed in previous commits, likely due to copy/paste from
    older code.
    
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Signed-off-by: Libin Yang <libin.yang@intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20210412161519.13508-2-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    libinyang authored and broonie committed Apr 12, 2021
  6. ASoC: SOF: topology: remove useless code

    The patch "ASoC: SOF: Intel: hda: assign link DMA channel at run-time"
    fixed the sof_link_hda_unload() to remove the call to the BE
    hw_free op but left the rest of code that become redundant.
    
    So, remove sof_link_hda_unload() along with the link_unload() op
    entirely as it is not longer needed.
    
    Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://lore.kernel.org/r/20210409220522.1542865-1-ranjani.sridharan@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ranj063 authored and broonie committed Apr 12, 2021
  7. ASoC: SOF: Kconfig: fix typo of SND_SOC_SOF_PCI

    It should be 'endif ## SND_SOC_SOF_PCI' instead of
    'endif ## SND_SOC_SOF_INTEL_PCI'
    
    Signed-off-by: Libin Yang <libin.yang@intel.com>
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Link: https://lore.kernel.org/r/20210409221308.1544000-1-ranjani.sridharan@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    libinyang authored and broonie committed Apr 12, 2021
Older