Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp292358pxj; Thu, 10 Jun 2021 22:30:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl06+P4VBsIY5t8H3vbCNf7AIU6z/YaEg0slQW21FVXOt2E+S/3mE/Hccxa8Zm4o8pNjwF X-Received: by 2002:aa7:dbc9:: with SMTP id v9mr1807835edt.183.1623389455775; Thu, 10 Jun 2021 22:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623389455; cv=none; d=google.com; s=arc-20160816; b=iVVl5fVV3C6ysXTsGxZuYK+LuCZyOfyl2Px8rg54wqihtw5X0Aos6pyDlGy3sp2z1M +vc9v4+SDTJeajabAteWW2mxEVkdk4ilJKizpeA0haQ+CpSPUlOz4+pJqL2i3qbYQ+15 Ugv135w1tkKNPO1Ocf7IXTUgKYCFEOpLhbOOar4f6ANOO7oQ8m2a1djzXDOsXFn0B0tW HxaCJWxIDlkRu9ZwPAQUJIUTmv1o+eMhl86k1p5FeXG49GFkFCZ4ZzFz5AYrVlrEYwmB A2f7JMVHimA28XPTWCstBS7KocpsmejsIajxvP2JWt1pQm06zC3L96KmNh8ypVumYqpP /I4g== 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=c5gXsKjQ+2+2284C7oSdijmBbkdjN+0NbjWEbQpWHs0=; b=N05wEHLaYY4h77x4WYQUArDMrViecSOwVJFcoe4xSwQ2fwWv6b9rEHEt7NhITanv/h ssq6wdm7Zm7SCZTLKY/yqCVAMuQI9NA1W7Uc4H2B4XIkY62C9ljzG2L2YNZ+nA2Olf2P 43Sc/soHjL715oOQ1FmfX9HB93qAhNyZZOGi96MAKUwbsCA03OlJ5Sm6W8wgoYS8L+3o MdRCFPRrnH+ugDgHgYs/8OsBroN8zLmKoFgiUtUlIwB3xqf047EOgyCAIgSP5B7DbbZ3 VyH8mONPCxK2DojlnBi1SWBkvPieKhExAKhiY5tdT/JpMTj0CL3mFDjFb7ijnnQm5xew 5hGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x+D4hIAt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si4155191edw.27.2021.06.10.22.30.33; Thu, 10 Jun 2021 22:30:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x+D4hIAt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231250AbhFKF3j (ORCPT + 99 others); Fri, 11 Jun 2021 01:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbhFKF3j (ORCPT ); Fri, 11 Jun 2021 01:29:39 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A01AC061768 for ; Thu, 10 Jun 2021 22:27:31 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id r198so6748348lff.11 for ; Thu, 10 Jun 2021 22:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c5gXsKjQ+2+2284C7oSdijmBbkdjN+0NbjWEbQpWHs0=; b=x+D4hIAty3oWf9qpo//b+wT4NFnC/7Z+GH0sd5q0MbdyLgyp/+EG8f2KxBMIT5FgC4 wMPT9mRU3seonnJ+6lrKTRNdPFQA59UJ3C5FsPJW2ddb/BsxkfcSIxIwLEmQgJXrnvKb a7+oqJEDwBtaP1NogddNoP1Pr8dJyyCwCiu4KMdV0KDS1tnMjlSCHJ7HjKjOA229pd5X q/PsEG1+ncaCra591SGqkQLGJv2fixOpL5CNE02wSCrHzLgr9k+HnN8uSC5NW56oRgiC JUi/ONCB04hlpkBa+GSQCTnj46h3FADmHbh/32Hd/I7sVvkaaFbzRUXZrjOxMolj1QMN s2eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c5gXsKjQ+2+2284C7oSdijmBbkdjN+0NbjWEbQpWHs0=; b=XYIMZb0qTYCTSyeRis832vT9Tw4qEEP6H7oyIltSKpEhFOcb5rcrUjwK6VkD9OrqRS HHfsHuW6Yx8jfu05S0W3bcIWw5W9e8GhnK6AsWpmUCSzMaWpNsPJCMDIFV48yVEfdX48 TBmWYnrfkHfJPaeZUJIEaq6yvP9gNNGtsmoS/SPe56s3DPAFEwjct+YZbQzTMjKOuHQp HqrEGCLtqgRDjWWeAFbk8SqxmIIKsmBi4dVdmFevsF1uV1eGlJ1mPA178D4lRgd3XX5F rfAX1u0FEv2bj3vrq3AEpuSTj7JOQRe8wD8ZMcJK58+FpfYfcft+bfeZtzwZ1R8KjVcA J9LQ== X-Gm-Message-State: AOAM530SZimNtwPcfKBgBRcd3yDcO74m0WQPxE7hSeHBMApdaP0mBGXm 2cituJjnETqBsQgT1KYIBIoLKyKSsIbSi7+x3lUvpA== X-Received: by 2002:a05:6512:3a84:: with SMTP id q4mr1491503lfu.626.1623389248682; Thu, 10 Jun 2021 22:27:28 -0700 (PDT) MIME-Version: 1.0 References: <20210611050808.2554431-1-vkoul@kernel.org> In-Reply-To: <20210611050808.2554431-1-vkoul@kernel.org> From: John Stultz Date: Thu, 10 Jun 2021 22:27:16 -0700 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sm8350-mtp: Use mdt files for firmware To: Vinod Koul Cc: Bjorn Andersson , linux-arm-msm , Andy Gross , Rob Herring , Dmitry Baryshkov , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkml Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 10:08 PM Vinod Koul wrote: > > As discussed in [1], it makes it easy for everyone to use mdt firmware file > name instead of mbn ones, so changes this for SM8350 > > [1]: http://lore.kernel.org/r/CALAqxLXn6wFBAxRkThxWg5RvTuFEX80kHPt8BVja1CpAB-qzGA@mail.gmail.com > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8350-mtp.dts | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts > index 93740444dd1e..d859305f1f75 100644 > --- a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts > +++ b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts > @@ -40,7 +40,7 @@ vph_pwr: vph-pwr-regulator { > > &adsp { > status = "okay"; > - firmware-name = "qcom/sm8350/adsp.mbn"; > + irmware-name = "qcom/sm8350/adsp.mdt"; > }; Uhh, isn't this the opposite of [1]? My apologies for butting in, and I'd stay out of the discussion, except for my mail being linked as justification :) In [1] the case was db845c was switched from older mdt files to using the upstream linux-firmware mbn files. This was a bit of a pain, as it broke on our userland with mdt files, and since we use both old and new kernels we had to have both filenames on the disk (via symlink) to keep it working everywhere. My argument in [1] was for new boards, go with the new conventions, but we should avoid breaking those conventions casually on existing devices. That said, I know it's more complex, and I graciously defer to Bjorn and RobC on the decision. But your patch above seems to be switching from mbn (what I understand to be the new convention) to mdt (what I thought was the old way). And from the git blame, it looks like it was introduced as mbn (new board, new convention - so all good, right?). So is this really the right change? Or maybe just more exposition in the commit message is needed (rather than pointing to my mail, which seems to be arguing the opposite) to explain it? thanks -john