From patchwork Wed Jan 11 07:06:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 1724482 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=Y+IX79xd; 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=jzxvZFzh; 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 4NsJkF6Vzmz23fj for ; Wed, 11 Jan 2023 18:11:01 +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=w9c7bbm7SsswIAWV50qpok6Wq87O6JDOWTROnbuCUuY=; b=Y+IX79xdnRpm+H xt0lhlhMyIrn93uao+LG+sZ9MSxhWn1uZPhpbPsRh3yFRBVOw8z28fyrSQOlI5EIqGj7ww4WXwoly ag6FhMIlaosTQh1JkHx5o9xcZG2wvnmi38mBBPMb3C2rm5/2ycoX0lina4Op2p5P78iiwa3/rr9uO yzhGh1a1KeF0DIBAeOI3HuWvjgd0EBUlLNI4ZDfgVFkgABw9juBbZi6OEc9ZOeSHu8+HCkZQ89jYu dJG/eoNpmYmw+Ij1umW6+loVu1mYuOTkmGLAmFRsE0Aqf922NmywVXZCSTqcVSI9Nstm71DdUxD79 wjlNkN59CT56KZ9S6IDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFVDi-009xpd-Jc; Wed, 11 Jan 2023 07:08:23 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFVCa-009xWT-VQ for openwrt-devel@lists.openwrt.org; Wed, 11 Jan 2023 07:07:14 +0000 Received: by mail-pj1-x102f.google.com with SMTP id n12so14943378pjp.1 for ; Tue, 10 Jan 2023 23:07:08 -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=QftjYupoI64Sq2iAgc5Gm5ytCcF4RWtgkmkr+GvzKoc=; b=jzxvZFzhxcT3JiGKCLxyXbAVG+6jj8yaiCMXs1UGd1RHFad6sgPyde1mWyXFboPyvR znwBsGAeH9f+BSDvVf4vw2GCsGBDLFrWiL0htfFMuQiK48CUiKeFWg1wn7dbnQXiRhXg NnL8xUHAdruBckFGihBcM/cazQF3ogAs/lVn3BXa+FKbHufiSMk2p0wsKmCYZIJWL5GZ T5JUo5qN5XCaZR3gHeml+JFsogRap4bci+0SCbGDI+eooOLdewvwLf6ieMQ59f2pbwJz 0Tgvy3yC5yr2Ugcp4kXNIdc65B99Anz0bPm+sWo3J8AX0l5QIffgH1XPdeatm/R5lf+H SLQQ== 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=QftjYupoI64Sq2iAgc5Gm5ytCcF4RWtgkmkr+GvzKoc=; b=ApTK91if+1I5GOIwKZFdAeiMGJiM2Po9JSLpNWzXKMts4Fxnpht0ovSStkfMx29cF+ GCHNhg72h4/+9KfI40Tw5wFX+OPvvr9tUQ9JjvYjGCwHYL3UmvdTtrCywoIwcDZQY9CV s8qJP45yZk9tNmCluGpKRSMQ1nRJ7ThGVohrqtdD6+aVc1E5p4oPBBcPBUhlHjRoVYC4 MjJwU9PrkS85xWjYi7Xrb7jbwNA0pGjZNGFRmzE6dkJFN3UE7OyX+9/uByNahGFDE5Jq 9YOpcNbeLMmTtisSk+brKkVu4OAScLFBHD6mR7ZscCjnfQZ4uk5akxhY+AnWpynYA+Hr 1rOQ== X-Gm-Message-State: AFqh2kod9GiPneKaZokGFOm4aD2KWUHRowrhofIf1QXb/05bhTYtmHV2 +DeRKKxoCweh8OQVvv5Qf4YQ5p0dkQg= X-Google-Smtp-Source: AMrXdXvtdeowX+COMkbIvfEiVPbkf0YHeehvdIeiRTFRRujm0Lp4LZ2oQm+fXXPxaxqYrSGAU79yhg== X-Received: by 2002:a17:902:c1c9:b0:193:3678:dc3e with SMTP id c9-20020a170902c1c900b001933678dc3emr1814117plc.21.1673420828248; Tue, 10 Jan 2023 23:07:08 -0800 (PST) Received: from localhost (104-50-1-205.lightspeed.sntcca.sbcglobal.net. [104.50.1.205]) by smtp.gmail.com with ESMTPSA id j6-20020a170903024600b001869f2120a4sm9313489plh.94.2023.01.10.23.07.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jan 2023 23:07:08 -0800 (PST) From: Brian Norris To: openwrt-devel@lists.openwrt.org Cc: Brian Norris Subject: [PATCH v3 5/7] ipq806x: Add kmod-sound-soc-ipq8064-storm Date: Tue, 10 Jan 2023 23:06:50 -0800 Message-Id: <20230111070652.1200657-5-computersforpeace@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111070652.1200657-1-computersforpeace@gmail.com> References: <20230111070652.1200657-1-computersforpeace@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_230713_027670_319616BB X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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 --- (no changes since v2) 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:102f 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 --- (no changes since v2) Changes in v2: * Drop CONFIG_IPQ_LCC_806X=y, and merge CONFIG_IPQ_LCC_806X=m into this package * Move package to the ipq806x target * Slim AutoLoad list; switch to AutoProbe target/linux/ipq806x/modules.mk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/target/linux/ipq806x/modules.mk b/target/linux/ipq806x/modules.mk index 605504b0c338..a2b844d0f03c 100644 --- a/target/linux/ipq806x/modules.mk +++ b/target/linux/ipq806x/modules.mk @@ -14,3 +14,32 @@ define KernelPackage/phy-qcom-ipq806x-usb/description endef $(eval $(call KernelPackage,phy-qcom-ipq806x-usb)) + + +define KernelPackage/sound-soc-ipq8064-storm + TITLE:=Qualcomm IPQ8064 SoC support for Google Storm + DEPENDS:=@TARGET_ipq806x +kmod-sound-soc-core + KCONFIG:=\ + CONFIG_IPQ_LCC_806X \ + CONFIG_SND_SOC_QCOM \ + CONFIG_SND_SOC_STORM \ + CONFIG_SND_SOC_APQ8016_SBC=n \ + CONFIG_SND_SOC_SC7180=n + FILES:=\ + $(LINUX_DIR)/drivers/clk/qcom/lcc-ipq806x.ko \ + $(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 AutoProbe,lcc-ipq806x \ + snd-soc-max98357a snd-soc-lpass-ipq806x snd-soc-storm) + $(call AddDepends/sound) +endef + +define KernelPackage/sound-soc-ipq8064-storm/description + Provides sound support for the Google Storm platform, with a Qualcomm IPQ8064 + SoC. +endef + +$(eval $(call KernelPackage,sound-soc-ipq8064-storm))