Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp306273pxj; Thu, 10 Jun 2021 22:59:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNXadPOCfhJj6nnVVBiVrsM3wM6L3fZjX10VJ7kZFU1wTBXXy39RwHBF5WpA4W/ZseLnM3 X-Received: by 2002:a17:906:6bd8:: with SMTP id t24mr2090012ejs.501.1623391153799; Thu, 10 Jun 2021 22:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623391153; cv=none; d=google.com; s=arc-20160816; b=l2hCVbiNCbf3OnU3c5m/9gvs2hxwFgGB/zLDhlC4GkkFv9BMaU4flqsTviI17KzJWS hJRIwZZxoOOpP07JSWe9P5mAJ3eQDOOY1DrFbDvytHu25Ksr3dYA9nXaNhk8FhuSwE19 nQsTghx1iT+SeNYqljWYHhL5LGs3dJrE9dhxAPSCVPdLlERiOzhjrPPNCAU+FQbqLDMl tu0rp7Yf4yPECaUF7Th8kBlfcoWiM9NUm+m0pV7IxSzQLw2dCZHcEa/op8v/npiTJuO/ p35SHBVot8k2GIoLDw2gwpJj8ubNol+Sp6auLMrgJi6HtnXuY+SkCjAemyHT8tIsTsOB v8PA== 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=kWJT1TKTJY/Zgs7uYHfj5AaoA70mjqy3p3kWRMzXAxk=; b=R5cXOTHhsT4Kz302o2pdUXmjFxgyZLQyCQQI13l0a1o1i9jFew98vqe0b561EHtV1X E+rzO3+uREEsZ8jzVnb91KDctNZoAU03EZbQBzyguwLWDlGfFII9B+ITannv3nn/S+QT gaNh4cMJR6VI1omjGeojODMGEX7H2P5HH67rD6oCqs2AuRGlQMlYDr1GV/W6mgfDlHgE kQ1UsvV1GsDg+VlSKnfmtAQtJbECxVJhhLHrRu+35Gt60k0ikzXTFYvydAnvmkINYt1v w7JZWkltxrSZz2L4/NxwYN+j0t2YXYb15ggxwozyEZO+g7SDIJ1sVnK5FudLsnziiu4Z 6rTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u8gClsaT; 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 f2si3705636edt.405.2021.06.10.22.58.51; Thu, 10 Jun 2021 22:59:13 -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=u8gClsaT; 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 S230117AbhFKF5r (ORCPT + 99 others); Fri, 11 Jun 2021 01:57:47 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:41692 "EHLO mail-lf1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbhFKF5q (ORCPT ); Fri, 11 Jun 2021 01:57:46 -0400 Received: by mail-lf1-f53.google.com with SMTP id j20so6830849lfe.8 for ; Thu, 10 Jun 2021 22:55:48 -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=kWJT1TKTJY/Zgs7uYHfj5AaoA70mjqy3p3kWRMzXAxk=; b=u8gClsaTykBGjpue/UpE/vI1OH77Q+uPf76rg7zMpmxiHwyu51RAlukcuO4AxjLoI3 Cty0lTSdW9Y5xTgrdjej2t/H3E70Vo+XdeSaT/8UYxAGt32R05y1+kcb7BHfKCTFOh8v hAsJcej63Y44lRkwFMiZujBdZhPU+MKb5G58qBAhafPWI5G7RqGrBHuqVl1v+EHamul8 QCLSSR+aZH7EGSg08GuBeCANTIZNepvmU56Rf2SMURWNXlmmSAqLtYKvtKza0NbPmCCZ KmucvYemd9/hBxPy1GyOII+fSH/JVVU3y8AtzJMO/BcAOb5zv6nFUAK2H2a9yMd0C7AK p06g== 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=kWJT1TKTJY/Zgs7uYHfj5AaoA70mjqy3p3kWRMzXAxk=; b=Z50Qy1OoxYsAbkN5w5Ni4ofIiBoAy5qOUVw6UT3y3Xqs0KIcE1rwRE9XdmEohfGbu2 244jMPo9LYof7sc8NYmedSZjZuvORn2mr5K+B591MfGdXStNuqfYXYVQhSeAVIoOHWh6 NG9wHmThIJc+uo2P8WcPqOZugatMxDdA0veEosK/XggrHvAT+oRtU+npEWmUIO7SOxtc XlQgtDNkh39oiYnZJqkeJipMYh+3FnpHDztZXARgmHaJqkYTqHOskHJx5lriR3Yd7BK3 0BhHfj2yuvc8X7Mg6jb4PCDAi7vqQWHWJOGsBKD+FzQuIuL60xC/AvmOrhNUWx64fmSU fTnA== X-Gm-Message-State: AOAM533IldsWKT9dhndHyqh/+dlr62icUuDbBlfwycuEVGmv+lHY207x wJDT2tp4fK4WMaJzSW/A30D4yeSfXn32LC46/Vq7+w== X-Received: by 2002:a19:c181:: with SMTP id r123mr1573442lff.7.1623390887802; Thu, 10 Jun 2021 22:54:47 -0700 (PDT) MIME-Version: 1.0 References: <20210611050808.2554431-1-vkoul@kernel.org> In-Reply-To: From: John Stultz Date: Thu, 10 Jun 2021 22:54:35 -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:45 PM Vinod Koul wrote: > On 10-06-21, 22:27, John Stultz wrote: > > 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 :) > > I would rather think of your email as background material or trigger :) My apologies for stirring up trouble. :) > > 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? > > We have had a discussion after the email thread and thought it is better > approach to stick to mdt format as used downstream and not have > confusion and issues resulting from upstream vs downstream > > Since SM8350 is a new platform, so switching here onwards made sense, > hence this patch > > I should have added more details for this in changelog as well... Ok, thanks for the clarification! -john