Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19699621rwd; Wed, 28 Jun 2023 12:59:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4O4hiPIZPg6/u9f8nx/BbD/cArHZBAv+A0hk5hUINPf/dUBo6yjUa01nAMHX926HaREaUg X-Received: by 2002:aa7:c64e:0:b0:518:721e:f594 with SMTP id z14-20020aa7c64e000000b00518721ef594mr25048341edr.37.1687982355437; Wed, 28 Jun 2023 12:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687982355; cv=none; d=google.com; s=arc-20160816; b=s59BzHyzYyaLFT/SJC7su67ZXy70vRAzvuWToB0/U3akXkbGI/3AnYDCG/uaYZa3Gs hTOuTtWdk4IH88DqgLvthKL6FvqpRZjceU9jnIVekOEUXUK1M6k8rOg04tp7juaUws4z cRziT3vd06B1stOa6y0UT9MIT1phZbN+RM3Ec/WZ/6roIt+ZcdZXHjqxbO3uHEKVJLdq iJ5lof1stDE6GbyVFcaiSFE8HibVyM5XaCGancgs0AfaHlqkY1+yttdWeW/cAToGaPLj cyMkwSu1R8AxdgqYhoMvnuB/Gwlgag2Xzi35BJrQU9KNUjg78snyUHw9SeIw8+DIFWJK IHCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hxXGmVxL3I73yCIacxQ1IJSJ+uljK6VSvZv6Vbs8v5A=; fh=zUh4o0vImSw3VkzVU3/q5VqGws+k8Ix+Xqba4lO2N9w=; b=KkHgnj5lFi4SgCfNYwMRu3biTTONMm2crEWD6sqPDrDmY3Vp7nFq0DlqjlwmrAiTPP CWHkTfYeF1rT/O6Wfxn4V5isA1HeGkwfSA0XRHA7ZjJaiJBwymgYuDWUPi9DwXsbp2FI fnz/+zKp5zyCyJ8cG1N7hCAqpZXrsNwtmSSetcz5NU+xLetKhxYiCdi05oSZ1ZFZOfTv eNismHDGUQm3Zv0IlKJGKYsWX2UjLKZSGM5HDgZiIHr89jkQHxsbcJb6TnWqhMOyCl3C bhAqtjgAIvqvLcGNd441PpPnakHc84w/SLq0jbrXrltT/W8f5V1AumGGoJl9+1FllGFe TBfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CylwdhIn; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm9-20020a0564020b0900b0051dd27b0843si802590edb.44.2023.06.28.12.58.23; Wed, 28 Jun 2023 12:59:15 -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=@kernel.org header.s=k20201202 header.b=CylwdhIn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231668AbjF1TkZ (ORCPT + 99 others); Wed, 28 Jun 2023 15:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231561AbjF1TkW (ORCPT ); Wed, 28 Jun 2023 15:40:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEE5010FB; Wed, 28 Jun 2023 12:40:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4550D61460; Wed, 28 Jun 2023 19:40:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54110C433C0; Wed, 28 Jun 2023 19:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687981220; bh=klgTWdJWuY+ukpWOnYTdmCpH06zL7nTICvdJceCsqqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CylwdhInikX6hCGDUJn+nYbTRlGsBpp8Ur1zy7oz6vC3UiprJVxVbFkCZu74t2Jtu ZiEy79TUuvXOOtW/Bfd3qpZLlyZFkU5s41sV/eC5HbLQ4zcrdDAc553OUbwklCuyRg na5DZ7Re+mqsLV37CoA4VTFyrlL+fDLinK29qUx22ceiiKxmgtjSevvnmNaaTt033Z IZ6IL22GqPzZqCgBJwJNQIkU5ToE4Sn5FwqVysax+mF/tePaX3LFWpfdteoqyMR4sL CQh/pCdpvXIZy2UcIY+I6iVRPEcJ3LbQTaqJDECGNaFtJN9fzCErqCO1FIg8cNB48P llGyLkXmA2NiA== Date: Wed, 28 Jun 2023 20:40:12 +0100 From: Mark Brown To: Dmitry Baryshkov Cc: Srinivas Kandagatla , krzysztof.kozlowski+dt@linaro.org, andersson@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.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 Subject: Re: [PATCH 2/3] ASoC: qcom: q6apm: add support for reading firmware name from DT Message-ID: References: <20230628102621.15016-1-srinivas.kandagatla@linaro.org> <20230628102621.15016-3-srinivas.kandagatla@linaro.org> <73dce263-bee6-554f-9eb6-af4aa7badab1@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mgpSf2rFHH6HbzH9" Content-Disposition: inline In-Reply-To: X-Cookie: HELLO, everybody, I'm a HUMAN!! X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --mgpSf2rFHH6HbzH9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 28, 2023 at 10:33:16PM +0300, Dmitry Baryshkov wrote: > On 28/06/2023 21:10, Mark Brown wrote: > > If the goal here is to put all the firmwares for a given board in a > > single place surely it would be better to factor this all out of the > > individual drivers so that they ask some helper for a directory to use > > for firmware? Adding these device specific firmware node properties > > doesn't seem to follow. > This quickly becomes overcomplicated. Some platforms use different firmware > naming structure. Some firmware goes into a generic location and other files > go into device-specific location. So having a generic helper doesn't really > help. That sounds like a job for symlinks surely? --mgpSf2rFHH6HbzH9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmScjJwACgkQJNaLcl1U h9BCDgf+MwHq6JhItt1dx5AosYopofv5eM+cXQTZJxH7Ty1pBE0ZrubrQITHgUps ZMN5jdtiLpD1sam4qsyb1yNUB8o+4sk7p6Q6rKS/Bwv73R6lQwd04PS3+KW+12V/ Pg39ZUdB4XjjKgmKQ+LKBXZi2qkB4Vhd9ApqIMIEtNYXhRk68JVnhlUseenPfn6Y +bay/mh1nmisb1hVYEhwlabisc2pRStjRhD4+MKBxEEdHPKyUtUciYCUasW4OCj6 mcptRKGax8OZWyWykw0htaHI19V+6QkTFvZDlNc7mwWBqQx+t7FxgsbpGR3Eo1L2 dnMNFETQ1pxu67LvWHYP5e6gRpok4Q== =Nl3r -----END PGP SIGNATURE----- --mgpSf2rFHH6HbzH9--