Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19728863rwd; Wed, 28 Jun 2023 13:25:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Te5f6Bm33Iz2QbyqYeu0YpMg10cg9KLXd4+6QGsMYD6WLefNYLaMDWNF2pJNuvWhPpebO X-Received: by 2002:a05:6a00:21d2:b0:668:8596:752f with SMTP id t18-20020a056a0021d200b006688596752fmr22749625pfj.4.1687983944960; Wed, 28 Jun 2023 13:25:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687983944; cv=none; d=google.com; s=arc-20160816; b=vBumpUaeMbIBCfuGfq99H/4v22WYmaubqHvkexHw4Q/AXRiZK9ijDCkpzrl0+Vz6PP cthuCbpOxWYhbPQMzGrCL3yO7A2SgGSLiftM9jt2ZjTJjGuDTT5U9/XHuM/X6+iIEpK9 Rc2hEbrmMxSv+S2YzECfKqKxwaBK9onO8okL8uwPHs7j65WCGt8eiKa7yUGQMG3eDcQ3 lsn6lMLK6EPds/7OQ5mQas7LwsxLCXqQjtEzK3niOYU6B77b/KQG2fYv9whYwY94sFav 2di1xINopILV3E2i/VEKQUb2XqQxWLqiU+1VnOG0GkvzW0y7JWGLTORJJUa+6neq/25i pkyA== 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=LLcceKwXay+1+LZDqQSJ8DdnOTd9XJoa6qAnUlgbGhQ=; fh=zUh4o0vImSw3VkzVU3/q5VqGws+k8Ix+Xqba4lO2N9w=; b=UVcRYg+cdvLTq7RHabT7+ZnPikdmRVLzyq1GW48r1swK+8r6TDqqAYnAcqBjoFgXYz VJqxthycVNx4OB4LhH5UT+Aah4fG/FHbe7SjPfuO3Y7Zyv2SkpqvyAYacuwtKYS1QGpc 2USPoATjGbyjUstYgT/G66m1aO7q8WHylV7N9q1VZepCGvVEXHrf2XhItN2yBd6KCkrt MndorZq0ii6oLUx17av6D+TNT8rX6Hj+rDJdk7qziaJiOrdh3MPLvqA2Go2dyfOfqqrY z/rtkSDqT88v/Kpmqr8Pk1j9wa5kMRroDvBfgczRCK2kZbO1NjvkPv9F8BaOzs27wPNG 4/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ny+Dig9e; 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 u14-20020aa7848e000000b0066e96a581c8si7981886pfn.261.2023.06.28.13.25.30; Wed, 28 Jun 2023 13:25:44 -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=ny+Dig9e; 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 S231424AbjF1ULm (ORCPT + 99 others); Wed, 28 Jun 2023 16:11:42 -0400 Received: from dfw.source.kernel.org ([139.178.84.217]:54696 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232160AbjF1ULN (ORCPT ); Wed, 28 Jun 2023 16:11:13 -0400 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 D08F261466; Wed, 28 Jun 2023 20:11:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05DF5C433C0; Wed, 28 Jun 2023 20:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687983072; bh=LLcceKwXay+1+LZDqQSJ8DdnOTd9XJoa6qAnUlgbGhQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ny+Dig9eSI8aD48PEXYHzX0z4qqIyDFR4n9v6cCNGMCJIuUkM3THoCcDTZXFEo0iC 4pZSWDZDTu+NSJjYsR74RLvpclufEOOnYAMEzqs8y+O+w6t2DS/wwm7iXfJ50U74Py tlWQZbEZEOsEHxp0xbcG4lpIzaiwo6CzLehq3g8WFubcVqyVMQqTM6cneR/1N/aOXf DCfi7lw7VUlaKsMWs0zu3q9pfYNjCOCKH57v1bD+1bJqxYB8nkTPWAE3XF+YsheRNV 3nQjPTCxd/bNW4DvJNE4Dr7AFDTrxd2F/qF+4raCfkes3j7wvNuKhcOJb7MCCoE/Y5 J6DsMfu9kAncg== Date: Wed, 28 Jun 2023 21:11:05 +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: <12c19702-9a0a-45b9-9dc0-6b62879fae81@sirena.org.uk> 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="YMXJcNcxLhYXGPw7" Content-Disposition: inline In-Reply-To: X-Cookie: HELLO, everybody, I'm a HUMAN!! Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YMXJcNcxLhYXGPw7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 28, 2023 at 11:00:54PM +0300, Dmitry Baryshkov wrote: > On Wed, 28 Jun 2023 at 22:40, Mark Brown wrote: > > On Wed, Jun 28, 2023 at 10:33:16PM +0300, Dmitry Baryshkov wrote: > > > 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? > Excuse me, but I don't understand the goal for such symlinks. In my > opinion (and more importantly, in the opinion of qcom maintainers), > firmware-name does the necessary job. It provides enough flexibility > and doesn't require any additional dances around. The goal is to avoid adding a Linux specific ABI if we don't need one, and to allow later adjustment of what's selected on the userspace side more easily (eg, if a more specific firwmare is found). --YMXJcNcxLhYXGPw7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSck9gACgkQJNaLcl1U h9BlIAf/U3zhxoGXi5DoWCg8Bs+vMFignIh07oSJjhgCaLNRBDO8u+xB0O2y3Ttc huuRgDvcmjdZu1j258LPOc2dOwsYlGpIGNZuO2MxbeRxWLvJ+jYolrQr693R0H7Z H7tR1GmW2+kU10RHflKOdoByXYSFg3s8Y37K1gUAKYDFCtDdk72sSeRdKWAyxlb1 cieBspLTI7ezND4O8mBpNZTkPrw6TFGDtETlk6ek5ySbUD2beWWTbBWbb604LJrI IGStw1SfiHcu6eY0zm7BFyiWJgowKLxzq4Aesy/ok/Ng8ztRXk1dYttxFifSY+x0 GSDE23I/jS9mukoIMyL1z3/nA0ty4Q== =jB6O -----END PGP SIGNATURE----- --YMXJcNcxLhYXGPw7--