From patchwork Mon Dec 12 08:37:05 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: 1714842 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 4NVw3y2znrz23np for ; Mon, 12 Dec 2022 19:37:33 +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 1p4eJO-0004DF-TS; Mon, 12 Dec 2022 08:37:22 +0000 Received: from mail-pj1-f48.google.com ([209.85.216.48]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p4eJN-0004D6-TY for kernel-team@lists.ubuntu.com; Mon, 12 Dec 2022 08:37:22 +0000 Received: by mail-pj1-f48.google.com with SMTP id gt4so9595723pjb.1 for ; Mon, 12 Dec 2022 00:37: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=etuHTIxk5f5pRcikz3JxPYmgti2zVdt4ulHQhrCVii8=; b=DHdiBzZcmizjgqYcBmwOjwQmm2IQcO2pm073zK4J6kY4DjkZmn6gplc5aXSKhl56/4 QFiBF2xNyYsPOunOCePTXNvNY4XHD6pBa4woqNn2f9K0ArpN6u17AqBuhyLRChCxjdtt 2c6BrZbvkLKo7EhcYZ0SpTByiv1vr5Dbuo4XuS1WURd6V9donS4AcuAFP3i4LLgdijf+ klCX2GTQ43E9USYtyJq4bJR3lA0ZHkjS+ZppdefGsNKTNxJ15sXfMdotZjduLqNX9YsY hRe45IuQ+v6hiTYpNsPbWAiAvJGc8NViitzTFZbKd0jk/BBdwQNJokNmqeu8ElcjDf71 RgZw== X-Gm-Message-State: ANoB5pktO9XwsAwW2eZCMplNRVJvVP2IPMCmG5XgyAAfPigIRJjo03Rz c35CEqdVHpbK29ZaU/8Q1qBs1v1a7mo= X-Google-Smtp-Source: AA0mqf4hvFnTpV7rgySUtKvV9gRmDZkL2MJL92A7MAj2v09jUgOwfyKjavmopIazqeK6bSOiCCYO9Q== X-Received: by 2002:a17:903:40d1:b0:189:dedd:a4da with SMTP id t17-20020a17090340d100b00189dedda4damr18282715pld.34.1670834239572; Mon, 12 Dec 2022 00:37: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 q6-20020a170902dac600b00189a50d2a3esm5688446plx.241.2022.12.12.00.37.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 00:37:18 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 00/11][SRU][U] Soundwire support for the Intel RPL Gen platforms Date: Mon, 12 Dec 2022 16:37:05 +0800 Message-Id: <20221212083716.3234498-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.48; envelope-from=vicamo@gmail.com; helo=mail-pj1-f48.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. 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.master/config/annotations | 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 | 157 ++++ 11 files changed, 1329 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