From patchwork Tue Feb 1 15:07:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 12731846 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15A85C433EF for ; Tue, 1 Feb 2022 15:07:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239971AbiBAPHw (ORCPT ); Tue, 1 Feb 2022 10:07:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240074AbiBAPHm (ORCPT ); Tue, 1 Feb 2022 10:07:42 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEF22C061401 for ; Tue, 1 Feb 2022 07:07:42 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id i62so21584367ioa.1 for ; Tue, 01 Feb 2022 07:07:42 -0800 (PST) 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=H8yp3rbd8JbpM9xzvbWKhE1rf763E53ItSWDuTa2i+Y=; b=MmeG2tNbMlUnA5lOOaIe7zg8BrI5FxJPb1n08t1d/6I6N/JTZfEtvt7uzND0fV8aJT s89B+6NbWLoWGLKn0QDsNkhAtbtovM8zsXHt66n6N5u/UkBRbzazu8UD+8p7mMEU/LGP mBdvE/vdZdC1pL6HTjngXfZvZjbRKNt+lBSeY23MANJmCk2egiwjgKpH0bjORXt0oshl asiTFN4HpSVjg8Dftfii4i7d0XLV7vNeBcY4ciaqxANujVS4svJWmmzrBnb6oY6V5ExZ URsHBrFy+EB09vUzuYDHRR3FSXUP+HN8bq4FjGr4dlslk0cyZ4cx8QplONSyBbULCF6J VYzA== 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=H8yp3rbd8JbpM9xzvbWKhE1rf763E53ItSWDuTa2i+Y=; b=H5swcfvFrxG77xDNBq2+c9fV5A/Vpl2BkNrPZkB0ZLcfZ5YJPxvf9d/JsO82Cu7q8c 8J0J7cDIEMZ8Gil7AHY5N1rry1+mUFSAr6/n0t4+cBxYcO0oCbeLk4kPjKa2BAmgkssy TwU+FUnt6zBqfsV5CsLDzLMhHc3Y+sqmnjCdw1FOqSxG2EDEbsNdFmJO8h2FpjJYxcHi R3y5vX2RlQ/pc/iCjz9CADXxKP5kelM0fA2ZDbKEKtBZ8TAKRQKh6zAhgQ/7wiyAnaGx Lmx/7QfwYJcYV5VNuw+Ds4hsp+XbzG9C5BHvhhuTc/mpy3wdR21x5UdzB0llQU30JnHw o6uA== X-Gm-Message-State: AOAM5330nzGplzzaLPjLM2orvdspCGW0FqD39QBm6igZ4BLP8EUZUfOQ ME10dis+2uGG9LGNxBRR+J6MYQ== X-Google-Smtp-Source: ABdhPJw2M1reXF4OuOYCJz65xgdJtTZhb67TTQV7E4ATO7cLleMoJ3tGMo/5T+Z4SslG2TJi4FdWQw== X-Received: by 2002:a02:85c7:: with SMTP id d65mr13610539jai.60.1643728062245; Tue, 01 Feb 2022 07:07:42 -0800 (PST) Received: from localhost.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id w17sm3517641ilj.1.2022.02.01.07.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 07:07:41 -0800 (PST) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, mka@chromium.org, evgreen@chromium.org, cpratapa@codeaurora.org, avuyyuru@codeaurora.org, jponduru@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: qcom: add IPA qcom,qmp property Date: Tue, 1 Feb 2022 09:07:38 -0600 Message-Id: <20220201150738.468684-1-elder@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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. Signed-off-by: Alex Elder --- v2: Add devicetree@vger.kernel.org to addressee list. Dave, Jakub, please let Bjorn take this through the Qualcomm tree. 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 937c2e0e93eb9..fe5792e7e8d7a 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 53b39e718fb66..5c2866355e352 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1425,6 +1425,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",