Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp744559pxb; Fri, 22 Apr 2022 10:14:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrcouzHPiQu2GjC8npbNQWpGUdR+btxC6lOrWI+rb7Li8BU2gJ825az3VibCVY9BEOJRz7 X-Received: by 2002:a17:902:8ec2:b0:156:9d2c:9ec5 with SMTP id x2-20020a1709028ec200b001569d2c9ec5mr5443516plo.170.1650647692019; Fri, 22 Apr 2022 10:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650647692; cv=none; d=google.com; s=arc-20160816; b=0rc1FduHWx0uLtOHKN2YEnUrQtYMgukBcLNO1cy80JNl63/i3/ROPX5/0rV5YVOhc9 +5x53aJ0JfWX6DLmrficXxnNXFaWzLTLCZsjmKn3+3tRsjY7gBSsJVWawsS2bFA/t/py lLgW766W4YV17vRupWBr+vZtNtgPQt0fjbz0vK/pNuUSXPzQqNMvvi2xapBezJ+9DcND mGFLTjPlxj3srMSkQ+6JHyXFAQfqS+y6c16bKYJPlFOE81FvCFvVgbjIW2t84uU5OFGF lkPC3dfyQeE2qwtJ5yWonISc5Z6cK6tVP0HUrBzCqMkmlQLMydKQ6T2wI1AE0qZa4lMi rKmg== 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=vIHq2HBsS+ZlB23O6YtXaEYLRUQW5zEReATcoEJZIY0=; b=vy43moc/Cy6pgpiIBm9rRmQPhiYdn92A1kv77saGCZmWUiNWVzc/tFEV7FfuRvgVJZ CHoles3DJf9PctJGapX/c/jDU13HjMYMEi+e80p9+p0+EmJRcwVo1feaTEjmxRRsX6qH H4/1r4tbE+v3AxVyBsmIR3GYsoEuWwBDPlFBF/MneQa5X4ClqQLT2wBtfwlnHE//c17I XyWZ9iZMKNcdMw9pPDnMwADRWHeNtdD/Ph7d2TU5DMOXUgZOi+wzslC9zuoqWa07sALb OMWDSsswoFbv9jsY+F5myOp4z4gqNBmsIPp+xHURv602q3n2srxqqp0QH3l9eg7PrCxR pv8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OkILIFJa; 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 g10-20020a170902d5ca00b00153b2d16541si8250389plh.329.2022.04.22.10.14.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 10:14:52 -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=OkILIFJa; 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 75A09A27D8; Fri, 22 Apr 2022 10:13:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442295AbiDUWDH (ORCPT + 99 others); Thu, 21 Apr 2022 18:03:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442289AbiDUWDG (ORCPT ); Thu, 21 Apr 2022 18:03:06 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43DBD62D1 for ; Thu, 21 Apr 2022 15:00:15 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id r11so3940865ila.1 for ; Thu, 21 Apr 2022 15:00:15 -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=vIHq2HBsS+ZlB23O6YtXaEYLRUQW5zEReATcoEJZIY0=; b=OkILIFJawVdCBAVXAHQ5aob0jZA9/JcCTzLA5VWm0f/o9yq/CSRMAz4BXAefcn/E42 O7UZ1mU5cVXUi5+yf3bOk3Doj7RtPzkRbDGNS0SwVIQ7rVegacd3HLx40BaawzGYEA2y xB3ww39TE92n9bU+gB3DppgExpQk+efjMDfVjOdtqBuLAUkZqIJlvSE7rjRWqxsvg48t 97dywKlYM4Ujf0zlf/O3xbwuDw3QkIPXqyxrda5siJ077oOO4FWLy6J1KWEgEfDoAwTP UCN776iUQ+kBCHWnWkVDEMf0fd/aP+0OnGkKwsCv9Yx0POcvPD9DY2c7ihjjlEMwIKhv 1Icg== 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=vIHq2HBsS+ZlB23O6YtXaEYLRUQW5zEReATcoEJZIY0=; b=QGTXjnvuR+sk0bXZtiwdjkOQL6VljzU1+0/vClAPJ2IaH80UvCDwzShBsKhjAjss2u XrDPN4a0UB8Xzrr29E59H/eCzOsraJExKBu67VIZhSRPu0hn9fa8svdmmG0y/staSHtx TMN/HWyLAJNDdevo1GzdOMGqGZwk7t8HoSbCysB73r2zpNU+bBOcQ4e6Vu+uqPdfjlZ4 YSEXOdqta6FUUMLp7/80T+SJw+9XgVIyxWjH3Ig8ur3KH1Xc8l3iqkbF98NfbOXmIDsj 8L7A9hkWQLy0CPvmC6PYZYisLjSidOIlDY/rPoFTI7PMY/CL5H0Pt8JupreBiFOgWdP0 L6zQ== X-Gm-Message-State: AOAM530B72TK1hiJd+o/xIs/1zmT8OgeUh0JX0Ts4Lp8Bvm0O1yBQ2zc MkD48nH2bWEvCRLOKI6f5CR5cg== X-Received: by 2002:a05:6e02:2162:b0:2cc:2a35:f3c7 with SMTP id s2-20020a056e02216200b002cc2a35f3c7mr746447ilv.184.1650578414656; Thu, 21 Apr 2022 15:00:14 -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 q7-20020a92d407000000b002cabbe6e295sm148806ilm.4.2022.04.21.15.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 15:00:14 -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 17:00:11 -0500 Message-Id: <20220421220011.1750952-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.15.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 --- Enable this feature, now that 8ff8bdb8c92d6 ("net: ipa: request IPA register values be retained") has been accepted into linux-5.15.y. 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 495c15deacb7d..de86ae3a7fd27 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1460,6 +1460,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 692973c4f4344..b795a9993cc1b 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -615,6 +615,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 3d32d55818168..9ffb7355850c7 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -736,6 +736,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