Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp883634pxb; Fri, 22 Apr 2022 13:23:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQbazk51tlHaJOHpHYU1voPYxz36IDcKGzRXCIIVc2ZvcQ/eFDoscqv3JwTVC/3BVQXnMp X-Received: by 2002:a63:e912:0:b0:39d:f8f:ca7 with SMTP id i18-20020a63e912000000b0039d0f8f0ca7mr5260186pgh.121.1650658982590; Fri, 22 Apr 2022 13:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650658982; cv=none; d=google.com; s=arc-20160816; b=ONMqJzzmikrIFnX0vlDVbPxgIK9P6O5G1TpVS+qRzuQXXiKEXNteeiWqeblH29HvCe vEWXwAfvJBS3XT3Lw1sgsyUEbdbOK3YXJLgI9LX3Wjly5SoBYpA2CLC9+kAv69hl0UU/ n/6id771tadQxUaLk/w9glsFvPp8pzrJ+7tcEYGaMD01Rx6VtEz0QTDukhn/pCezFya0 F8M0gFPjq1mi40521vyTDyDY9ge8vt6jZ5MiI/AUnaxJNNA3wcZwsh5Sw4ngLxqG8GVC 4RXYYB61WTx9KYOfIRr/ieMOM5NlFLw8/mtPbvoW01uUTDCKwY9DMTeTJn1xRjBdqBhP bfpQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=e/i7C88k688+MpmDweUYU8miJaLmYfGKcYBjcJu+CDo=; b=oHc22qp4JDNsvafkCrEKjAKl/T5IqENqqYgKT52Hb2mltr8FIGcNMIdV/7Q8URE1// mo5Yyk0U2/1cXg3XaMZzhENRhCWFxe1iaf8e76wuCbJ1TqlHjoDKsIeLaFbp3jkfYZyb BHOadNnpVBiBcj6p53ZsNv1Zhdxm93WW58cCA3a189Sn7jHzDaQ+mT+HDNNAjAW7DD50 DW7qgbr6JmqG/XB5ilnLNWPgmRmbsteQookCusuhxNTwmZaDq2ElkYJQVm13+0IDgGce lJ1VmGjlUoofCOoUj57HR8hgWxbKXsxMkkBhmlM+dsiz1NTaOJVVUP/vdzfTSJAwpKkI M/9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ULUOAKD5; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u189-20020a6385c6000000b003aa93f13db1si4758031pgd.648.2022.04.22.13.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:23:02 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ULUOAKD5; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 84852205; Fri, 22 Apr 2022 12:09:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442261AbiDUWCu (ORCPT + 99 others); Thu, 21 Apr 2022 18:02:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442280AbiDUWCs (ORCPT ); Thu, 21 Apr 2022 18:02:48 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E9AEC39 for ; Thu, 21 Apr 2022 14:59:57 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id e1so3934018ile.2 for ; Thu, 21 Apr 2022 14:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e/i7C88k688+MpmDweUYU8miJaLmYfGKcYBjcJu+CDo=; b=ULUOAKD5l9KGzgpIQGscugkj8DfAkAk5L3CYAzM3EUPB1DeRg5l0kv6OLuaYKAUVqP fR42DOqJxwEXyDrysQjkBAv8vVNSLggl2PNVczfw65ERZjheqaWK85S7agGbICEEwBZt 1E2Jwe5Z8nN8CjNnio/hQ1FbQtJ7X3CV0C2XVtJvbnZbKNnj932aCVeG57lSigsPteAR 4VrtO/9f9kJYCNntoWIDXTIczPRJxGUKD/pkOrsaGU1b0h8xt8OxgWJvu1duVhyvxdJb pEZf+T5tHa7AslVcsstpmpJXvyXrKIjsjm3TRf1Qm2VC94jllATwHetjqXtYHdylCs3m emaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e/i7C88k688+MpmDweUYU8miJaLmYfGKcYBjcJu+CDo=; b=ZsxTzx4bogXNle18AcKeWAkYpY1h/MdoVlAwr+VYhjeGuKUWDh4uoOL8q4Kp/1JSmm k6n/vZhq1hFhx98PupQ99sAWZfn5S+4f518x7kdrzcG1SkI/mC9aQbnLQF9Sz3vNE8Me 0JXEaqt9ycaH8YPNEb4P4gVxwSGALv177Qe/djvAMGkTQY+rzjy4xRNoPC2u2p2lNwKg TeN+bVVWT3OuYQwzGy3BpwNrZd7lY8rWomKkehqRhBgDhOi2+fbrPpF6IzGjz7tYNXSp 0nWV3XocJApyTh5yeHwsmPETZYJ1N+UlxnDwtmeCsDO8colmQORedU5MzRd9SZ4mTknd LXvw== X-Gm-Message-State: AOAM5326oHDSY/8gSMd1P7ZbCqrC5qzGi0yeBm9yrJ7dXpqBYKX6KsLZ YYFojuH3s3cQuKAURdbUtebBIQ== X-Received: by 2002:a92:1303:0:b0:2c5:f030:3074 with SMTP id 3-20020a921303000000b002c5f0303074mr774453ilt.134.1650578396474; Thu, 21 Apr 2022 14:59:56 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id o19-20020a056e0214d300b002cbec3af6casm143004ilk.30.2022.04.21.14.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 14:59:55 -0700 (PDT) From: Alex Elder To: stable@vger.kernel.org Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, davem@davemloft.net, elder@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: add IPA qcom,qmp property Date: Thu, 21 Apr 2022 16:59:53 -0500 Message-Id: <20220421215953.1750848-1-elder@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 commit 73419e4d2fd1b838fcb1df6a978d67b3ae1c5c01 upstream. At least three platforms require the "qcom,qmp" property to be specified, so the IPA driver can request register retention across power collapse. Update DTS files accordingly. Cc: # 5.17.x Fixes: 1aac309d3207 ("net: ipa: use autosuspend") Signed-off-by: Alex Elder Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220201140723.467431-1-elder@linaro.org --- The code for this feature was included in the v5.17 cycle, but the DTS file updates were not accepted until v5.18-rc1. arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 ++ 3 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 2151cd8c8c7ab..e1c46b80f14a0 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1459,6 +1459,8 @@ ipa: ipa@1e40000 { "imem", "config"; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&ipa_smp2p_out 0>, <&ipa_smp2p_out 1>; qcom,smem-state-names = "ipa-clock-enabled-valid", diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index eab7a85050531..d66865131ef90 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -1714,6 +1714,8 @@ ipa: ipa@1e40000 { interconnect-names = "memory", "config"; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&ipa_smp2p_out 0>, <&ipa_smp2p_out 1>; qcom,smem-state-names = "ipa-clock-enabled-valid", diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 765d018e6306c..0bde6bbb3bc74 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1443,6 +1443,8 @@ ipa: ipa@1e40000 { interconnect-names = "memory", "config"; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&ipa_smp2p_out 0>, <&ipa_smp2p_out 1>; qcom,smem-state-names = "ipa-clock-enabled-valid", -- 2.32.0