From patchwork Thu Oct 20 07:47:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1692278 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=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=D0tE/ZxF; dkim-atps=neutral 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 4MtKTd0J5Fz1ygT for ; Thu, 20 Oct 2022 18:48:19 +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 1olQHd-0003VP-3C; Thu, 20 Oct 2022 07:48:05 +0000 Received: from mail-pj1-f43.google.com ([209.85.216.43]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1olQHa-0003Ud-El for kernel-team@lists.ubuntu.com; Thu, 20 Oct 2022 07:48:02 +0000 Received: by mail-pj1-f43.google.com with SMTP id ez6so1510162pjb.1 for ; Thu, 20 Oct 2022 00:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=cgvZSj4aYM7OEHglwwwKjrm+Zqiu2WTpkw7z9MqVh+g=; b=D0tE/ZxFd2N3/29wbw/ynOjmwhrlRFWMoK/3DH4wFy0U1sbEfSnU7Q8FgTQtNxUeuF /5+K2XaFuewZoz5992j33U3w9uFbGPwpGgXEaOGRWCG3bqKaINNLwwC6i1fcArAK5o9V Fcu/BC3q+SutPWnFf5EJ2ohWNBPghZh+xmIrPeZkDyZwJHaC8ZP+NKszmbrFxeoS+nh9 zc6J+uDFG8nD6UaZonm+ErQy4cU0rXtAkTgaSDJARX/AHT4d+LfgcZY7Y0Duy182537e ZsfYMtxtK6Q9KaaVIHl1ISuYM4YLHHYJlZHncme1mceQCy/FgUv0F69hNHhz3p9ViGbh M1tg== 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:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cgvZSj4aYM7OEHglwwwKjrm+Zqiu2WTpkw7z9MqVh+g=; b=rYJdmRZ7nd6BOdd0fWRgAbiYgNZsf7qPl+SIgEFPtbKxeeCGfnn4gi26DinEZX6M3h TYpr6gxe67s3xdSqD4Cufr6TBVyGk1JS1C59S3quuMsdqCHPeywq6F7n0+sUAWqvRGBf NU64PdlaqkNnoBUQQ5HzRItv/qrfegSuAciJnp2TTROli0LrXpy+gFFJNolCGFNR7yo7 RXUkF8XnSiC5UKjOU1sVCcpaDYSi8cV1UD4pMgJ/EIn3auU3uD+gfhaLGqL854TPJxP1 aMPlDq6XJcWPygV8iylR5Elt1JSyHp7KV9G6GE1T0k8j9AgHetzxAyAPD+fYnVvAED8V 71wA== X-Gm-Message-State: ACrzQf1NpyeFLsH0PJBWjMLEGtMD7d9BKd91HmdBcWHZ50H/XPgs0Ftg a1FWxX9VGGlT+oK38j9AoDvGaM7egbc= X-Google-Smtp-Source: AMsMyM4GMQBeshn6opQMJqwP9ulRXdkhdphCZtzeKM55Yuq/zDBFqdPB9bbWx/Zu2UD96s9t4p9xTw== X-Received: by 2002:a17:90b:3891:b0:20d:59e3:1f4f with SMTP id mu17-20020a17090b389100b0020d59e31f4fmr14382754pjb.21.1666252080053; Thu, 20 Oct 2022 00:48:00 -0700 (PDT) Received: from localhost (220-135-95-34.hinet-ip.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id s17-20020a170902ea1100b0017ec1b1bf9fsm12334762plg.217.2022.10.20.00.47.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 00:47:59 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/2][SRU][OEM-6.0] SoF for RPL platform support Date: Thu, 20 Oct 2022 15:47:55 +0800 Message-Id: <20221020074757.33991-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.43; envelope-from=acelan@gmail.com; helo=mail-pj1-f43.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: "Chia-Lin Kao (AceLan)" BugLink: https://launchpad.net/bugs/1992714 [Impact] RPL platforms require new sof struct and firmware to enable its audio [Fix] Below 2 commits are from v6.1-rc1 63d375b9f2a9 ASoC: SOF: Intel: pci-tgl: use RPL specific firmware definitions 5f3db54cfbc2 ASoC: Intel: common: add ACPI matching tables for Raptor Lake Firmware are from here https://github.com/thesofproject/sof-bin/releases/tag/v2.2.2 [Test] Verified Dell machine which comes with rpl sdw audio. [Where problems could occur] Adding new struct, new ID, and new firmware, it won't affect old systems. Kai Vehmanen (2): ASoC: Intel: common: add ACPI matching tables for Raptor Lake ASoC: SOF: Intel: pci-tgl: use RPL specific firmware definitions include/sound/soc-acpi-intel-match.h | 2 + sound/soc/intel/common/Makefile | 2 +- .../intel/common/soc-acpi-intel-rpl-match.c | 51 +++++++++++++++ sound/soc/sof/intel/pci-tgl.c | 62 ++++++++++++++++++- 4 files changed, 113 insertions(+), 4 deletions(-) create mode 100644 sound/soc/intel/common/soc-acpi-intel-rpl-match.c