From patchwork Mon Dec 12 08:53:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1714882 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NVwQg6Tfyz23np for ; Mon, 12 Dec 2022 19:53:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1p4eZ7-0003Si-6Z; Mon, 12 Dec 2022 08:53:37 +0000 Received: from mail-pj1-f44.google.com ([209.85.216.44]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p4eZ1-0002h9-2n for kernel-team@lists.ubuntu.com; Mon, 12 Dec 2022 08:53:31 +0000 Received: by mail-pj1-f44.google.com with SMTP id js9so10282634pjb.2 for ; Mon, 12 Dec 2022 00:53:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3658aTPzJUhfSI4K2fQ8yEC2KLFWVVP+0BmIR6wzRuQ=; b=yM5Rhs04TtF9XSFnjJGwLOkTh6q0etcR8WsSRzZTOrhsixJRE/gtyEorgbe3LH1em8 MZmuy7zNpY9Dy8N+1+gSMwB0HW8drAuXZuXRUWbdlOf1ARvOchv/PNdez6RgjLovo8zp 8Sww2dRhx4TZROGK0fq63qtjsGFX7nfYQmTu5Jb4mrMn8b8baP2bjNrznZZK35uXsChp tT8aB1dQ0NTZotuHAf17rgNhRlyxPjlUriYjANCagqc2KBr7qV8qd1uNGyolu1WlcOt8 LDZdakSoV7aA3VbjlsDFOnkCvn/YQe9uwrUY30IWk8fbnL2zDWxTgrUZGiFwDlgt5eIZ wy2A== X-Gm-Message-State: ANoB5pk5LBJyp84CyiqoHmgXYyEHDmTzhdt+UEvX9cz3ZTVt/LKK1SN4 OxBUFvDb74iFyuIECFhcOX6wBEvhczo= X-Google-Smtp-Source: AA0mqf4fSj2GSslkNBOpnPhrZowTNEyjJ0eSkMWwBqIvHF0hgfl5eoORNiF8TlIcgRGR5dVRWpA6uw== X-Received: by 2002:a17:902:7081:b0:189:907b:7cc1 with SMTP id z1-20020a170902708100b00189907b7cc1mr14436669plk.51.1670835199879; Mon, 12 Dec 2022 00:53:19 -0800 (PST) Received: from yewun.. (61-227-116-5.dynamic-ip.hinet.net. [61.227.116.5]) by smtp.gmail.com with ESMTPSA id a4-20020a170902710400b0018968d1c6f3sm5751146pll.59.2022.12.12.00.53.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 00:53:19 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 00/12][SRU][OEM-6.0] Soundwire support for the Intel RPL Gen platforms Date: Mon, 12 Dec 2022 16:53:04 +0800 Message-Id: <20221212085316.3259172-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.44; envelope-from=vicamo@gmail.com; helo=mail-pj1-f44.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: "You-Sheng Yang (vicamo)" BugLink: https://bugs.launchpad.net/bugs/1997944 [Impact] Need soundwire support for the Intel RPL Gen platforms, specifically 0C10/0C4F/0C11. 0C40 added due to dependency. [Fix] Fixes from linux-next for v6.2, as well as those for firmware-sof and alsa-ucm-conf. [Test Case] All the fixes are currently packaged in experimental kernel/firmware PPAs. Install the latest ones and check audio functions. [Where problems could occur] Most of the patches add model information only, and they'd only take effect on platforms with the corresponding hardware pieces. [Other Info] Nominated for Unstable/Lunar and OEM-6.0/6.1. Bard Liao (1): ASoC: Intel: soc-acpi-intel-rpl-match: add rpl_sdca_3_in_1 support Gongjun Song (9): ASoC: Intel: sof_sdw: Add support for SKU 0C10 product ASoC: Intel: soc-acpi: add SKU 0C10 SoundWire configuration ASoC: Intel: sof_sdw: Add support for SKU 0C40 product ASoC: Intel: soc-acpi: add SKU 0C40 SoundWire configuration ASoC: Intel: sof_sdw: Add support for SKU 0C4F product ASoC: intel: sof_sdw: add rt1318 codec support. ASoC: Intel: sof_sdw: Add support for SKU 0C11 product ASoC: Intel: soc-acpi: add SKU 0C11 SoundWire configuration UBUNTU: SAUCE: ASoC: Intel: soc-acpi: update codec addr on 0C11/0C4F product Shuming Fan (1): ASoC: rt1318: Add RT1318 SDCA vendor-specific driver You-Sheng Yang (vicamo) (1): UBUNTU: [Config] enable CONFIG_SND_SOC_RT1318_SDW debian.oem/config/annotations | 1 + debian.oem/config/config.common.ubuntu | 1 + sound/soc/codecs/Kconfig | 6 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt1318-sdw.c | 884 ++++++++++++++++++ sound/soc/codecs/rt1318-sdw.h | 101 ++ sound/soc/intel/boards/Kconfig | 1 + sound/soc/intel/boards/Makefile | 4 +- sound/soc/intel/boards/sof_sdw.c | 48 + sound/soc/intel/boards/sof_sdw_common.h | 7 + sound/soc/intel/boards/sof_sdw_rt1318.c | 120 +++ .../intel/common/soc-acpi-intel-rpl-match.c | 237 +++++ 12 files changed, 1410 insertions(+), 2 deletions(-) create mode 100644 sound/soc/codecs/rt1318-sdw.c create mode 100644 sound/soc/codecs/rt1318-sdw.h create mode 100644 sound/soc/intel/boards/sof_sdw_rt1318.c