Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge/sound upstream 20240805 #5132

Merged

Commits on Jul 29, 2024

  1. ASoC: fsl_micfil: Expand the range of FIFO watermark mask

    On the i.MX9x platforms, the mask of FIFO watermark
    is 0x1F, on i.MX8x platforms, the mask of FIFO watermark
    is 0X7. So use the mask 0x1F for all platforms to make them
    compatible.
    
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Link: https://patch.msgid.link/1721897694-6088-2-git-send-email-shengjiu.wang@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TE-N-ShengjiuWang authored and broonie committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    4ddd51c View commit details
    Browse the repository at this point in the history
  2. ASoC: fsl_micfil: Differentiate register access permission for platforms

    On i.MX9x platforms, the REG_MICFIL_FSYNC_CTRL, REG_MICFIL_VERID,
    REG_MICFIL_PARAM are added, but they are not existed on i.MX8x
    platforms.
    
    Use the existed micfil->soc->use_verid to distinguish the access
    permission for these platforms.
    
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Link: https://patch.msgid.link/1721897694-6088-3-git-send-email-shengjiu.wang@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TE-N-ShengjiuWang authored and broonie committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    aa4f76e View commit details
    Browse the repository at this point in the history
  3. ASoC: tas2781: Add TAS2563 into the Header

    Add TAS2563 into the Header in case of misunderstanding and add
    channel No information for error debug in tasdevice_dev_read.
    
    Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
    Link: https://patch.msgid.link/20240716064120.158-1-shenghao-ding@ti.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Shenghao-Ding authored and broonie committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e620b49 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. ASoC: rsnd: remove rsnd_mod_confirm_ssi() under DEBUG

    rsnd_mod_confirm_ssi() confirms mod sanity, it should always be
    confirmed, not only when DEBUG. This patch tidyup it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87ed7bk4qt.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    8056576 View commit details
    Browse the repository at this point in the history
  2. ASoC: rsnd: use pcm_dmaengine code

    rsnd is implementing own DMAEngine code, but we can replace it with
    pcm_dmaengine code, because these are almost same.
    Let's use existing and stable code.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87cymvk3t5.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    22c406c View commit details
    Browse the repository at this point in the history
  3. ASoC: fsl_micfil: Check the difference for i.MX8 and

    Merge series from Shengjiu Wang <shengjiu.wang@nxp.com>:
    
    There are some register difference for i.MX8 and i.MX9
    REG_MICFIL_FIFO_CTRL definition is updated.
    REG_MICFIL_FSYNC_CTRL, REG_MICFIL_VERID, REG_MICFIL_PARAM are added from
    i.MX9.
    broonie committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    af44175 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. soundwire: bus: suppress probe deferral errors

    Soundwire driver probe errors are currently being logged both by the bus
    code and driver core:
    
    	wsa884x-codec sdw:4:0:0217:0204:00:0: Probe of wsa884x-codec failed: -12
    	wsa884x-codec sdw:4:0:0217:0204:00:0: probe with driver wsa884x-codec failed with error -12
    
    Drop the redundant bus error message, which is also incorrectly being
    logged on probe deferral:
    
    	wsa884x-codec sdw:4:0:0217:0204:00:0: Probe of wsa884x-codec failed: -517
    
    Note that no soundwire driver uses the driver struct name field, which
    will be removed by a follow-on change.
    
    Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20240712140801.24267-2-johan+linaro@kernel.org
    Signed-off-by: Vinod Koul <vkoul@kernel.org>
    jhovold authored and vinodkoul committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d9a2b5e View commit details
    Browse the repository at this point in the history
  2. soundwire: bus: drop unused driver name field

    The soundwire driver name field is not currently used by any driver (and
    even appears to never have been used) so drop it.
    
    Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20240712140801.24267-3-johan+linaro@kernel.org
    Signed-off-by: Vinod Koul <vkoul@kernel.org>
    jhovold authored and vinodkoul committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    6dfbafd View commit details
    Browse the repository at this point in the history
  3. soundwire: bus: clean up probe warnings

    Clean up the probe warning messages by using a common succinct and
    greppable format (e.g. without __func__ and with a space after ':').
    
    Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    Link: https://lore.kernel.org/r/20240712140801.24267-4-johan+linaro@kernel.org
    Signed-off-by: Vinod Koul <vkoul@kernel.org>
    jhovold authored and vinodkoul committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    663229e View commit details
    Browse the repository at this point in the history
  4. ASoC: fsl: lpc3xxx-i2s: Remove set but not used variable 'savedbitclk…

    …rate'
    
    The variable savedbitclkrate is assigned and never used, so can be removed.
    
    sound/soc/fsl/lpc3xxx-i2s.c:42:13: warning: variable ‘savedbitclkrate’ set but not used [-Wunused-but-set-variable]
    
    Fixes: 0959de6 ("ASoC: fsl: Add i2s and pcm drivers for LPC32xx CPUs")
    Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
    Link: https://patch.msgid.link/20240731022949.135016-1-yuehaibing@huawei.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Yue Haibing authored and broonie committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d5742b5 View commit details
    Browse the repository at this point in the history
  5. ASoC: nau8822: Lower debug print priority

    NAU8822 codec PLL parameters are not an information that the general
    user should care about, this print is supposed to be used for debugging,
    adjust the debug print priority accordingly.
    
    Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
    Link: https://patch.msgid.link/20240731114828.61238-1-francesco@dolcini.it
    Signed-off-by: Mark Brown <broonie@kernel.org>
    dolcini authored and broonie committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    9da8aa3 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. ALSA: control: Fix leftover snd_power_unref()

    One snd_power_unref() was forgotten and left at __snd_ctl_elem_info()
    in the previous change for reorganizing the locking order.
    
    Fixes: fcc62b1 ("ALSA: control: Take power_ref lock primarily")
    Link: thesofproject#5127
    Link: https://patch.msgid.link/20240801064203.30284-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fef1ac9 View commit details
    Browse the repository at this point in the history
  2. ALSA: memalloc: Use DMA API for x86 WC page allocations, too

    The memalloc helper used a house-made code for allocation of WC pages
    on x86, since the standard DMA API doesn't cover it well.  Meanwhile,
    the manually allocated pages won't work together with IOMMU, resulting
    in faults, so we should switch to the DMA API in that case, instead.
    
    This patch tries to switch back to DMA API for WC pages on x86, but
    with some additional tweaks that are missing.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=219087
    Link: https://patch.msgid.link/20240801064808.31205-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9c27301 View commit details
    Browse the repository at this point in the history
  3. ALSA: memalloc: Let IOMMU handle S/G primarily

    The recent changes in IOMMU made the non-contiguous page allocations
    as default, hence we can simply use the standard DMA allocation for
    the S/G pages as well.  In this patch, we simplify the code by trying
    the standard DMA allocation at first, instead of
    dma_alloc_noncontiguous().
    
    For the case without IOMMU, we still need to manage the S/G pages
    manually, so we keep the same fallback routines like before.
    
    The fallback types (SNDRV_DMA_TYPE_DEV_SG_FALLBACK & co) are dropped /
    folded into SNDRV_DMA_TYPE_DEV_SG and co now.  The allocation via the
    standard DMA call overrides the type accordingly, hence we don't have
    to have extra fallback types any longer.  OTOH, SNDRV_DMA_TYPE_DEV_SG
    is no longer an alias but became its own type back again.
    
    Note that this patch requires another prerequisite fix for memmalloc
    helper to use the DMA API for WC pages on x86.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=219087
    Link: https://patch.msgid.link/20240801064808.31205-2-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e469e20 View commit details
    Browse the repository at this point in the history
  4. ALSA: pci: pcxhr: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87v80nk52q.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    morimoto authored and tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7ca1d0e View commit details
    Browse the repository at this point in the history
  5. ALSA: pci: rme9652: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87ttg7k52k.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    morimoto authored and tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fc5aeea View commit details
    Browse the repository at this point in the history
  6. ALSA: trace: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87sevrk52f.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    morimoto authored and tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    469b77e View commit details
    Browse the repository at this point in the history
  7. ALSA: aloop: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87r0bbk528.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    morimoto authored and tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e1a642a View commit details
    Browse the repository at this point in the history
  8. ALSA: pcm_timer: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87plqvk51y.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    morimoto authored and tiwai committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a48fee6 View commit details
    Browse the repository at this point in the history
  9. ASoC: SOF: Remove libraries from topology lookups

    Default firmware shipped in open source are not licensed for 3P
    libraries, therefore topologies should not reference them.
    
    If a OS wants to use 3P (that they have licensed) then they should use
    the appropriate topology override mechanisms.
    
    Fixes: 8a7d5d8 ("ASoC: SOF: mediatek: mt8195: Add devicetree support to select topologies")
    Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
    Cc: Wojciech Macek <wmacek@google.com>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
    Link: https://patch.msgid.link/20240731212153.921327-1-cujomalainey@chromium.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    cujomalainey authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7354eb7 View commit details
    Browse the repository at this point in the history
  10. ASoC: intel: rename codec_info and dai_info structures names

    To make it generic, rename structure 'sof_sdw_codec_info' as
    'asoc_sdw_codec_info' and 'sof_sdw_dai_info' as 'asoc_sdw_dai_info'.
    These structures will be moved to common header file so that it can
    be used by other platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-2-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6588fcc View commit details
    Browse the repository at this point in the history
  11. ASoC: intel: rename soundwire common header macros

    Rename sof quirk macros, dai type and dai link macros with "SOC_SDW" tag.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-3-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    408a454 View commit details
    Browse the repository at this point in the history
  12. ASoC: intel: rename soundwire machine driver soc ops

    Rename Soundwire generic machine driver soc ops with tag "asoc".
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-4-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    96990cf View commit details
    Browse the repository at this point in the history
  13. ASoC: intel: rename soundwire codec helper functions

    Rename SoundWire codec helper functions with "asoc_sdw" tag.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-5-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bd5838c View commit details
    Browse the repository at this point in the history
  14. ASoC: intel: rename maxim codec macros

    Rename maxim codec part id macros.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-6-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a2b5ec0 View commit details
    Browse the repository at this point in the history
  15. ASoC: intel: rename ignore_pch_dmic variable name

    Rename 'ignore_pch_dmic' variable name as 'ignore_internal_dmic'.
    This variable will be moved to common header file and will be used by other
    platform machine driver code.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-7-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b1f7cbf View commit details
    Browse the repository at this point in the history
  16. ASoC: intel/sdw-utils: move soundwire machine driver soc ops

    Move Intel SoundWire generic machine driver soc ops to common place
    so that it can be used by other platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-8-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    d39388e View commit details
    Browse the repository at this point in the history
  17. ASoC: intel: move soundwire machine driver common structures

    Move intel generic SoundWire machine driver common structures to
    soc_sdw_utils.h file. These structures will be used in other platform
    SoundWire machine driver code.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-9-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7361913 View commit details
    Browse the repository at this point in the history
  18. ASoC: intel/sdw_utils: move soundwire machine driver helper functions

    Move below Intel SoundWire machine driver helper functions to
    soc_sdw_utils.c file so that it can be used by other platform machine
    driver.
    - asoc_sdw_is_unique_device()
    - asoc_sdw_get_codec_name()
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-10-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    941d693 View commit details
    Browse the repository at this point in the history
  19. ASoC: intel/sdw_utils: move dmic codec helper function

    Move generic dmic codec helper function implementation to
    sdw_utils folder so that this function can be used by other platform
    machine drivers.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-11-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4776d0c View commit details
    Browse the repository at this point in the history
  20. ASoC: intel/sdw_utils: move rtk dmic helper functions

    Move rtk SoundWire dmic helper functions implementation to sdw_utils
    folder to make it generic.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-12-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a9831fd View commit details
    Browse the repository at this point in the history
  21. ASoC: intel/sdw_utils: move rt712 sdca helper functions

    Move RT712 SDCA codec helper file to sdw_utils folder so that these
    helper functions can be used by other platform machine drivers.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-13-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    09c60bc View commit details
    Browse the repository at this point in the history
  22. ASoC: intel/sdw_utils: move rt722 sdca helper functions

    Move RT722 SDCA codec helper file to sdw_utils folder to make it generic.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-14-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    89b3456 View commit details
    Browse the repository at this point in the history
  23. ASoC: intel: split soundwire machine driver private data

    Split intel generic SoundWire machine driver private data into two
    structures. One structure is generic one which can be used by other
    platform machine driver and the other one is intel specific one.
    Move generic machine driver private data to soc_sdw_utils.h.
    Define a void pointer in generic machine driver private data structure
    and assign the vendor specific structure in mc_probe() call.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-15-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4f54856 View commit details
    Browse the repository at this point in the history
  24. ASoC: intel/sdw_utils: move rt5682 codec helper function

    Move rt5682 sdw codec helper function to common place holder to make it
    generic.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-16-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    139e177 View commit details
    Browse the repository at this point in the history
  25. ASoC: intel/sdw_utils: move rtk jack common helper functions

    Move RTK codec jack common helper functions to common place holder
    (sdw_utils folder) to make it generic so that it will be used by
    other platform machine driver code.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-17-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    da5b183 View commit details
    Browse the repository at this point in the history
  26. ASoC: intel/sdw_utils: move rt700 and rt711 codec helper functions

    Move RT700 and RT711 Soundwire codec helper functions to common
    place holder so that it can be used by other platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-18-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8e84fd2 View commit details
    Browse the repository at this point in the history
  27. ASoC: intel/sdw_utils: move rtk amp codec helper functions

    Move RTK amp codec helper functions related implementation to common
    place holder to make it generic so that these helper functions will be
    used by other platform machine driver modules.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-19-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ccc96ae View commit details
    Browse the repository at this point in the history
  28. ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions

    To make it generic, move Cirrus Soundwire codec helper functions to
    common place holder so that it can be used by other platform machine
    driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-20-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5fa4662 View commit details
    Browse the repository at this point in the history
  29. ASoC: intel/sdw_utils: move maxim codec helper functions

    Move maxim codec helper functions to common place holder so that
    it can be used by other platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801091446.10457-21-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    051b7cb View commit details
    Browse the repository at this point in the history
  30. ASoC: intel/sdw_utils: move dai id common macros

    Move dai id common macros from intel SoundWire generic driver to
    soc_sdw_utils.h file so that it can be used by other platform machine
    driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-1-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8f87e29 View commit details
    Browse the repository at this point in the history
  31. ASoC: intel/sdw_utils: move soundwire dai type macros

    Move SoundWire dai type macros to common header file(soc_sdw_util.h).
    So that these macros will be used by other platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-2-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6e7af1f View commit details
    Browse the repository at this point in the history
  32. ASoC: intel/sdw_utils: move soundwire codec_info_list structure

    SoundWire 'codec_info_list' structure is not a platform specific one.
    Move codec_info_list structure to common file soc_sdw_utils.c.
    Move codec helper functions which uses codec_info_list structure to common
    place holder and rename the function by adding _sdw tag. This will allow
    to use 'codec_info_list' structure and it's helper functions in other
    platform machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-3-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e377c94 View commit details
    Browse the repository at this point in the history
  33. ASoC: intel/sdw_utils: move machine driver dai link helper functions

    Move machine driver dai link helper functions to common place holder,
    So that it can be used by other platform machine driver.
    Rename these functions with "asoc_sdw" tag as a prefix.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-4-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    778dcb0 View commit details
    Browse the repository at this point in the history
  34. ASoC: sdw_utils: refactor sof_sdw_card_late_probe function

    Refactor sof_sdw_card_late_probe() function and derive a generic
    function soc_sdw_card_late_probe() function which can be used by
    SoundWire generic machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-5-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5bd414c View commit details
    Browse the repository at this point in the history
  35. ASoC: intel/sdw_utils: refactor init_dai_link() and init_simple_dai_l…

    …ink()
    
    To make it generic, refactor existing implementation for
    init_dai_link() and init_simple_dai_link() as mentioned below.
    - Move init_dai_link() and init_simple_dai_link() to common place holder
    - Rename the functions with "asoc_sdw" as prefix.
    - Pass the platform specific 'platform_component' structure and its size as
    arguments for init_simple_dai_link() function and allocate one more
    extra dlc for platform component.
    - Pass the 'platform_component' and 'num_platforms' as arguments for
    init_dai_link().
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-6-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    59f8b62 View commit details
    Browse the repository at this point in the history
  36. ASoC: soc-acpi: add pci revision id field in mach params structure

    Few IP's may have same PCI vendor id and device id and
    different revision id. Add revision id field to the
    'snd_soc_acpi_mach_params' so that using this field platform
    specific implementation can be added in machine driver.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-7-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    0b8f009 View commit details
    Browse the repository at this point in the history
  37. ASoC: amd: acp: add soundwire machines for acp6.3 based platform

    Add Soundwire machines for acp6.3 based platform.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-8-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    57677cc View commit details
    Browse the repository at this point in the history
  38. ASoC: SOF: amd: add alternate machines for acp6.3 based platform

    Add SoundWire machines as alternate machines for acp6.3 based platform.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-9-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    15049b6 View commit details
    Browse the repository at this point in the history
  39. ASoC: SOF: amd: update mach params subsystem_rev variable

    Add pci_rev variable in acp sof driver private data structure and assign
    this value to mach_params structure subsystem_rev variable.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-10-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b7cdb4a View commit details
    Browse the repository at this point in the history
  40. ASoC: amd/sdw_utils: add sof based soundwire generic machine driver

    Add sof based Soundwire generic driver for amd platforms.
    Currently support added for ACP6.3 based platforms.
    
    Link: thesofproject#5068
    Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240801111821.18076-11-Vijendar.Mukunda@amd.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    vijendarmukunda authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    cb8ea62 View commit details
    Browse the repository at this point in the history
  41. ASoC: Use of_property_present()

    Use of_property_present() to test for property presence rather than
    of_get_property(). This is part of a larger effort to remove callers
    of of_get_property() and similar functions. of_get_property() leaks
    the DT property data pointer which is a problem for dynamically
    allocated nodes which may be freed.
    
    Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20240731191312.1710417-19-robh@kernel.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    robherring authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a1c8929 View commit details
    Browse the repository at this point in the history
  42. ASoC: Use of_property_read_bool()

    Use of_property_read_bool() to read boolean properties rather than
    of_get_property(). This is part of a larger effort to remove callers
    of of_get_property() and similar functions. of_get_property() leaks
    the DT property data pointer which is a problem for dynamically
    allocated nodes which may be freed.
    
    Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20240731191312.1710417-20-robh@kernel.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    robherring authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    69dd15a View commit details
    Browse the repository at this point in the history
  43. ASoC: stm: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87o76fk51p.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7dfdcde View commit details
    Browse the repository at this point in the history
  44. ASoC: sof: pcm: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87mslzk51h.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    cda4aa0 View commit details
    Browse the repository at this point in the history
  45. ASoC: sof: intel: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87le1jk51b.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    baa7799 View commit details
    Browse the repository at this point in the history
  46. ASoC: fsl: lpc3xxx-i2s: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87jzh3k515.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8156921 View commit details
    Browse the repository at this point in the history
  47. ASoC: tegra: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87ikwnk510.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    d6db65b View commit details
    Browse the repository at this point in the history
  48. ASoC: soc-pcm: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87h6c7k50t.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ebbd670 View commit details
    Browse the repository at this point in the history
  49. ASoC: soc-dapm: use snd_pcm_direction_name()

    We already have snd_pcm_direction_name(). Let's use it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87frrrk50n.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bb66013 View commit details
    Browse the repository at this point in the history
  50. AMD SOF based generic SoundWire machine driver

    Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:
    
    This patch series majorly consists of below changes.
    - Rename structures, macros and codec helper names used in Intel
    SoundWire generic driver to make it generic.
    - Move Intel SoundWire driver common structures, macros and codec
    helper functions to common placeholder so that it can be used by
    other platform machine driver.
    - Refactor few SoundWire common codec helper functions.
    - AMD SOF based generic SoundWire machine driver for ACP 6.3 variant.
    
    This work started a couple of months ago to avoid duplication of code
    that wasn't really Intel-specific in the "sof_sdw" machine driver.
    The code went through multiple iterations, was tested for multiple weeks
    and a couple of build issues reported by the Intel kbuild bots were
    corrected.
    
    This is the initial version of SoundWire machine driver for AMD
    platforms. Additional code refactoring will be done in the next step on
    the AMD side.
    
    Link: thesofproject#5068
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bb2bf85 View commit details
    Browse the repository at this point in the history
  51. ALSA/ASoC: use snd_pcm_direction_name()

    Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
    
    Many drivers are selecting strings "playback" / "capture" by own
    handling, but we have snd_pcm_direction_name() function for it.
    This patch use it.
    
    One note is that snd_pcm_direction_name() will select
    "Playback" and "Capture", instead of "playback" / "capture".
    Almost all drivers are using it as dev_dbg() or dev_err()
    so no problem. But some other drivers are using it as other
    purpose. It might be issue (?). For example ASoC debugfs dir name
    will be changed by this patch.
    broonie committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9aafe1d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. ASoC: cs42l43: Remove redundant semi-colon at end of function

    Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://patch.msgid.link/20240802105734.2309788-2-ckeepax@opensource.cirrus.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    charleskeepax authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    becfa08 View commit details
    Browse the repository at this point in the history
  2. ASoC: soc-component: Add new snd_soc_component_get_kcontrol() helpers

    Add new helper functions snd_soc_component_get_kcontrol() and
    snd_soc_component_get_kcontrol_locked() that returns a kcontrol
    by name, but will factor in the components name_prefix, to handle
    situations where multiple components are present with the same
    controls.
    
    Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://patch.msgid.link/20240802105734.2309788-3-ckeepax@opensource.cirrus.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    charleskeepax authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c8a132e View commit details
    Browse the repository at this point in the history
  3. ASoC: cs35l45: Use new snd_soc_component_get_kcontrol_locked() helper

    No longer any need to hard code the addition of the name prefix, use the
    new helper function.
    
    Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://patch.msgid.link/20240802105734.2309788-4-ckeepax@opensource.cirrus.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    charleskeepax authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4791c42 View commit details
    Browse the repository at this point in the history
  4. ASoC: cs42l43: Cache shutter IRQ control pointers

    The microphone/speaker privacy shutter ALSA control handlers need to
    call pm_runtime_resume, since the hardware needs to be powered up to
    check the hardware state of the shutter. The IRQ handler for the
    shutters also needs to notify the ALSA control to inform user-space
    the shutters updated. However this leads to a mutex inversion,
    between the sdw_dev_lock and the controls_rwsem.
    
    To avoid this mutex inversion cache the kctl pointers before the IRQ
    handler, which avoids the need to lookup the control and take the
    controls_rwsem.
    
    Suggested-by: Jaroslav Kysela <perex@perex.cz>
    Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://patch.msgid.link/20240802105734.2309788-5-ckeepax@opensource.cirrus.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    charleskeepax authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    93afd02 View commit details
    Browse the repository at this point in the history
  5. ASoC: Intel: soc-acpi: add PTL match tables

    For now the tables are basic for mockup devices and headset codec support
    
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240802124011.173820-2-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6a965fb View commit details
    Browse the repository at this point in the history
  6. ASoC: SOF: Intel: add PTL specific power control register

    PTL has some differences from MTL/LNL. Need to use different register
    to power up.
    
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240802124011.173820-3-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    fredoh9 authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    42b4763 View commit details
    Browse the repository at this point in the history
  7. ASoC: SOF: Intel: add initial support for PTL

    Clone LNL for now.
    
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240802124011.173820-4-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3f8c802 View commit details
    Browse the repository at this point in the history
  8. ASoC: Intel: soc-acpi-intel-ptl-match: add rt711-sdca table

    Add rt711-sdca on sdw link0.
    
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240802124011.173820-5-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    bardliao authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    77a6869 View commit details
    Browse the repository at this point in the history
  9. ASoC: Intel: soc-acpi-intel-ptl-match: Add rt722 support

    This patch adds match table for rt722 multiple function codec on link
    0 and link3.
    
    The topology does not internally refer to link0 or link3, so we can
    simplify and use the same topology file name. We do need different
    tables though.
    
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://patch.msgid.link/20240802124011.173820-6-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    bardliao authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2786d3f View commit details
    Browse the repository at this point in the history
  10. ASoC: SOF: sof-priv.h: optimize snd_sof_platform_stream_params

    reshuffle members to remove hole.
    
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20240802124609.188954-2-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    cac88e9 View commit details
    Browse the repository at this point in the history
  11. ASoC: SOF: sof-priv.h: optimize snd_sof_mailbox

    Reverse the two members to remove a hole.
    
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20240802124609.188954-3-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e9e7eea View commit details
    Browse the repository at this point in the history
  12. ASoC: SOF: sof-priv.h: optimize snd_sof_ipc_msg

    Move waitq to make sure it's entirely in the same cache line, and move
    ipc_complete to reduce padding.
    
    struct snd_sof_ipc_msg {
    	void *                     msg_data;             /*     0     8 */
    	void *                     reply_data;           /*     8     8 */
    	size_t                     msg_size;             /*    16     8 */
    	size_t                     reply_size;           /*    24     8 */
    	int                        reply_error;          /*    32     4 */
    	bool                       ipc_complete;         /*    36     1 */
    
    	/* XXX 3 bytes hole, try to pack */
    
    	wait_queue_head_t          waitq;                /*    40    88 */
    	/* --- cacheline 2 boundary (128 bytes) --- */
    	void *                     rx_data;              /*   128     8 */
    
    	/* size: 136, cachelines: 3, members: 8 */
    	/* sum members: 133, holes: 1, sum holes: 3 */
    	/* last cacheline: 8 bytes */
    };
    
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20240802124609.188954-4-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5a4413d View commit details
    Browse the repository at this point in the history
  13. ASoC: SOF: sof-audio.h: optimize snd_sof_pcm_stream_pipeline_list

    Invert members to remove hole.
    
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
    Link: https://patch.msgid.link/20240802124609.188954-5-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    plbossart authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5821d7b View commit details
    Browse the repository at this point in the history
  14. ASoC: tas2781: Fix a compiling warning reported by robot kernel test …

    …due to adding tas2563_dvc_table
    
    Move tas2563_dvc_table into a separate Header file, as only tas2781
    codec driver use this table, and hda side codec driver won't use it.
    
    Fixes: 75ed63a ("ASoC: tas2781: Add new Kontrol to set tas2563 digital Volume")
    Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
    Link: https://patch.msgid.link/20240802072055.1462-1-shenghao-ding@ti.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Shenghao-Ding authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    92b7968 View commit details
    Browse the repository at this point in the history
  15. ASoC: sti-sas: Constify snd_soc_component_driver struct

    In order to constify `snd_soc_component_driver` struct, simplify the logic
    and the `sti_sas_dev_data` struct.
    
    Since commit 165a57a ("ASoC: sti-sas: clean legacy in sti-sas") only
    only chip is supported and `sti_sas_driver` can be fully defined at
    compilation time.
    
    Before:
    ======
       text	   data	    bss	    dec	    hex	filename
       8033	   1547	     16	   9596	   257c	sound/soc/codecs/sti-sas.o
    
    After:
    =====
       text	   data	    bss	    dec	    hex	filename
       8257	   1163	     16	   9436	   24dc	sound/soc/codecs/sti-sas.o
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://patch.msgid.link/2c08558813e3bbfae0a5302199cf6ca226e7cde1.1722544073.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    11c2d22 View commit details
    Browse the repository at this point in the history
  16. ASoC: fsl: lpc3xxx: Make some symbols static

    These symbols are not used outside of the files, make them static to fix
    sparse warnings:
    
    sound/soc/fsl/lpc3xxx-i2s.c:261:30: warning: symbol 'lpc3xxx_i2s_dai_ops' was not declared. Should it be static?
    sound/soc/fsl/lpc3xxx-i2s.c:271:27: warning: symbol 'lpc3xxx_i2s_dai_driver' was not declared. Should it be static?
    sound/soc/fsl/lpc3xxx-pcm.c:55:39: warning: symbol 'lpc3xxx_soc_platform_driver' was not declared. Should it be static?
    
    Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
    Link: https://patch.msgid.link/20240802101044.3302251-1-yuehaibing@huawei.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Yue Haibing authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a1c2716 View commit details
    Browse the repository at this point in the history
  17. ASoC: cs43130: Constify snd_soc_component_driver struct

    In order to constify `snd_soc_component_driver` struct, duplicate
    `soc_component_dev_cs43130` into a `soc_component_dev_cs43130_digital` and
    `soc_component_dev_cs43130_analog`.
    
    These 2 new structures share the same .dapm_widgets and .dapm_routes
    arrays but differ for .num_dapm_widgets and .num_dapm_routes.
    
    In the digital case, the last entries are not taken into account.
    
    Doing so has several advantages:
      - `snd_soc_component_driver` can be declared as const to move their
        declarations to read-only sections.
      - code in the probe is simpler. There is no need to concatenate some
        arrays to handle the "analog" case
      - this saves some memory because all_hp_widgets and analog_hp_routes can
        be removed.
    
    Before :
    ======
       text	   data	    bss	    dec	    hex	filename
      53965	   8265	   4512	  66742	  104b6	sound/soc/codecs/cs43130.o
    
    After :
    =====
       text	   data	    bss	    dec	    hex	filename
      54409	   7881	     64	  62354	   f392	sound/soc/codecs/cs43130.o
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://patch.msgid.link/1f04bb0366d9640d7ee361dae114ff79e4b381c1.1722274212.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    839e231 View commit details
    Browse the repository at this point in the history
  18. ASoC: SOF: reshuffle and optimize structures

    Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
    
    pahole reports a number of sub-optimal structure definitions with
    holes and cache-line alignment problems, this patchset optimizes a
    couple of structure frequently used.
    
    No functionality change, only re-ordering of structure members.
    broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    218c900 View commit details
    Browse the repository at this point in the history
  19. ASoC/SOF/PCI/Intel: add PantherLake support

    Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
    
    Add initial support for the PantherLake platform, and initial ACPI
    configurations.
    broonie committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    cf410c1 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cd24d1a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    3cbda5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1d7b11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d010c71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6078ed View commit details
    Browse the repository at this point in the history