Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
  • [parent not found: <20261030094714.1123396-7-Vijendar.Mukunda@amd.com>]
  • * Re: [PATCH v4 00/16] ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support
           [not found] <20261030094714.1123396-1-Vijendar.Mukunda@amd.com>
           [not found] ` <20261030094714.1123396-14-Vijendar.Mukunda@amd.com>
           [not found] ` <20261030094714.1123396-7-Vijendar.Mukunda@amd.com>
    @ 2026-11-01 18:34 ` Pierre-Louis Bossart
      2026-11-02  6:01   ` Mukunda,Vijendar
      2026-11-05 18:29 ` Mark Brown
      2026-11-06 11:46 ` [PATCH 0/2] ASoC: amd: acp: supplement patches for ACP7.B/7.F SoundWire machine driver series Vijendar Mukunda
      4 siblings, 1 reply; 13+ messages in thread
    From: Pierre-Louis Bossart @ 2026-11-01 18:34 UTC (permalink / raw)
      To: Vijendar Mukunda, broonie
      Cc: alsa-devel, lgirdwood, perex, tiwai, yung-chuan.liao,
    	Basavaraj.Hiregoudar, Sunil-kumar.Dommati, venkataprasad.potturu,
    	Syed.SabaKareem, Mario.Limonciello, Richard.Gong, Poojitha.N,
    	linux-sound, linux-kernel, sound-open-firmware
    
    On 10/30/26 10:45, Vijendar Mukunda wrote:
    > This series adds SoundWire machine driver support for ACP7.B and ACP7.F
    > platforms. It extends the existing AMD ACP SoundWire infrastructure with
    > per-platform CPU pin ID lookup, PDM controller selection via ACPI and DMI
    > quirks, DMIC DAI link and components string handling, PCI subsystem ID
    > propagation, and ACPI machine tables for RT721/RT722/RT1320 codec
    > configurations on both platforms.
    > 
    > Changes in v4:
    >   - Patch 1: fix missing asoc_sdw_mc_dailink_exit_loop() cleanup on
    >     devm_kasprintf() failure in acp-sdw-sof-mach.c mc_probe() (new).
    >   - Patch 2: fix missing asoc_sdw_mc_dailink_exit_loop() cleanup on
    >     both devm_kasprintf() failure paths in acp-sdw-legacy-mach.c
    >     mc_probe(); update commit message to reference the correct function
    >     name soc_card_dai_links_create() instead of sof_card_dai_links_create()
    >     (new).
    >   - Patch 3: remove unused ACP63_SDW_MAX_CPU_DAIS define (new).
    >   - Patch 5 (was 2): add comments above ACP7X_SW_AUDIO* define block
    >     and get_acp7x_cpu_pin_id() to document the dedicated per-port DMA
    >     layout and the port-to-use-case mapping.
    >   - Patch 9 (was 6): replace misleading "No functional change" claim
    >     with an accurate description of the behavioural change for platforms
    >     where ignore_internal_dmic is true (dmic_num now stays zero at the
    >     gate rather than reaching the dmic_num > 0 block).
    > 
    > Changes in v3:
    >   - Patch 3: update subject and changelog to accurately describe the new
    >     PDM controller selection infrastructure being added.
    >   - Patch 5: fix commit subject prefix from "amd: acp7x:" to "amd: acp:"
    >     since the change is in the generic ACP SoundWire machine driver
    >     (acp-sdw-sof-mach.c), not the ACP7x-specific SOF driver.
    > 
    > Changes in v2:
    >   - Patch 6: simplify the DMIC enable condition as suggested by Pierre:
    >     evaluate the three-way boolean once and nest the ignore_internal_dmic
    >     check inside, avoiding the double-tested condition from v1.
    > 
    > Vijendar Mukunda (16):
    >   ASoC: amd: acp: fix missing cleanup on devm_kasprintf() failure in
    >     mc_probe()
    >   ASoC: amd: acp: fix missing cleanup on devm_kasprintf() failure in
    >     legacy SDW machine driver
    >   ASoC: amd: sdw: remove unused ACP63_SDW_MAX_CPU_DAIS define
    >   ASoC: amd: acp: add ACP7.B/7.F SoundWire link count for machine driver
    >   ASoC: amd: acp: add ACP7.B/7.F SoundWire DAI link support
    >   ASoC: amd: acp: add PDM controller selection for ACP7.B/7.F SoundWire
    >     machine driver
    >   ASoC: amd: acp: log ASOC_SDW_ACP_DMIC1 quirk in SOF SoundWire machine
    >     driver
    >   ASoC: amd: acp: enable DMIC DAI link based on PDM controller selection
    >   ASoC: amd: acp: move ignore_internal_dmic gate to DMIC enable
    >     condition
    >   ASoC: amd: acp: add DMIC components string for SOF SoundWire machine
    >     driver
    >   ASoC: amd: acp: set PCI subsystem ID for SOF SoundWire machine driver
    >   ASoC: amd: acp: fix MODULE_AUTHOR missing closing angle bracket
    >   ASoC: amd: acp: add ACPI machine tables for ACP7.F SoundWire
    >   ASoC: SOF: amd: add alt_machines for ACP7.F SOF SoundWire
    >   ASoC: amd: acp: add SoundWire machine table for ACP7.B platform
    >   ASoC: SOF: amd: register SoundWire alt_machines for ACP7.B
    > 
    >  sound/soc/amd/acp/Makefile               |   2 +-
    >  sound/soc/amd/acp/acp-sdw-legacy-mach.c  |   8 +-
    >  sound/soc/amd/acp/acp-sdw-mach-common.c  |  48 ++++++
    >  sound/soc/amd/acp/acp-sdw-sof-mach.c     | 109 +++++++++++--
    >  sound/soc/amd/acp/amd-acp7x-acpi-match.c | 198 +++++++++++++++++++++++
    >  sound/soc/amd/acp/soc_amd_sdw_common.h   |  45 +++++-
    >  sound/soc/amd/mach-config.h              |   2 +
    >  sound/soc/sof/amd/pci-acp7x.c            |   2 +
    >  8 files changed, 396 insertions(+), 18 deletions(-)
    >  create mode 100644 sound/soc/amd/acp/amd-acp7x-acpi-match.c
    
    For the patchset:
    
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
    
    I added two nit-pick comments on naming and DMIC0/DMIC1 explanations, in
    case you respin a v5.
    
    ^ permalink raw reply	[flat|nested] 13+ messages in thread
  • * Re: [PATCH v4 00/16] ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support
           [not found] <20261030094714.1123396-1-Vijendar.Mukunda@amd.com>
                       ` (2 preceding siblings ...)
      2026-11-01 18:34 ` [PATCH v4 00/16] ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support Pierre-Louis Bossart
    @ 2026-11-05 18:29 ` Mark Brown
      2026-11-06 11:46 ` [PATCH 0/2] ASoC: amd: acp: supplement patches for ACP7.B/7.F SoundWire machine driver series Vijendar Mukunda
      4 siblings, 0 replies; 13+ messages in thread
    From: Mark Brown @ 2026-11-05 18:29 UTC (permalink / raw)
      To: Vijendar Mukunda
      Cc: alsa-devel, lgirdwood, perex, tiwai, pierre-louis.bossart,
    	yung-chuan.liao, Basavaraj.Hiregoudar, Sunil-kumar.Dommati,
    	venkataprasad.potturu, Syed.SabaKareem, Mario.Limonciello,
    	Richard.Gong, Poojitha.N, linux-sound, linux-kernel,
    	sound-open-firmware
    
    On Fri, 30 Oct 2026 15:15:15 +0530, Vijendar Mukunda wrote:
    > ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support
    > 
    > This series adds SoundWire machine driver support for ACP7.B and ACP7.F
    > platforms. It extends the existing AMD ACP SoundWire infrastructure with
    > per-platform CPU pin ID lookup, PDM controller selection via ACPI and DMI
    > quirks, DMIC DAI link and components string handling, PCI subsystem ID
    > propagation, and ACPI machine tables for RT721/RT722/RT1320 codec
    > configurations on both platforms.
    > 
    > [...]
    
    Applied to
    
       https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.5
    
    Thanks!
    
    [01/16] ASoC: amd: acp: fix missing cleanup on devm_kasprintf() failure in mc_probe()
            https://git.kernel.org/broonie/sound/c/007f91d0fdb8
    [02/16] ASoC: amd: acp: fix missing cleanup on devm_kasprintf() failure in legacy SDW machine driver
            https://git.kernel.org/broonie/sound/c/2f107878e7a2
    [03/16] ASoC: amd: sdw: remove unused ACP63_SDW_MAX_CPU_DAIS define
            https://git.kernel.org/broonie/sound/c/be810ddf1be9
    [04/16] ASoC: amd: acp: add ACP7.B/7.F SoundWire link count for machine driver
            https://git.kernel.org/broonie/sound/c/7de8faa0fb6e
    [05/16] ASoC: amd: acp: add ACP7.B/7.F SoundWire DAI link support
            https://git.kernel.org/broonie/sound/c/b6fd467a4be0
    [06/16] ASoC: amd: acp: add PDM controller selection for ACP7.B/7.F SoundWire machine driver
            https://git.kernel.org/broonie/sound/c/f6a58ddb3284
    [07/16] ASoC: amd: acp: log ASOC_SDW_ACP_DMIC1 quirk in SOF SoundWire machine driver
            https://git.kernel.org/broonie/sound/c/5b597730d199
    [08/16] ASoC: amd: acp: enable DMIC DAI link based on PDM controller selection
            https://git.kernel.org/broonie/sound/c/eb5a7c98ca1b
    [09/16] ASoC: amd: acp: move ignore_internal_dmic gate to DMIC enable condition
            https://git.kernel.org/broonie/sound/c/5ad81cbb83bd
    [10/16] ASoC: amd: acp: add DMIC components string for SOF SoundWire machine driver
            https://git.kernel.org/broonie/sound/c/2ced313a0605
    [11/16] ASoC: amd: acp: set PCI subsystem ID for SOF SoundWire machine driver
            https://git.kernel.org/broonie/sound/c/90a52a8f23fa
    [12/16] ASoC: amd: acp: fix MODULE_AUTHOR missing closing angle bracket
            https://git.kernel.org/broonie/sound/c/faa5a77479ad
    [13/16] ASoC: amd: acp: add ACPI machine tables for ACP7.F SoundWire
            https://git.kernel.org/broonie/sound/c/48b1ff3a75d9
    [14/16] ASoC: SOF: amd: add alt_machines for ACP7.F SOF SoundWire
            https://git.kernel.org/broonie/sound/c/c9ff86300abe
    [15/16] ASoC: amd: acp: add SoundWire machine table for ACP7.B platform
            https://git.kernel.org/broonie/sound/c/e6f48837d135
    [16/16] ASoC: SOF: amd: register SoundWire alt_machines for ACP7.B
            https://git.kernel.org/broonie/sound/c/4384043e78be
    
    All being well this means that it will be integrated into the linux-next
    tree (usually sometime in the next 24 hours) and sent to Linus during
    the next merge window (or sooner if it is a bug fix), however if
    problems are discovered then the patch may be dropped or reverted.
    
    You may get further e-mails resulting from automated or manual testing
    and review of the tree, please engage with people reporting problems and
    send followup patches addressing any issues that are reported if needed.
    
    If any updates are required or you are submitting further changes they
    should be sent as incremental updates against current git, existing
    patches will not be replaced.
    
    Please add any relevant lists and maintainers to the CCs when replying
    to this mail.
    
    Thanks,
    Mark
    
    
    ^ permalink raw reply	[flat|nested] 13+ messages in thread
  • * [PATCH 0/2] ASoC: amd: acp: supplement patches for ACP7.B/7.F SoundWire machine driver series
           [not found] <20261030094714.1123396-1-Vijendar.Mukunda@amd.com>
                       ` (3 preceding siblings ...)
      2026-11-05 18:29 ` Mark Brown
    @ 2026-11-06 11:46 ` Vijendar Mukunda
      2026-11-06 11:46   ` [PATCH 1/2] ASoC: amd: acp: fix adr_device naming in ACP7.x ACPI match table Vijendar Mukunda
                         ` (2 more replies)
      4 siblings, 3 replies; 13+ messages in thread
    From: Vijendar Mukunda @ 2026-11-06 11:46 UTC (permalink / raw)
      To: broonie
      Cc: pierre-louis.bossart, vijendar.mukunda, Basavaraj.Hiregoudar,
    	Mario.Limonciello, Richard.Gong, Sunil-kumar.Dommati,
    	Syed.SabaKareem, alsa-devel, lgirdwood, linux-kernel, linux-sound,
    	perex, tiwai, venkataprasad.potturu, Vijendar Mukunda
    
    These two patches address nit-picks raised in review of the ACP7.B/7.F
    SoundWire machine driver series posted at:
    
      https://lore.kernel.org/all/20261030094714.1123396-1-Vijendar.Mukunda@amd.com/
    
    Patch 1 renames three static adr_device arrays in amd-acp7x-acpi-match.c
    to reflect their endpoint set rather than their structural role, making the
    distinction between jack+dmic (combo with RT1320) and jack+amp+dmic
    (standalone) self-explanatory.
    
    Patch 2 adds a block comment above the ASOC_SDW_ACP_DMIC and
    ASOC_SDW_ACP_DMIC1 quirk bit definitions to document the dual-PDM-
    controller hardware model of ACP7.B/7.F, and annotates each bit with its
    role.  ASOC_SDW_ACP_DMIC is a generic DMIC-enable flag on all ACP
    platforms; on ACP7.B/7.F it additionally identifies the PDM0 controller.
    ASOC_SDW_ACP_DMIC1 is ACP7.B/7.F-specific for PDM1. BIOS wires exactly
    one controller per platform.
    
    Vijendar Mukunda (2):
      ASoC: amd: acp: fix adr_device naming in ACP7.x ACPI match table
      ASoC: amd: acp: document PDM controller topology for ACP7.B/7.F
    
     sound/soc/amd/acp/amd-acp7x-acpi-match.c | 22 +++++++++++-----------
     sound/soc/amd/acp/soc_amd_sdw_common.h   | 11 +++++++++--
     2 files changed, 20 insertions(+), 13 deletions(-)
    
    -- 
    2.53.0
    
    
    ^ permalink raw reply	[flat|nested] 13+ messages in thread

  • end of thread, other threads:[~2026-11-06 13:47 UTC | newest]
    
    Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20261030094714.1123396-1-Vijendar.Mukunda@amd.com>
         [not found] ` <20261030094714.1123396-14-Vijendar.Mukunda@amd.com>
    2026-11-01 18:24   ` [PATCH v4 13/16] ASoC: amd: acp: add ACPI machine tables for ACP7.F SoundWire Pierre-Louis Bossart
    2026-11-02  5:59     ` Mukunda,Vijendar
         [not found] ` <20261030094714.1123396-7-Vijendar.Mukunda@amd.com>
    2026-11-01 18:28   ` [PATCH v4 06/16] ASoC: amd: acp: add PDM controller selection for ACP7.B/7.F SoundWire machine driver Pierre-Louis Bossart
    2026-11-02  5:42     ` Mukunda,Vijendar
    2026-11-01 18:34 ` [PATCH v4 00/16] ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support Pierre-Louis Bossart
    2026-11-02  6:01   ` Mukunda,Vijendar
    2026-11-05 18:29 ` Mark Brown
    2026-11-06 11:46 ` [PATCH 0/2] ASoC: amd: acp: supplement patches for ACP7.B/7.F SoundWire machine driver series Vijendar Mukunda
    2026-11-06 11:46   ` [PATCH 1/2] ASoC: amd: acp: fix adr_device naming in ACP7.x ACPI match table Vijendar Mukunda
    2026-11-06 11:46   ` [PATCH 2/2] ASoC: amd: acp: document PDM controller topology for ACP7.B/7.F Vijendar Mukunda
    2026-11-06 12:24   ` [PATCH 0/2] ASoC: amd: acp: supplement patches for ACP7.B/7.F SoundWire machine driver series Mark Brown
    2026-11-06 12:51     ` Mukunda,Vijendar
    2026-11-06 13:27       ` Mark Brown
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox