Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp802100rwl; Wed, 29 Mar 2023 08:38:57 -0700 (PDT) X-Google-Smtp-Source: AK7set/tvjWwHpBM0FzDWmeIcsHuQ8Ytw6NO7OAfBn9Fai/Hc8aFxf+3h7H7F1jXgn/e33MyX7i5 X-Received: by 2002:a05:6a20:78a2:b0:d9:2cef:949a with SMTP id d34-20020a056a2078a200b000d92cef949amr14232668pzg.28.1680104337014; Wed, 29 Mar 2023 08:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680104336; cv=none; d=google.com; s=arc-20160816; b=ZqGsECKh0RJwmoJjyR0jLWSE70glObIX9Pb4BFHi93Vu0QMK48GwRzHZW+hKL1p4WC ELUAtBFJ5YoL4ya2XnHf12iUI9Vlf6Hv/AK+dRdXl+tXjcHgsIIHuu8qF8HVJy8GoGjx 4f4xFK7lPffdWbSfxQfGqRXNk3ZdaEVNbA8k9LN9k4s5uHx4pcl1YSRLqiBVppI2BBNV Ux5j5qOojvzJ8/FSI+ufvi03bbaO5+Du8tHgR25ywkDMIkpy0Ea6DwYZ+5r1VQa7E5oB lFJOEoVIpAj+HYMpmccQexr1rgks7vJLq2ZWzjQ6aQpQ7cnIrpbk+kI+Im2fywEJGlZT LvOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gquVTUvHedpHcdq5AeqiVp3y34dsTEeVrnOo0Yqlu7c=; b=u4Yy445TyZBmbayT3xRfrdZZ78EdONQSwDe7dgfEsJYsQqw24Y/1EyTSjp0teii/oO JtNahBOnNlAMFBWKfDN4+LyMLe6CfYR0HFeC8FFkdbdy+5Y2CzH0rPC+Jiimm8Sum4EA A+Lv6M4DQfFc4/oFQNES+lTZhE6JEtGxo0mygOTJ79n2CaYfdF65P779beJLqv7PntnE W0nOFJoONA4ogbQQ3lMNWKAYUK5Lo4qBdfSXGkb05Bog69A3LsYbhDL8pU7vVd6UuFON 2VyNYwIcm4LHdQiV60RoZinA+HTxtp1N7cbCSUvxCayOgdM4pvxEct5rMnNj2EAOfkuo RGrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="ptz/49+K"; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b00502f0d2abc5si21383041pgb.725.2023.03.29.08.38.44; Wed, 29 Mar 2023 08:38:56 -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=@cirrus.com header.s=PODMain02222019 header.b="ptz/49+K"; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230147AbjC2Pi1 (ORCPT + 99 others); Wed, 29 Mar 2023 11:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbjC2Pi0 (ORCPT ); Wed, 29 Mar 2023 11:38:26 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A4F7135; Wed, 29 Mar 2023 08:38:24 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32T9DfOv021397; Wed, 29 Mar 2023 10:38:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=PODMain02222019; bh=gquVTUvHedpHcdq5AeqiVp3y34dsTEeVrnOo0Yqlu7c=; b=ptz/49+KmM8VdXSGhmnQfUcyrszhHBjZslOfE4fVZyaBu0oGQk7/e/WBjbNX9r/eo9UN swETDuMBeM+2a5yU0vA3NdkDLbYBXyp2M12HNs9w6ISua/AOUzX1MuVEpe3hsxfGgoFH 3FwZekUJc9bVBbeVpZZlfw+6rsh28HJVW9iKvZ9rQAhpJmv/kEVYigcDEkd3mnx7S6eV 2LAbX1Hdf6RC6PpQzeDb4vrdXuJE5uq/X0gRA6VQ0Vee/Q75qieWX2IiHQUJGqKGs/NS mAwNv30FX0TtjLw1X/kRM/UEaIuesEUgndwnuWonp3/fBo4kAcRv7XCF9pKX/MGvy7cD iA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3pmjghgk5u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Mar 2023 10:38:09 -0500 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 29 Mar 2023 10:38:08 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 29 Mar 2023 10:38:08 -0500 Received: from [198.61.65.23] (EDIN4L06LR3.ad.cirrus.com [198.61.65.23]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 07FE5B38; Wed, 29 Mar 2023 15:38:06 +0000 (UTC) Message-ID: <51cdc8df-9472-a604-3cca-ebaa7ae5d899@opensource.cirrus.com> Date: Wed, 29 Mar 2023 16:38:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] Asoc: wm_adsp: Add support for loading firmware with prefix name Content-Language: en-US To: Jianhua Lu , Charles Keepax CC: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Simon Trimmer , Cristian Ciocaltea , , , , <~postmarketos/upstreaming@lists.sr.ht>, References: <20230329130525.15830-1-lujianhua000@gmail.com> <20230329140524.GU68926@ediswmail.ad.cirrus.com> From: Richard Fitzgerald In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: oqzieBcBoMJu0JrbVmSUGjtJEtY2GhHN X-Proofpoint-ORIG-GUID: oqzieBcBoMJu0JrbVmSUGjtJEtY2GhHN X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS 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 On 29/3/23 15:37, Jianhua Lu wrote: > On Wed, Mar 29, 2023 at 02:05:24PM +0000, Charles Keepax wrote: >> >> This direction seems slightly problematic, especially in the >> context of amps (which I presume this relates to, please let know >> if that is wrong). It would probably be better to be fixing >> things up such that the amp in question sets system_name when >> registered through DT. Generally speaking the idea is the amp > I also consider setting system_name when registered by DT, but I don't > known setting what name to it. Card name or something else? It just has to be a unique string. The normal process is that Cirrus would release the firmware with the correct name for the platform, so the system-name matches the string in those release firmware files. Do you have an official firmware for your platform? >> tuning is going to be specific to the enclosure/speaker involved, >> so a generic tuning for say left amps doesn't really make a lot >> of sense. > I don't known about amp tuning much, my need just is loading firmware for > more than 1 speaker amp at the platform using fdt. > > One of the both way is good to me. >> >> Thanks, >> Charles