Message ID | 20221231002716.2367375-2-elder@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3127228wrt; Fri, 30 Dec 2022 16:30:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXsMvCKhUziKCdxVjZQl22CFdl7OLJpUG9B1ZARt9vMv2e7QNBKGENMyEFB2m+/YNh6JK8aD X-Received: by 2002:a17:906:bcd5:b0:7c0:a49a:1 with SMTP id lw21-20020a170906bcd500b007c0a49a0001mr28125201ejb.71.1672446655532; Fri, 30 Dec 2022 16:30:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672446655; cv=none; d=google.com; s=arc-20160816; b=gHP+HYm8lTrs7UnHLcF7wgN5kyU6XGn4fueafZTxGZXfBZZQ2ffjzpUEoqUQpDb9Ae La/9SIltffyidhWYQZiwSH1JmFF6m2EZHFxxRN2NjeO9Q6n2H9SjgByJMwA9acfwg+ed Dw4B/6/iZsg6PY/lACIOBYtNje8iiQkswf1JSiErZTBBibRam1Uu4KYPG2LXkYiFsu2E kxEDdYSDcbuWMlotFoFXpPG/SIxBIgZWj62jKL7R3SfRY+9r5VwlKHYsE/y3eM3rBP0u C36oHNo+myh+QwwulyxclzXXZb0wheemoFtP6X5HUyIQmeNLIo6exwMzrNV3zTxUhjA+ J9Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5eqU7JgWl4dJVjguwaLq4WB7+jzDfq4wubcJKGAoN4w=; b=N5f/RUg68kKXP8iVfUSvuw8SdapCE2kG1FxhY9jiWxzBcbTcHFRrMONmYUSJAdgAMW bYJbGhE4c5bbfvLu5Gd3t1wB9QlFWiJcl+RuI7QlecwonShDc1aHeXdfOMiGPH+8BThQ K5H6d5yK/bQwAdxA+9jj9EfJ9cygzTihuMHuFr8WHBIMnR8iUAAF3XZ7JM9jpJKrcykc 4D4d00N5RZDxTNvpVZ77Ebk1OlLnt/vRy0U/UxxCJ25zVrF7/iFsRU1VfR6dGIfLgVKm +qJAA6w4H/QYydjlQXv9+EF6I+QfqRA/t79s2TdK64pRkd5UtcoW3ASrGm2bUtiKPgOC pm3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kgdmWFZU; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h5-20020a0564020e8500b0048b4f11fbfdsi1888295eda.117.2022.12.30.16.30.29; Fri, 30 Dec 2022 16:30: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=@linaro.org header.s=google header.b=kgdmWFZU; 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 S235936AbiLaA10 (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Fri, 30 Dec 2022 19:27:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235870AbiLaA1W (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Dec 2022 19:27:22 -0500 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 692871EAC2 for <linux-kernel@vger.kernel.org>; Fri, 30 Dec 2022 16:27:21 -0800 (PST) Received: by mail-il1-x12d.google.com with SMTP id g2so8970092ila.4 for <linux-kernel@vger.kernel.org>; Fri, 30 Dec 2022 16:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5eqU7JgWl4dJVjguwaLq4WB7+jzDfq4wubcJKGAoN4w=; b=kgdmWFZUa8sixWzA+A7G1gfSz69e5PpnfVf8GKUDUCs7tLlaN0/Ftk2Q/CBIB1XX5J tzB905s27qsKME0pYRYuPtnM5/RPVzR3bLa9EhSbn2/A9O9jE4zboN7VjAG6Tbsc3YJj YOfZOE+cTiC2CDth/8pJXLswxfZvTMDQenI7ngYD6wPlKVwI87sgiu+99uyStIlH23Pi OdOUWrwHdDHLSeEuG+BK7pR/G5/42XeVMAQaX8NKaLH/yPjXNrrDAG2CUAn6cF11agKm Go2NT6+2YDpMIlcVrlAC0otg1gATClObTHrtOWkkEagW/+BHWX2njvJ5EMuil0U6kZKl NyFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5eqU7JgWl4dJVjguwaLq4WB7+jzDfq4wubcJKGAoN4w=; b=t0Akq/cuRC0ufFXn3gqthUMvmav0Cd1lcBXFrJY6gGXGLkfxfflIbMnv2rRRZnk30L ZiBx2I0iZf4HkZNGCYeLQ4SZmaqSZW6qERmRlfZKrQDj0teEIwTRm2U0JeZkRvx3vQRB kif84xtvwDuBckNYvVFsyLbD27jIsZYmomjADf3gD+4amt6IRZ8G2QzAuc2DqBOcwQSw yL46+p+gGev6JWAMxdpK+khRI7Z5jRaYwVGTzqRohWSLbA9D6lErBbCPBmt9UQMtMtAM cU2v6wMpSU8gUKG/w9peCrFuH3KmBTJxIhRRHRs6aQ9tKQnTdiM2u42eVp5q4in2+gTG 2loQ== X-Gm-Message-State: AFqh2krbLGG60cz8+mSQQ67HR4iY0bhFIK8i0KwW44aaiwmE3d4paAri Jo7bmTCvLE+8Sl8il8WjCttjdQ== X-Received: by 2002:a92:8e13:0:b0:302:f953:4637 with SMTP id c19-20020a928e13000000b00302f9534637mr22058513ild.26.1672446440817; Fri, 30 Dec 2022 16:27:20 -0800 (PST) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id t4-20020a922c04000000b002f9f7d24d78sm6969279ile.76.2022.12.30.16.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 16:27:20 -0800 (PST) From: Alex Elder <elder@linaro.org> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org Cc: caleb.connolly@linaro.org, mka@chromium.org, evgreen@chromium.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: qcom: use qcom,gsi-loader for IPA Date: Fri, 30 Dec 2022 18:27:15 -0600 Message-Id: <20221231002716.2367375-2-elder@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221231002716.2367375-1-elder@linaro.org> References: <20221231002716.2367375-1-elder@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753687424497291402?= X-GMAIL-MSGID: =?utf-8?q?1753687424497291402?= |
Series |
dts: qcom: use "qcom,gsi-loader"
|
|
Commit Message
Alex Elder
Dec. 31, 2022, 12:27 a.m. UTC
Depending on the platform, either the modem or the AP must load GSI
firmware for IPA before it can be used. To date, this has been
indicated by the presence or absence of a "modem-init" property.
That mechanism has been deprecated. Instead, we indicate how GSI
firmware should be loaded by the value of the "qcom,gsi-loader"
property.
Update all ARM platforms that use IPA to use the "qcom,gsi-loader"
property to specify how the GSI firmware is loaded.
Update the affected nodes so the status property is last.
Signed-off-by: Alex Elder <elder@linaro.org>
---
arch/arm/boot/dts/qcom-sdx55-t55.dts | 4 ++--
arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Comments
On 31.12.2022 01:27, Alex Elder wrote: > Depending on the platform, either the modem or the AP must load GSI > firmware for IPA before it can be used. To date, this has been > indicated by the presence or absence of a "modem-init" property. > > That mechanism has been deprecated. Instead, we indicate how GSI > firmware should be loaded by the value of the "qcom,gsi-loader" > property. > > Update all ARM platforms that use IPA to use the "qcom,gsi-loader" > property to specify how the GSI firmware is loaded. > > Update the affected nodes so the status property is last. > > Signed-off-by: Alex Elder <elder@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm/boot/dts/qcom-sdx55-t55.dts | 4 ++-- > arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-sdx55-t55.dts b/arch/arm/boot/dts/qcom-sdx55-t55.dts > index 7ed8feb99afbe..61ac5f54cd57d 100644 > --- a/arch/arm/boot/dts/qcom-sdx55-t55.dts > +++ b/arch/arm/boot/dts/qcom-sdx55-t55.dts > @@ -237,9 +237,9 @@ &blsp1_uart3 { > }; > > &ipa { > - status = "okay"; > - > + qcom,gsi-loader = "self"; > memory-region = <&ipa_fw_mem>; > + status = "okay"; > }; > > &qpic_bam { > diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts > index ac8b4626ae9ac..c9c1f7da1261b 100644 > --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts > +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts > @@ -237,9 +237,9 @@ &blsp1_uart3 { > }; > > &ipa { > - status = "okay"; > - > + qcom,gsi-loader = "self"; > memory-region = <&ipa_fw_mem>; > + status = "okay"; > }; > > &pcie0_phy {
diff --git a/arch/arm/boot/dts/qcom-sdx55-t55.dts b/arch/arm/boot/dts/qcom-sdx55-t55.dts index 7ed8feb99afbe..61ac5f54cd57d 100644 --- a/arch/arm/boot/dts/qcom-sdx55-t55.dts +++ b/arch/arm/boot/dts/qcom-sdx55-t55.dts @@ -237,9 +237,9 @@ &blsp1_uart3 { }; &ipa { - status = "okay"; - + qcom,gsi-loader = "self"; memory-region = <&ipa_fw_mem>; + status = "okay"; }; &qpic_bam { diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts index ac8b4626ae9ac..c9c1f7da1261b 100644 --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -237,9 +237,9 @@ &blsp1_uart3 { }; &ipa { - status = "okay"; - + qcom,gsi-loader = "self"; memory-region = <&ipa_fw_mem>; + status = "okay"; }; &pcie0_phy {