Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1972022rwb; Thu, 15 Dec 2022 17:29:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GWv3/UkB9SIb35pF0GHDuva4v4j9qQZ74xF3+i8IVdR2RrthcImyt2UsIbMl9/5q4CnXR X-Received: by 2002:aa7:9555:0:b0:576:c9a1:ec35 with SMTP id w21-20020aa79555000000b00576c9a1ec35mr35867926pfq.17.1671154195645; Thu, 15 Dec 2022 17:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671154195; cv=none; d=google.com; s=arc-20160816; b=Rqzk7xi1MGZCWyRDsfQwjE4Nt3LAsGmWjxcke14T7YtADZa7ukCsnamxvTDVVed2rq ZyvMbvA8vTr7EB4UsFW7JqEnCSJimQe3DEubk+a4H2q+x+hZTSzvacpfJ6sJJGt8Cthp FWHq4JbPOc+qoMTMoLJA1/4S4A3DHvQKEOeenlpdA0g1wV18Ty/GeuJvEm3FFrEMKhGC fZRwaHm6zjlzx/ZMGjWLHMHCZrLn+/ELFgA7qaifJ1hP8tOVCF7KY3ZhjYOoMhFJaIzn wCetFp7UaxXY21feI5GG0ceC4mX6LhyodB5VyzkCTimCESUjr5qkwBNwQthUCWoJsx0y BCnQ== 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=g08NksEKoOrU8KMw47a1woD21yieKuv5YfZnJWjlF2A=; b=D55KgDiEfNUeViP4Bnh9jybtAa3nKJrC0tmvGedc97fSMIVBoYSRdI2n5M9vF27md/ snC7zlcBPGsYQb/goLitfixvHLogDmpFaZ2ZQ41wf9u3tjK0ImalcatSfz0uBjXSKkgQ EIohmCbe8jVmFRL/0JzwkbRgiJjZ4ra47SlyVtRmbgyIaEzo7Zwgca01MJtHi0oWtY6g oGyrn6YgKHqAtIV0DdVN8lXxi4q1escQVU7qGSXk9grhNacWWRBK02JRdV8zId18IrZ1 DKTBYO3pW6DUpzZFNufdT1PawWNZOOQhKvQn4x569tVVo9KNBwmI1JpN6Z7lSVIV35qj N1gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WK0BCJRk; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a621509000000b0057881f4a31fsi755974pfv.137.2022.12.15.17.29.46; Thu, 15 Dec 2022 17:29:55 -0800 (PST) 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=@chromium.org header.s=google header.b=WK0BCJRk; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbiLPBBY (ORCPT + 68 others); Thu, 15 Dec 2022 20:01:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiLPBBV (ORCPT ); Thu, 15 Dec 2022 20:01:21 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD58318B30 for ; Thu, 15 Dec 2022 17:01:19 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id m15so575978ilq.2 for ; Thu, 15 Dec 2022 17:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=g08NksEKoOrU8KMw47a1woD21yieKuv5YfZnJWjlF2A=; b=WK0BCJRkm8uppwvGebpPX5SnM2eeJ7ZP6cQ3Dhz8iASi+JJ7u+NoHWJFt5s4aOX/Zc JCMgJePxJea9Nt++2tHIvgqaw8Cbc8OBPaFpFfruaytR1TfLtnHAvYPzCRp6Gk0ruUtI IG6SYugnQRhvV0RKu73Syv4uC4Ny4PEaMhB/4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g08NksEKoOrU8KMw47a1woD21yieKuv5YfZnJWjlF2A=; b=Zj4v7rRt0tjmEKguSaceQ/JjbxpgDPNDdnT2BcsCF/oMkTi+htap3zOABLFpipj+VG U9tpxXAwGTpH4lWugtjo5GUoWGdGjfnT+V4fxcyk3ZSX3znvB+Png+cxzRqSUw/b6eYE FRRTmTFVYXB/4pCtNr8o/Ij9hCFvYhxYozWyO1SPTz7TSfnLPJ+wbUEEoUCpJObJt4Dx ew/662DtNK0mgxNM4L9FZovB1/eYfjanNjSk5vKRpllTCMy3Xh+TQO1YPusGwpYGfB3J xRS2DXDPuuP2zxiINw8KIjYcXLGho8Ftc/9gDUh3grolX1fxAlRPSHCBClcjvCilAv9Y gTmw== X-Gm-Message-State: ANoB5pnqGLbgrZcPpzoeKANc5HcT8oP3IS6GuZRpCSstIbbZ1l5w6DtO a+OOPN9DmHQnfWWMUMEim+RJcA== X-Received: by 2002:a92:ccca:0:b0:300:e8df:4901 with SMTP id u10-20020a92ccca000000b00300e8df4901mr16927674ilq.10.1671152479106; Thu, 15 Dec 2022 17:01:19 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id r9-20020a92c5a9000000b003039e7d680fsm270394ilt.11.2022.12.15.17.01.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 17:01:18 -0800 (PST) Date: Fri, 16 Dec 2022 01:01:18 +0000 From: Matthias Kaehlcke To: Alex Elder Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org, quic_sibis@quicinc.com, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64: dts: qcom: sc7280: enable IPA in sc7280-herobrine-lte-sku.dtsi Message-ID: References: <20221215224552.1232449-1-elder@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221215224552.1232449-1-elder@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Thu, Dec 15, 2022 at 04:45:52PM -0600, Alex Elder wrote: > Subject: arm64: dts: qcom: sc7280: enable IPA in sc7280-herobrine-lte-sku.dtsi nit: that sounds as if IPA wasn't enabled previously. It would be clearer to say something like: "sc7280: only enable IPA for boards with a modem". > IPA is only needed on a platform if it includes a modem, and not all > SC7280 SoC variants do. The file "sc7280-herobrine-lte-sku.dtsi" is > used to encapsulate definitions related to Chrome OS SC7280 devices > where a modem is present, and that's the proper place for the IPA > node to be enabled. > > Currently IPA is enabled in "sc7280-idp.dtsi", which is included by > DTS files for Qualcomm reference platforms (all of which include the > modem). That also includes "sc7280-herobrine-lte-sku.dtsi", so > enabling IPA there would make it unnecessary for "sc7280-idp.dtsi" > to enable it. > > The only other place IPA is enabled is "sc7280-qcard.dtsi". > That file is included only by "sc7280-herobrine.dtsi", which > is (eventually) included only by these top-level DTS files: > sc7280-herobrine-crd.dts > sc7280-herobrine-herobrine-r1.dts > sc7280-herobrine-evoker.dts > sc7280-herobrine-evoker-lte.dts > sc7280-herobrine-villager-r0.dts > sc7280-herobrine-villager-r1.dts > sc7280-herobrine-villager-r1-lte.dts > All of but two of these include "sc7280-herobrine-lte-sku.dtsi", and > for those cases, enabling IPA there means there is no need for it to > be enabled in "sc7280-qcard.dtsi". > > The two remaining cases will no longer enable IPA as a result of > this change: > sc7280-herobrine-evoker.dts > sc7280-herobrine-villager-r1.dts > Both of these have "lte" counterparts, and are meant to represent > board variants that do *not* have a modem. > > This is exactly the desired configuration. > > Signed-off-by: Alex Elder > Reviewed-by: Sibi Sankar > Tested-by: Sibi Sankar Reviewed-by: Matthias Kaehlcke