Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18998598rwd; Wed, 28 Jun 2023 03:45:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43C2TA3nQnd2HuA4mnwD51e9Y/6YXMLXATeRrIOhTtg1FlUAHJk7S0zJnOMMxDnq4sMrMG X-Received: by 2002:a05:6359:288:b0:134:c384:59de with SMTP id ek8-20020a056359028800b00134c38459demr6026489rwb.29.1687949143524; Wed, 28 Jun 2023 03:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687949143; cv=none; d=google.com; s=arc-20160816; b=MGizqR50ipl1P7UXi4oiKtuJl9EJwAbmdnOtXBlx6/3bp1ZfegN4cZh3kKEZPK3xzz /oZkPgRCRtWSUCNrdvE6B3x5QGtNhYGAUxPVgdfGtjsBELllO+C9NQ/PnAoU7Dw8gZo6 QXyxRkkf3rwt2O3mFjg3eJBemicYZO2VdK1gnpSbnUU/yxy/i+aVhaKqD2ooZ8Et4FqY ICaiFAGq0V5nV30bXTtM3/fRaREUK1p2XGBVUvZze9GfwoWYhnhwO4JQDZYGZxCADPMC IEMBmdOnObT+V3g6OQdl/8rOd/ThQrfbF5W8TybCMx03go2witKell3oHOb9TW/Q5dK9 3WaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dKNfjF3wW/Nm/nNPQwIEGWNf3zo0Uzcpr6AjJzCAwQs=; fh=ANVQFiC6mDhjeU+YM+r8EhAOx8zfpTZwkKvCCAMPXF8=; b=ea8Zx0tzn+Yl8pNbGYpCQPK7Nvkru+kMpM1y1OrGcaFM18WtExUNUdR60NzgbXqCS4 TNo8WtqVKLdCqAl6gWA/td8HqpaPGmovZyrIi+V4042spnLYo+zu6kd8pd12CsmN7ov6 ZKzLf8wpZnBy8D1r9NX/ybkhbLOjnD4onu3EPE6bcfk6EkmxoNml0Xn87rgIj792DHgH XvAA44CFzzJ2zd5sqJpO4owFpvMel9017pFhDZ0p4aasnXOm9K5B2bS4u8s3Rp/rfT5o /swoF907XuXneYAJ1QJYLNFyp90ixJvNRcOZKTUtp3BZDs2/krC1432zZIZ8ymU3mFGl XICQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ewY1PWWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a63000e000000b0055acc9baa64si6607092pga.33.2023.06.28.03.45.30; Wed, 28 Jun 2023 03:45:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ewY1PWWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbjF1K2o (ORCPT + 99 others); Wed, 28 Jun 2023 06:28:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbjF1K0k (ORCPT ); Wed, 28 Jun 2023 06:26:40 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABAFD2D58 for ; Wed, 28 Jun 2023 03:26:38 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fba66f3b14so18828405e9.3 for ; Wed, 28 Jun 2023 03:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687947997; x=1690539997; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dKNfjF3wW/Nm/nNPQwIEGWNf3zo0Uzcpr6AjJzCAwQs=; b=ewY1PWWZFTqt3d2EoUX7BYeBLURb1ND+wfkfANY8NH8ewiDiDYKhlwdmgQGxnQHkI8 ujbIh67rsT39B+IL/3a8hsS/BEj2wi3cUm+tFOp4wJS0FnaJkXGH2PifG6QUVyjxANxh vIkdZ0LrYWYjLSMtpTnjDRNMO/yuWxKK6T7KEZrYZIxsDgX55CJ+BtTx2tlvUvxd5AJx ebygNj3edwU9/m9vW6Aof0Z7kz8PgpIbtNi5dvx0nvfx6BvZ0Tlsf9yTOmmqtUjAR1IT uw9np5GnyIYAIKzB8AcSIotnpy4LoKUgR4oER6EgFCgrN9/mxdvL7FAeiJhmWdp9C/aM 06ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687947997; x=1690539997; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dKNfjF3wW/Nm/nNPQwIEGWNf3zo0Uzcpr6AjJzCAwQs=; b=LMuEdsfvpMh9Ud49+ZdS4jMseWOlQ3mS/qOYo5F1sg6HU1D3r9K0oikcu7GKWRYtGG 6YkBLhkfyzZHR7Q/ymL9D36MfjouZMQ76KHN5yr01PW9hntQ/V5+5Wo5K0UvyRytaaQL XbXPPnhKS6x84kqW3VSYvwX0vMbJ6q1yumkORV6uKIGECJqFsCHaeesS9Q9HBA2ysShl DSEWBM8J3ywz6m/ZCY7AUqeyBzzrsUiNWS8jt3iYx4YtBjZ93bEs4NZApYKSjzxg+DdT 7U1Ymi+y+8S+yI4D6tlgWa6GXCufExfqqNno92JXymze2rXKBBOCXwknZ3mcpBrqWkDi 4s6g== X-Gm-Message-State: AC+VfDwRfk8Mfz71WzRM0T5DPz+4stvpEQcnR5yrgfMWSt9TeyKpGM0V A9XrbNt6zqeWcEHoj2vhPLtRdg== X-Received: by 2002:a7b:cd98:0:b0:3f9:b4d8:8e84 with SMTP id y24-20020a7bcd98000000b003f9b4d88e84mr22176859wmj.21.1687947997137; Wed, 28 Jun 2023 03:26:37 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id a10-20020a5d53ca000000b003140555c0ddsm2467780wrw.56.2023.06.28.03.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 03:26:36 -0700 (PDT) From: Srinivas Kandagatla To: krzysztof.kozlowski+dt@linaro.org, andersson@kernel.org, broonie@kernel.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dmitry.baryshkov@linaro.org, johan+linaro@kernel.org, perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, Srinivas Kandagatla Subject: [PATCH 0/3] ASoC: qcom: get tplg firmware-name from device tree Date: Wed, 28 Jun 2023 11:26:18 +0100 Message-Id: <20230628102621.15016-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With the existing setup the firmware file is looked up in a fixed location based on soundcard name, however this is not really scalable and not inline with where linux-firmware stores board specific firmwares. This patchset adds a new binding to q6apm to allow board specific Device Tree to pass firmware-name, this also makes it inline with how other firmwares are specified in qcom boards. Srinivas Kandagatla (3): ASoC: dt-bindings: q6apm: add firmware-name bindings ASoC: qcom: q6apm: add support for reading firmware name from DT arm64: dts: qcom: sc8280xp-x13s: Add audio topology firmware path .../devicetree/bindings/sound/qcom,q6apm.yaml | 5 +++++ .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 5 +++++ sound/soc/qcom/qdsp6/topology.c | 14 ++++++-------- 3 files changed, 16 insertions(+), 8 deletions(-) -- 2.21.0