From patchwork Wed Sep 21 15:57:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12983923 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0926FECAAD8 for ; Wed, 21 Sep 2022 15:59:11 +0000 (UTC) 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=FiBQD62ppn3ypMaY0J6orYAzj4Sr8mzJgOj1F45QIig=; b=bCSpMVLcOPZhEI vk1xlFnUX99DM6NH5iHJZWBvF0lMs/uuL+f3GAArBf5EWD6dsKGG+VUuESRWSA+paAX7pOZIWOeu2 Q6lcQJxKhs3WTWw4a19UBoRHmBVTPi6VvMAAvFXH+XcGaks4wG1wujrNaXpzZZxFLUfGAweceE+0E 5b5uu2ygZLERP/MKIHRj4jrJMSL+NsqRqQlh2OxSIMHPuW831Pz2r5T276lRk3S3vOEuvET82afaX dlPWNJ9JBCFw/ePgGC3K32ComkwNPTgI90/kSV/ZLdDkQbR2bs/ME7P5PHLJ0k5WKG6HAJYgFzOcI wJIFbHWR8SSwH6gfdGCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ob26v-00Bsu0-O1; Wed, 21 Sep 2022 15:58:05 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ob26n-00BspM-Ut for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2022 15:58:00 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7E4E8B830F6; Wed, 21 Sep 2022 15:57:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAD45C433D6; Wed, 21 Sep 2022 15:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663775875; bh=finwfsZojULhllCotko7SAALSZ3CgmEeOhMeX+XJI7A=; h=From:List-Id:To:Cc:Subject:Date:From; b=oZSP3EEtEXxM6ybjvkmS5zCkP5ew3Fa42dI6jE1ioKjcD+5IRx6VerhTjhZYYUYJU ePSxggghyvdmczl1Qf+rxHp8LDmFA0owVlUH6r+/yt2ZZ0IIRXKi1ZdYD87zlit49/ a3d/XEnuuWdelhAOCcjSlMUO159V1gwFAJmUKWKR6GSW6Wd88oDNKIcaWSgDetHtfB oFe0hzlsjwFxqCsjw/zPeIS/uTgT9UBcsuMGgxez6ATdbPW75DUYMPkkS2Ndnh1avp HeghAem/wBfLkYICYs6tNRhr0zo7RiTvpyLLDJPt9DAEyFuM2f8lszgGiyKYLOA9Y4 fHyJ8FVUTmd/Q== 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 , Krzysztof Kozlowski , Konrad Dybcio , Rajendra Nayak , Abel Vesa , Liang He , Manivannan Sadhasivam , Adam Skladowski , David Heidelberg , Gaosheng Cui , Jeff Johnson , Jinpeng Cui , YueHaibing Subject: [GIT PULL] Qualcomm driver updates for 6.1 Date: Wed, 21 Sep 2022 10:57:53 -0500 Message-Id: <20220921155753.1316308-1-andersson@kernel.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220921_085758_307961_255CC9E7 X-CRM114-Status: GOOD ( 16.40 ) 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868: Linux 6.0-rc1 (2022-08-14 15:50:18 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git qcom-drivers-for-6.1 for you to fetch changes up to df646a17f103c6f18ab85c5e3773763d18dc528b: soc: qcom: rpmpd: Add SM6375 support (2022-09-13 22:25:35 -0500) ---------------------------------------------------------------- Qualcomm driver updates for 6.1 The icc-bwmon driver is expected to support measuring LLCC/DDR bandwidth on SDM845 and SC7280. The LLCC driver is extended to provide per-platform register mappings to the LLCC EDAC driver. The QMI encoder/decoder is updated to allow the passed qmi_elem_info to be const. Support for SDM845 is added to the sleep stats driver. Power-domains for the SM6375 platform is added to RPMPD and the platform is added to socinfo, together with the PM6125 pmic id. A couple of of_node reference issues are corrected in the smem state and smsm drivers. The Qualcomm SCM driver binding is converted to YAML. ---------------------------------------------------------------- Abel Vesa (2): soc: qcom: stats: Add SDM845 stats config and compatible dt-bindings: soc: qcom: stats: Document SDM845 compatible Adam Skladowski (1): dt-bindings: firmware: document Qualcomm SM6115 SCM Bjorn Andersson (1): Merge tag '20220825043859.30066-3-manivannan.sadhasivam@linaro.org' into drivers-for-6.1 David Heidelberg (1): dt-bindings: firmware: convert Qualcomm SCM binding to the yaml Gaosheng Cui (1): firmware: qcom: scm: remove unused __qcom_scm_init declaration Jeff Johnson (1): soc: qcom: qmi: use const for struct qmi_elem_info Jinpeng Cui (1): soc: qcom: icc-bwmon: remove redundant ret variable Konrad Dybcio (4): soc: qcom: socinfo: Add an ID for SM6375 soc: qcom: socinfo: Add PM6125 ID dt-bindings: power: rpmpd: Add SM6375 power domains soc: qcom: rpmpd: Add SM6375 support Krzysztof Kozlowski (10): dt-bindings: interconnect: qcom,msm8998-bwmon: add support for SDM845 LLCC BWMON soc: qcom: icc-bwmon: re-use IRQ enable/clear define soc: qcom: icc-bwmon: drop unused registers soc: qcom: icc-bwmon: store reference to variant data in container soc: qcom: icc-bwmon: clear all registers on init soc: qcom: icc-bwmon: store count unit per variant soc: qcom: icc-bwmon: use regmap and prepare for BWMON v5 soc: qcom: icc-bwmon: add per-variant quirks soc: qcom: icc-bwmon: add support for SDM845 LLCC BWMON dt-bindings: power: qcom,rpmpd: drop non-working codeaurora.org emails Liang He (2): soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() soc: qcom: smem_state: Add refcounting for the 'state->of_node' Manivannan Sadhasivam (2): soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version soc: qcom: llcc: Pass LLCC version based register offsets to EDAC driver Rajendra Nayak (3): dt-bindings: interconnect: qcom,msm8998-bwmon: Add support for sc7280 BWMONs soc: qcom: icc-bwmon: add support for sc7280 LLCC BWMON soc: qcom: icc-bwmon: force clear counter/irq registers YueHaibing (1): soc: qcom: Make QCOM_RPMPD depend on OF .../devicetree/bindings/firmware/qcom,scm.txt | 61 --- .../devicetree/bindings/firmware/qcom,scm.yaml | 148 +++++++ .../bindings/interconnect/qcom,msm8998-bwmon.yaml | 3 + .../devicetree/bindings/power/qcom,rpmpd.yaml | 3 +- .../devicetree/bindings/soc/qcom/qcom-stats.yaml | 1 + drivers/firmware/qcom_scm.h | 2 - drivers/soc/qcom/Kconfig | 2 +- drivers/soc/qcom/icc-bwmon.c | 479 ++++++++++++++++----- drivers/soc/qcom/llcc-qcom.c | 92 +++- drivers/soc/qcom/qcom_stats.c | 9 + drivers/soc/qcom/qmi_encdec.c | 50 +-- drivers/soc/qcom/qmi_interface.c | 12 +- drivers/soc/qcom/rpmpd.c | 22 + drivers/soc/qcom/smem_state.c | 3 +- drivers/soc/qcom/smsm.c | 20 +- drivers/soc/qcom/socinfo.c | 2 + include/dt-bindings/power/qcom-rpmpd.h | 12 + include/linux/soc/qcom/llcc-qcom.h | 30 ++ include/linux/soc/qcom/qmi.h | 20 +- samples/qmi/qmi_sample_client.c | 10 +- 20 files changed, 753 insertions(+), 228 deletions(-) delete mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.txt create mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.yaml