From patchwork Mon Dec 12 08:48:44 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: 1714854 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 4NVwKV3l5Pz23yh for ; Mon, 12 Dec 2022 19:49:17 +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 1p4eUh-0007IE-Q2; Mon, 12 Dec 2022 08:49:03 +0000 Received: from mail-pj1-f51.google.com ([209.85.216.51]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p4eUf-0007Ha-Gx for kernel-team@lists.ubuntu.com; Mon, 12 Dec 2022 08:49:01 +0000 Received: by mail-pj1-f51.google.com with SMTP id b13-20020a17090a5a0d00b0021906102d05so11436263pjd.5 for ; Mon, 12 Dec 2022 00:49:01 -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=UhyTs/n9vH3FUBSwMK1SFU3yL9A3PLwClwt5i1LfP5Q=; b=EcfqGyTvl9x5cwQdljIMQQ+hWku0T/WUEmglI03eM2lqjUWtXvG9YObgw2wr/IzZ+/ AYuXiH20u+hVExqJZ2QaWGJ7eZ8D62DGgN8howXdhroNI+WiSmD1nOEA9ExQdo3gaLQY IGpkf5JNBc18GcyTXNTWCeey4auDm17HL8+lKp2oY6cgge+ljHGcqZrBidqSsESjlZYA 11oY/Z2hcosmTCiqgx2vY/SjY2AYdHpc40dbdIKSzzEbN5QhvJ/zESYUVrUATKO/R7mg zrH8ThPWVLz5cgDp9nKTvWiCX3XVK4lrqnSJTJWowz07fPKHCrHIydkzy1x2pzpu61mQ XR8Q== X-Gm-Message-State: ANoB5plvDST7oYBiCp0ln57yz/is3yk4XcC7jt+yN6YPp1yTxBQuWekr ViG/pvBs2+vIsTc0gv0Ee4dWA6l2KBQ= X-Google-Smtp-Source: AA0mqf4MgpGPluKN68TE5rKNcsrbId5Dwkc5kNlHjHBDrbZpR7W7wXcwmWm+9wkW6TSNNo64ro04KQ== X-Received: by 2002:a17:902:788e:b0:189:efe7:df8d with SMTP id q14-20020a170902788e00b00189efe7df8dmr14946559pll.43.1670834938827; Mon, 12 Dec 2022 00:48:58 -0800 (PST) Received: from yewun.. (61-227-116-5.dynamic-ip.hinet.net. [61.227.116.5]) by smtp.gmail.com with ESMTPSA id ja9-20020a170902efc900b001870dc3b4c0sm5732950plb.74.2022.12.12.00.48.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 00:48:58 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 00/12][SRU][Lunar] Soundwire support for the Intel RPL Gen platforms Date: Mon, 12 Dec 2022 16:48:44 +0800 Message-Id: <20221212084856.3252684-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.51; envelope-from=vicamo@gmail.com; helo=mail-pj1-f51.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.master/config/annotations | 1 + debian.master/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