From patchwork Mon Jan 2 23:25:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 1720846 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=4vK51/h7; 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=NRacYSDC; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NmBx23rB5z23f3 for ; Tue, 3 Jan 2023 10:32:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bRh46aEkgydF6VF7z5sCplXZn5QnhCJg1T9aPLCoxoE=; b=4vK51/h741Uyru 8wTq0+pXfNUz4KhPyNKF1neBcp2FoQb6EHmzi5JrH4sxJtRYlDSscPrm4wowbpDTgj/J+V+7W/1Dz I78ow9VTy7RpvNDfVjxR8adIFjTQDKtOyRv9h4KaTe3tRR9XFT30vthx4CrBKsTHVD6g6vQN4N/ko YFclC/VQisbfQTYAumgNXj2mow4mfnU/jlM0Bb/VGZW0Fm5YMhhIAIkz9ZByjBUqAR6ijZn0kxFrx S4rIV+aSJkSzoFSGhA+BkfVDCY+3erkXyJkU0Qca5PyH6a6+UePZQUsIqUKF5na4pDMarZXOPjqmJ cZ2sHpNAGaHgBJP0TWxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCUFN-00Erp9-4O; Mon, 02 Jan 2023 23:29:37 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCUBk-00Eqs9-GO for openwrt-devel@lists.openwrt.org; Mon, 02 Jan 2023 23:25:55 +0000 Received: by mail-pg1-x531.google.com with SMTP id 78so19061785pgb.8 for ; Mon, 02 Jan 2023 15:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uXw3lMRU/sobOexiju/OGbG9j3XmwgdO/eZJLWRRZTk=; b=NRacYSDCD3ubKuYuPAW44B2rQwT2yWZjfyVeIQXbV6wK9ANX428xcPiEm/JMu2LOFl 0ugDzCbdHTLAcoiT8YfgPfAWEXmUxY7YZrc5hTRBphOVY589v6W5KR6jVRBHkTGcK3j3 ryk4QkoLiMDgfG7CBW58/ys3k9c+q5RVEgcAIfJi8Px0nJrOwLkocBajVlg3Hr69gMIX xXL/3vY1O62YLPssCEa2A2hDHriZNjA0opS1M545M8dEhDSmGqYgR+tFrborz3DI4iQm +Hx2KKAqjt/n8vFhp3EjMdx6fOAxxD5Su+vXnJZnKWVn0FAMqS/NowsnSjokCqGv+xf3 7Qng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uXw3lMRU/sobOexiju/OGbG9j3XmwgdO/eZJLWRRZTk=; b=jjybHzw8eT+8L0jJteosXY+fcB301gyMyFltE2INcnGh16Xdgu1b34yWioazKgOtw3 vMIgw39sYZwpdQikpOZ8rRsyKNoPVhIqtCetijFTr6Ovah+I00e9v+KeLLAWDcgDv8Dw CO/H25QwZugEntBiWVZjdodGUIW47SStXvdB1Zuk+BDpGOnXHdn9K7OoJPLuKYaWJ171 qJUbYLcjNKRcqh6adHfOPhIjShtolyez+hDe5fwnZMCArCHGxdrKzxuRnR7CyD7dBeqd WaQVdsxWgYUlWxk2tWtq6oyspmE6A7xSISkmiLD1J/pmCEg0d4mqvVk6tP9kx1L26FTj Wu5Q== X-Gm-Message-State: AFqh2krknYKlOsHYp6QsdjTTOq3qDjeUun1ZeokYSfVMgTk0Imi7Ka43 7jTYBLsnBwHxXU5CuEVvLE1oMZ/25x8= X-Google-Smtp-Source: AMrXdXvaQgIROG3mz0PYxuLBkyspPrKHmDo83NqBU4MniLo/eKwaRtX4C242WTdppWtebEbpczcYbw== X-Received: by 2002:a62:f20f:0:b0:56b:b890:6ccd with SMTP id m15-20020a62f20f000000b0056bb8906ccdmr41915165pfh.4.1672701949689; Mon, 02 Jan 2023 15:25:49 -0800 (PST) Received: from localhost ([2600:1700:38c1:1d7f:f66d:4ff:fe3c:3ceb]) by smtp.gmail.com with ESMTPSA id x5-20020a626305000000b005815017d348sm13213959pfb.179.2023.01.02.15.25.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2023 15:25:49 -0800 (PST) From: Brian Norris To: openwrt-devel@lists.openwrt.org Cc: Brian Norris Subject: [PATCH 6/8] kernel: Add kmod-sound-soc-ipq8064-storm Date: Mon, 2 Jan 2023 15:25:32 -0800 Message-Id: <20230102232534.592501-6-computersforpeace@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230102232534.592501-1-computersforpeace@gmail.com> References: <20230102232534.592501-1-computersforpeace@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_152552_695645_F3F5ACB6 X-CRM114-Status: GOOD ( 10.98 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- package/kernel/linux/modules/sound.mk | 24 ++++++++++++++++++++++++ target/linux/generic/config-5.10 | 3 +++ target/linux/generic/config-5.15 | 3 +++ 3 files changed, 30 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:531 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [computersforpeace[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org For IPQ8064 systems based off the "Google Storm" reference platform, such as the TP-Link OnHub. Signed-off-by: Brian Norris --- package/kernel/linux/modules/sound.mk | 24 ++++++++++++++++++++++++ target/linux/generic/config-5.10 | 3 +++ target/linux/generic/config-5.15 | 3 +++ 3 files changed, 30 insertions(+) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 2bfa146207aa..92ad8bceed9b 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -254,6 +254,30 @@ endef $(eval $(call KernelPackage,sound-soc-imx-sgtl5000)) +define KernelPackage/sound-soc-ipq8064-storm + TITLE:=Qualcomm IPQ8064 SoC support for Google Storm + KCONFIG:=\ + CONFIG_SND_SOC_QCOM \ + CONFIG_SND_SOC_STORM + FILES:=\ + $(LINUX_DIR)/sound/soc/codecs/snd-soc-max98357a.ko \ + $(LINUX_DIR)/sound/soc/qcom/snd-soc-lpass-cpu.ko \ + $(LINUX_DIR)/sound/soc/qcom/snd-soc-lpass-ipq806x.ko \ + $(LINUX_DIR)/sound/soc/qcom/snd-soc-lpass-platform.ko \ + $(LINUX_DIR)/sound/soc/qcom/snd-soc-storm.ko + AUTOLOAD:=$(call AutoLoad,57,snd-soc-max98357a snd-soc-lpass-cpu \ + snd-soc-lpass-ipq806x snd-soc-lpass-platform snd-soc-storm) + DEPENDS:=@TARGET_ipq806x +kmod-sound-soc-core + $(call AddDepends/sound) +endef + +define KernelPackage/sound-soc-ipq8064-storm/description + Support for Qualcomm IPQ8064 / Google Storm Platform sound +endef + +$(eval $(call KernelPackage,sound-soc-ipq8064-storm)) + + define KernelPackage/sound-soc-spdif TITLE:=SoC S/PDIF codec support KCONFIG:=CONFIG_SND_SOC_SPDIF diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index a2dc9b90b1fc..324401244155 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -5649,6 +5649,7 @@ CONFIG_SND_PROC_FS=y # CONFIG_SND_SOC_AMD_ACP is not set # CONFIG_SND_SOC_AMD_ACP3x is not set # CONFIG_SND_SOC_AMD_RENOIR is not set +# CONFIG_SND_SOC_APQ8016_SBC is not set # CONFIG_SND_SOC_AU1XAUDIO is not set # CONFIG_SND_SOC_AU1XPSC is not set # CONFIG_SND_SOC_BD28623 is not set @@ -5786,6 +5787,7 @@ CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y # CONFIG_SND_SOC_RT5616 is not set # CONFIG_SND_SOC_RT5631 is not set # CONFIG_SND_SOC_RT5677_SPI is not set +# CONFIG_SND_SOC_SC7180 is not set # CONFIG_SND_SOC_SGTL5000 is not set # CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set # CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set @@ -5795,6 +5797,7 @@ CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y # CONFIG_SND_SOC_SSM2602_I2C is not set # CONFIG_SND_SOC_SSM2602_SPI is not set # CONFIG_SND_SOC_SSM4567 is not set +# CONFIG_SND_SOC_STORM is not set # CONFIG_SND_SOC_STA32X is not set # CONFIG_SND_SOC_STA350 is not set # CONFIG_SND_SOC_STI_SAS is not set diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 index df9755b19e68..5ccc1dc41594 100644 --- a/target/linux/generic/config-5.15 +++ b/target/linux/generic/config-5.15 @@ -5940,6 +5940,7 @@ CONFIG_SND_PROC_FS=y # CONFIG_SND_SOC_AMD_ACP3x is not set # CONFIG_SND_SOC_AMD_ACP5x is not set # CONFIG_SND_SOC_AMD_RENOIR is not set +# CONFIG_SND_SOC_APQ8016_SBC is not set # CONFIG_SND_SOC_AU1XAUDIO is not set # CONFIG_SND_SOC_AU1XPSC is not set # CONFIG_SND_SOC_BD28623 is not set @@ -6097,6 +6098,7 @@ CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y # CONFIG_SND_SOC_RT5640 is not set # CONFIG_SND_SOC_RT5659 is not set # CONFIG_SND_SOC_RT5677_SPI is not set +# CONFIG_SND_SOC_SC7180 is not set # CONFIG_SND_SOC_SGTL5000 is not set # CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set # CONFIG_SND_SOC_SIMPLE_MUX is not set @@ -6111,6 +6113,7 @@ CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y # CONFIG_SND_SOC_STA32X is not set # CONFIG_SND_SOC_STA350 is not set # CONFIG_SND_SOC_STI_SAS is not set +# CONFIG_SND_SOC_STORM is not set # CONFIG_SND_SOC_TAS2552 is not set # CONFIG_SND_SOC_TAS2562 is not set # CONFIG_SND_SOC_TAS2764 is not set