Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19707868rwd; Wed, 28 Jun 2023 13:05:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bZLQYtXOj5JghpNb98iYG5D/BJjcnm49ltc9aeibOoBXTKO2/k7BqGjPzsm7j5jqCqlTE X-Received: by 2002:a50:ec9a:0:b0:51d:9f71:23e2 with SMTP id e26-20020a50ec9a000000b0051d9f7123e2mr5622950edr.21.1687982731305; Wed, 28 Jun 2023 13:05:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687982731; cv=none; d=google.com; s=arc-20160816; b=PCYj2pW+ZKvgtk8ifKQu7sqVhmHGSWudXJPQNajWzIHdHn+iCSFHYTvEI9ZzF2r11E jVLp0RYD9Bq/e4XqI2KHodTHt9PTgFGKgavx5RrVFxiYaEuQmtB7ybLqIN2SJSVV63Iz qV9YHMcquyos7t6yDsjKWBNc4CX399B6k9nejzSe8h52yru9u8OlkrWfLsMT62oDHfgP lGsWjAlZLLHM54BdAb8LUR39DY9PPFNich16b2QpHjZ+P/HCCrd6DwrY+PbASw9dLm5V sdT9K4ZuDQxxHVpN1F5QxwRo4qyHbD+ncS3IF22kkhIndOUujPXHloGCQekop7ELFOhZ Y4HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pH8fcOy6rMWZ3uve7XV8TBdo5xEMK41yysafMwoH2IE=; fh=wkD9PP/3//1wPoQDQST3ab8QcojJ3xR+0WrhBXW7zyE=; b=notPLsKcNDltolCtZkrSznHtX/vZbDhbW3qcTWp1l40cWr7Fe5Cz3k3eWLgGihN0hu +4P1YCGzIePjYutFFvYi6tmWDMYZD8C8cBEeWBIwzVrGuNx0fTlIBBNXCV/ZhxVcy079 wn0b9am7Lfy7cSX1lEN7IJ54Yevgahp/bjiV294KJ8smZ16OCseFPakwRiN/qETclpj/ kOxTPdQ019aFoFelBwYj1yuH9jvFe9/iZZl4bJARbG9aEm/mNrwgVHmFQzeOflHbucbI QX//JSstk74O8jr946tVUIenoOkqzPjrrRzFBMh6GT+j9hlRZN0b9Mn4L2rcrJwQhQrJ B0SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qz9jHSQc; 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 r21-20020aa7d595000000b0051d9fae530dsi3460788edq.487.2023.06.28.13.05.04; Wed, 28 Jun 2023 13:05:31 -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=qz9jHSQc; 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 S231286AbjF1UBK (ORCPT + 99 others); Wed, 28 Jun 2023 16:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbjF1UBI (ORCPT ); Wed, 28 Jun 2023 16:01:08 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 459221FEB for ; Wed, 28 Jun 2023 13:01:07 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-be3e2d172cbso114802276.3 for ; Wed, 28 Jun 2023 13:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687982466; x=1690574466; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pH8fcOy6rMWZ3uve7XV8TBdo5xEMK41yysafMwoH2IE=; b=qz9jHSQcQn2Eqv5Gcrj+63LutKi3Xyivczb45g2I/oid/NwcQYB2znuVTukvLXbnYh dQ1yCw8Nl/3jRnxBEBKJkON41/9l/WA/O5Z4STYAaBQ/HI6MCloeJnqwq/FYEmtwOt9j LqmsVf/132+dYgy+aDN8haLR3sHea+wzGg7ekrV4hr8JlpdLCIF9hvrbIuYX3l0xILNL ZwCUwEFvkqy12tPJhIpKFmTabXkNF0FEZN/m1qeW6R1ieMsmBWuOOCHxEIvEqiWET/dL WtAl1QYoLpy0eWsyqQIRbtUkAKjzJl/Qzr6uAb+o4Oft4N6JFgrNNltd3kSE5SCQZnvc i6gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687982466; x=1690574466; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pH8fcOy6rMWZ3uve7XV8TBdo5xEMK41yysafMwoH2IE=; b=E/StYszsqTJeaIJuZzZj91Y8Hc5Iht8peXqYrdJ3Ww7SFH+RJhrpD0T/JJThcUtvcs 27cun6xQmq41sO7c+cOpW10NxG1roJot2t2tQtaVkhQVREIhLYUbsvsxBAbluvHPSDer A2wbvGvicoVtB6c3aFHbcrAu6/4mrDs1O7Zq/+7s6R+3Ei3dSMNS5OVXnqI7on/hu471 CRcGmAry1XCPYHI8U7U1Vla4uCWuKNZgDEHK1xj+2JV6MSQ+/IBSfHazqAlG5l/qI3DM aVbtgsvt+3VukDhiab5JLgNtcsAQnCWs7rUqgdJrVQU+WQCBeMxzqvyNxYbrDpCK8LBO OKKw== X-Gm-Message-State: AC+VfDw+/jxXmIXxy//gyV8tEuSNfTpEB4ZPtWAZSQQdXK5nWUxoIa8X 3K7OnfMgNL7a3U8N3gTxVKyK6BglvSu7xEehrgSVUA== X-Received: by 2002:a25:da96:0:b0:c1b:4078:b136 with SMTP id n144-20020a25da96000000b00c1b4078b136mr11126494ybf.63.1687982466408; Wed, 28 Jun 2023 13:01:06 -0700 (PDT) MIME-Version: 1.0 References: <20230628102621.15016-1-srinivas.kandagatla@linaro.org> <20230628102621.15016-3-srinivas.kandagatla@linaro.org> <73dce263-bee6-554f-9eb6-af4aa7badab1@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Wed, 28 Jun 2023 23:00:54 +0300 Message-ID: Subject: Re: [PATCH 2/3] ASoC: qcom: q6apm: add support for reading firmware name from DT To: Mark Brown 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 Content-Type: text/plain; charset="UTF-8" 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=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 On Wed, 28 Jun 2023 at 22:40, Mark Brown wrote: > > 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? 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. -- With best wishes Dmitry