From patchwork Sat Jan 7 07:49:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 1722658 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=bJuM8LVs; 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=KgBQOCdx; 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 4Npss92QC2z23fs for ; Sat, 7 Jan 2023 18:53:33 +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=3FELdEKqrkIcC/LYFYrcqSvUeZj7JYw4MrebMD0Q/oE=; b=bJuM8LVs62Tgaa KOLNp6AbEgcBHxOhuodl26hKVuN2yiPWKyBN2/PG+p3WpIXTCDnhXrEztVUk9HJGoJVnGSgMHTyHm ByFPBMutYWlDSRx0JFIFF4FsGJdVAgWP3W+9mW78keaFoWQCJt+fDdGyGTfPimakwmH13HaA3y81o UMClsbRpLY+3zo7oqcnztZpdlv29U5wky9CNkMHVXHqBabgvcJsxqNxj4O+QFshs8kw2bCskWhAMO 4xMDsE4XQUiPrxxa7bqqNUalDueDOqEWBwHn1cMlxbqANWW/6QxBc8jLGQQbpe7ThQE5IVRNE/3w6 R9MEzOpIJvzdX3Xfu9cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pE3yh-003PVE-8A; Sat, 07 Jan 2023 07:50:55 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pE3xr-003PBN-CF for openwrt-devel@lists.openwrt.org; Sat, 07 Jan 2023 07:50:04 +0000 Received: by mail-pl1-x62a.google.com with SMTP id y1so4086695plb.2 for ; Fri, 06 Jan 2023 23:50:02 -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=TL7F4XCjZ5Z59UZie8pQ4ek68xZddVAfnorjTY4s1mY=; b=KgBQOCdx9XR7r5m5Cd2Xs8vHg9doMClxuF4XKFma87O5TmN/9YW/jLBDLEIbko+BeL p6zg5hpwBPr9DbIHdvZYhbW+XWYLUXQpMmsvDHkhtF9iuRTXFqwX4gyr9CkE/JhmPt6/ hH7Ma4YEz92ySLrSxlMggdHIfkb+gBWzEphTbPlu3dIXD5ZDcMdH65riOUSZ1vboMb/Y nnKZd/zrUdoN+xIt5b3ubUsLBZu+SzGh6SzDu59mH0FTOIYuMARYTMYYLNdkkYaGBWif e2ZKUloDm+pbiMul/83y7sC9myhsDHHzGdd6g9NQjsWrqncOrvMH5kO2fCfr0dyHxwQ5 SQ7A== 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=TL7F4XCjZ5Z59UZie8pQ4ek68xZddVAfnorjTY4s1mY=; b=R3KhR/ttCr0GxSEf/RthHsqYrWwz30zdo5FWAd3xD+ZvqWcTkQg+WkTF7UI4IYFmM6 y5U8JfRQKAhchXcgMEjKyCiju2C6KQAHNjhqT0TWYOjUoKRWIW5d1m3jINZ+uOXs5Xim v47yFe9ES4PJlDwDTY1VEkxuzDLmLmFwElQhpuSMwmebyTDyTyyT93yTQb8Xzog3gi8P TJ8QbBng8qKs4qb3abQ4hA8ZQRPbLWAJrZ/Hs50428x0N7Yq5dqErkVRy0VG+uw0MH5s jfOGkwiN9CJJBFqKgpfA5bpmk6Ry06if0DlC8Y9jt+ezah/RD0oZndWrcT82QA7b01zR KlPA== X-Gm-Message-State: AFqh2krO5PVQ3gKl00wTgCkwQC0r9gj9rwILp63xu6RosskQGR4Gn6bx i7t9863BY2DXcVASClI3kvkKdA+Gj7M= X-Google-Smtp-Source: AMrXdXt73u+W/3tyJdJuLYT3qfe9Z+q8UMZHdXvb387QDTG/t2IWNYX2fc2o2GAWGfaMMbqzKvdV9g== X-Received: by 2002:a17:902:6acb:b0:189:cdcc:5055 with SMTP id i11-20020a1709026acb00b00189cdcc5055mr54979091plt.0.1673077802007; Fri, 06 Jan 2023 23:50:02 -0800 (PST) Received: from localhost ([2600:1700:38c1:1d7f:f66d:4ff:fe3c:3ceb]) by smtp.gmail.com with ESMTPSA id l15-20020a170903244f00b001888cadf8f6sm2147670pls.49.2023.01.06.23.50.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2023 23:50:01 -0800 (PST) From: Brian Norris To: openwrt-devel@lists.openwrt.org Cc: Brian Norris Subject: [PATCH v2 5/7] ipq806x: Add kmod-sound-soc-ipq8064-storm Date: Fri, 6 Jan 2023 23:49:43 -0800 Message-Id: <20230107074945.2140362-5-computersforpeace@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230107074945.2140362-1-computersforpeace@gmail.com> References: <20230107074945.2140362-1-computersforpeace@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230106_235003_453688_029624D6 X-CRM114-Status: UNSURE ( 8.52 ) 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 --- 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 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:62a 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 --- 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))