From patchwork Tue Oct 12 17:34:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 1539982 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=hlFeCih3; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=B/VL9YEH; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HTN9q0X9Lz9sPB for ; Wed, 13 Oct 2021 04:35:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ox2epymtXFfB3Cd4xo8gJtJInTeYdk9UsNN7tTBbW5s=; b=hlFeCih3H4vVmW 9B3aGRgmkbS2FxbbVX7pi84zc2Bz2U9u0xsXGZFNb4onH1wTlAXhljT2I1vBqAsolT0Z3efe0ClyT w2yLsAGCh/AlTxNwJd/uwHHGjpQw8N5nVkhrdtZl9JyI2H6v939Z/5KKY5pez9jgjsdWaLfKimTKs aEQm1tAg2KyBX/6+6MJ7MxdLX4uis4WTb5/4JCrfDHmbvy9RrqarLAe5UqnKf6VKiL3iVkaUzmuh6 Y9O/OkF6oBBuni2B9iaixkBr0+cqTxh9FCO8YjQDWX56y9kDutyN+7lzkcTkYbbfNdJ3Xyjd/ybrZ mhvNvdMVeXfe8pQKUSog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maLg8-00DdAB-Ko; Tue, 12 Oct 2021 17:35:04 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1maLg4-00Dd9O-4b for linux-arm-kernel@lists.infradead.org; Tue, 12 Oct 2021 17:35:02 +0000 Received: by mail-ot1-x32b.google.com with SMTP id s18-20020a0568301e1200b0054e77a16651so267293otr.7 for ; Tue, 12 Oct 2021 10:34:59 -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=Tld25oTrEk0Rr4dIbLQkkTv3D7B1kDK0KBIoATKHkIA=; b=B/VL9YEHMy2g0wh4f3eyupehoWeWzCc0NGrhNvY40NvPX+alNFIyrOAeatDzyPAhGD HgqGxKVbpJHE9HzIHNdqag1CBiqgRHPW1v1U6Cyxur5Uid80SQqpLGBuKsT68ClxkbfH Tmn1Ik3Eh/QdEW2ls/hzJYy32NisiwwK1itrfm4qR3NVcPm0+NZJ5o1ptkurpY/0bC+f zhtG48N+fWNmvpCAM5MGNG7dpKQ8lGhb6Dj4n2OMIgJU6RLUnCeT5qsh4GHmeouM6dpJ H4vcBY/35CgoZz9jc/ldoo8E9coD7ijcdriGIBwAtmAO3T2LiGsM9Bx7uwpEfICzR/8Z dsXw== 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=Tld25oTrEk0Rr4dIbLQkkTv3D7B1kDK0KBIoATKHkIA=; b=rMezXTvSZUmPuicvSJURKQ7RrzosPFt8dnAu12FEoA4EAGc2PhKDdIb5GCLUwwpk7f ndXd6d83wq3x9IlvzrUblacyWDQHkfaBqFWnRqAioBgSIcksrgbkw/S/LxCl4Dvjuu0w 6Om6uAr0LvfY6FKT9dmA5Fs2fFt/UPBHj2mHtqIN13Wxs5E5s6pxzeyAe3jerJakvks2 MDzOvBMf2DrKrgQKeslgGWCUmG3f31hD5Bz8EG/4AUfMsPghu9cM/VgH8fopveHfgrmv /rL0YUgnDzoh4PDOdBQuoOXp3+edmQQ1qhxK+2G7EIBwdLF3XnFlfgpqfIi0/t0aBMOP 79ng== X-Gm-Message-State: AOAM532C0FCfnKLnyGUgCck/OhD14pIJ83VHp9vXUqxtdPoNsJVZxTo7 r8dAzA4iFkInuEaUdzr94NnZOQ== X-Google-Smtp-Source: ABdhPJy70nl0w5+9IcgQWrbty9OaRxq9Sm6lE00T8XG/cqavfRZhd/B6edIihMpGJ1jh2AuwEOnPWw== X-Received: by 2002:a05:6830:3184:: with SMTP id p4mr7644795ots.219.1634060083730; Tue, 12 Oct 2021 10:34:43 -0700 (PDT) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id j4sm2431428oia.56.2021.10.12.10.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 10:34:43 -0700 (PDT) From: Bjorn Andersson To: arm@kernel.org, soc@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Gross , Arnd Bergmann , Olof Johansson , Kevin Hilman , Cai Huoqing , AngeloGioacchino Del Regno , Srinivas Kandagatla , Konrad Dybcio , Sibi Sankar , Vladimir Lypak , Bartosz Dudziak , Deepak Kumar Singh , Shawn Guo , Vladimir Lypak , Len Baker , Luca Weiss , Naina Mehta , Robert Marko Subject: [GIT PULL] Qualcomm driver updates for v5.16 Date: Tue, 12 Oct 2021 12:34:42 -0500 Message-Id: <20211012173442.1017010-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211012_103500_209794_C46580DD X-CRM114-Status: GOOD ( 16.21 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f: Linux 5.15-rc1 (2021-09-12 16:28:37 -0700) are available in the Git repository at: Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:32b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f: Linux 5.15-rc1 (2021-09-12 16:28:37 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-5.16 for you to fetch changes up to f27591125a56c8c50491919b159569ab5730878d: Merge tag '20210927135559.738-6-srinivas.kandagatla@linaro.org' into drivers-for-5.16 (2021-09-27 22:13:45 -0500) ---------------------------------------------------------------- Qualcomm driver updates for v5.16 This drops the use of power-domains for exposing the load_state from the QMP driver to clients, to avoid issues related to system suspend. SMP2P becomes wakeup capable, to allow dying remoteprocs to wake up Linux from suspend to perform recovery. It adds RPM power-domain support for SM6350 and MSM8953 and base RPM support for MSM8953 and QCM2290. It adds support for MSM8996, SDM630 and SDM660 in the SPM driver, which will enable the introduction of proper voltage scaling of the CPU subsystem. Support for releasing secondary CPUs on MSM8226 is introduced. The Asynchronous Packet Router (APR) driver is extended to support the new Generic Packet Router (GPR) variant, which is used to communicate with the firmware in the new AudioReach audio driver. Lastly it transitions a number of drivers to safer string functions, as well as switching things to use devm_platform_ioremap_resource(). ---------------------------------------------------------------- AngeloGioacchino Del Regno (5): cpuidle: qcom_spm: Detach state machine from main SPM handling dt-bindings: soc: qcom: Add devicetree binding for QCOM SPM soc: qcom: spm: Implement support for SAWv4.1, SDM630/660 L2 AVS soc: qcom: spm: Add compatible for MSM8998 SAWv4.1 L2 dt-bindings: soc: qcom: spm: Document SDM660 and MSM8998 compatibles Bartosz Dudziak (2): dt-bindings: arm: Add SMP enable-method for MSM8226 arm: qcom: Add SMP support for MSM8226 Bjorn Andersson (2): Merge tag '1630420228-31075-2-git-send-email-deesin@codeaurora.org' into drivers-for-5.16 Merge tag '20210927135559.738-6-srinivas.kandagatla@linaro.org' into drivers-for-5.16 Cai Huoqing (6): PM: AVS: qcom-cpr: Make use of the helper function devm_platform_ioremap_resource() soc: qcom: ocmem: Make use of the helper function devm_platform_ioremap_resource_byname() soc: qcom: geni: Make use of the helper function devm_platform_ioremap_resource() soc: qcom: aoss: Make use of the helper function devm_platform_ioremap_resource() soc: qcom: gsbi: Make use of the helper function devm_platform_ioremap_resource() soc: qcom: rpmh-rsc: Make use of the helper function devm_platform_ioremap_resource_byname() Deepak Kumar Singh (2): soc: qcom: aoss: Expose send for generic usecase soc: qcom: smp2p: Add wakeup capability to SMP2P IRQ Konrad Dybcio (4): soc: qcom: rpmhpd: Add SM6350 soc: qcom: llcc: Add configuration data for SM6350 dt-bindings: soc: qcom: aoss: Add SM6350 compatible dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding Len Baker (1): soc: qcom: pdr: Prefer strscpy over strcpy Luca Weiss (1): dt-bindings: firmware: scm: Add compatible for msm8226 Naina Mehta (1): soc: qcom: llcc: Disable MMUHWT retention Robert Marko (1): soc: qcom: socinfo: Add IPQ8074 family ID-s Shawn Guo (2): dt-bindings: soc: qcom: smd-rpm: Add QCM2290 compatible soc: qcom: smd-rpm: Add QCM2290 compatible Sibi Sankar (4): dt-bindings: soc: qcom: aoss: Drop the load state power-domain soc: qcom: aoss: Drop power domain support dt-bindings: msm/dp: Remove aoss-qmp header dt-bindings: soc: qcom: aoss: Delete unused power-domain definitions Srinivas Kandagatla (5): soc: dt-bindings: qcom: apr: convert to yaml soc: dt-bindings: qcom: apr: deprecate qcom,apr-domain property soc: qcom: apr: make code more reuseable soc: dt-bindings: qcom: add gpr bindings soc: qcom: apr: Add GPR support Vladimir Lypak (6): dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC soc: qcom: smd-rpm: Add compatible for MSM8953 SoC dt-bindings: power: rpmpd: Add MSM8953 to rpmpd binding soc: qcom: rpmpd: Add power domains for MSM8953 dt-bindings: firmware: qcom-scm: Document msm8953 bindings firmware: qcom_scm: Add compatible for MSM8953 SoC Documentation/devicetree/bindings/arm/cpus.yaml | 3 +- .../bindings/display/msm/dp-controller.yaml | 1 - .../devicetree/bindings/firmware/qcom,scm.txt | 4 +- .../devicetree/bindings/power/qcom,rpmpd.yaml | 2 + .../bindings/soc/qcom/qcom,aoss-qmp.yaml | 12 +- .../devicetree/bindings/soc/qcom/qcom,apr.txt | 134 --------- .../devicetree/bindings/soc/qcom/qcom,apr.yaml | 177 ++++++++++++ .../devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 3 + .../devicetree/bindings/soc/qcom/qcom,spm.yaml | 80 ++++++ arch/arm/mach-qcom/platsmp.c | 71 +++++ drivers/cpuidle/Kconfig.arm | 1 + drivers/cpuidle/cpuidle-qcom-spm.c | 318 +++++---------------- drivers/firmware/qcom_scm.c | 4 + drivers/soc/qcom/Kconfig | 11 +- drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/apr.c | 287 +++++++++++++++---- drivers/soc/qcom/cpr.c | 4 +- drivers/soc/qcom/llcc-qcom.c | 18 +- drivers/soc/qcom/ocmem.c | 4 +- drivers/soc/qcom/pdr_interface.c | 12 +- drivers/soc/qcom/qcom-geni-se.c | 4 +- drivers/soc/qcom/qcom_aoss.c | 165 ++++------- drivers/soc/qcom/qcom_gsbi.c | 4 +- drivers/soc/qcom/rpmh-rsc.c | 4 +- drivers/soc/qcom/rpmhpd.c | 16 ++ drivers/soc/qcom/rpmpd.c | 24 ++ drivers/soc/qcom/smd-rpm.c | 2 + drivers/soc/qcom/smp2p.c | 20 ++ drivers/soc/qcom/socinfo.c | 12 + drivers/soc/qcom/spm.c | 258 +++++++++++++++++ include/dt-bindings/power/qcom-aoss-qmp.h | 14 - include/dt-bindings/power/qcom-rpmpd.h | 17 ++ include/dt-bindings/soc/qcom,gpr.h | 19 ++ include/linux/soc/qcom/apr.h | 70 ++++- include/linux/soc/qcom/qcom_aoss.h | 38 +++ include/soc/qcom/spm.h | 43 +++ 36 files changed, 1259 insertions(+), 598 deletions(-) delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,apr.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,spm.yaml create mode 100644 drivers/soc/qcom/spm.c delete mode 100644 include/dt-bindings/power/qcom-aoss-qmp.h create mode 100644 include/dt-bindings/soc/qcom,gpr.h create mode 100644 include/linux/soc/qcom/qcom_aoss.h create mode 100644 include/soc/qcom/spm.h