From patchwork Sun Feb 25 03:06:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 13570699 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 16B0CC48BF6 for ; Sun, 25 Feb 2024 03:06:38 +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=a/st326tkSPNNAHE5kPAY+idfzBYiNkU5cCfEnk33W4=; b=lqZEpWhhCM5svN fQcm4HE4YaUj1XFVghAq/Y9gbD9WamoC6CEWoArUXTWWdk1u0/JI30At7ZQcircMDzUcIRnPPQYLo ywmdOGtDC9ibI1Jju0hMXYyUy3g14hVbWSGRqsDIRPD31sQvTI35zgHTSP4J9hVRHdEGlEzGndoEH OKqrMcZB9uzv4ki9yP5fBsLFmwkDJGArwL3yZL+gJWlFRJzk549D84nWk4tv8k74N79g8GwIP7enJ b3A2R4QlwXNW00RTtQFXcrogaCI6L1TFCrNCrRQ0GW4Dysbjzuhc3ajqNwmZQ6OPXYFbqr5Qd6lya QF5iS5Y1JVQ1CBhil5yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1re4qJ-0000000E8av-2bnA; Sun, 25 Feb 2024 03:06:19 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1re4qG-0000000E8aA-3mYH for linux-arm-kernel@lists.infradead.org; Sun, 25 Feb 2024 03:06:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BB3D460C15; Sun, 25 Feb 2024 03:06:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4DEBC433C7; Sun, 25 Feb 2024 03:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708830375; bh=gks5q5yYz504V+0T4za4NWMvSls3hriQwl/CMwCg+L8=; h=From:List-Id:To:Cc:Subject:Date:From; b=rEK+FcHL9IIhi14+IHtCCvYXNZiuVd2XPClJTS3f2W1IinBAo0nGVlKrLopgTIJF5 h3gTPHGLyjgGLxyvP+uDOGBil2HcR8Ol/GviuSaixe25wRg3sUKHBR68fW94obbDDG fhAuTKj3eAI6AzpdLuVVY1fOi+EL/+moPR6A4auHzJT+hLSVqok4oNbsMP9VWl4bju gLeEAtF+2jOtdgXjkDrEX86tGx0ymEJGupBPZI4xd9+XBHJjfTGPne7t/+qswZzxI0 wlsJoMzHh0FqUJwNazmfmhnFs9G6a3wElwsYcReQqhSnuRnRGGijymtxDOx2W+Zm3Y hlFo71LcnmE4w== 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 , Dmitry Baryshkov , Bjorn Andersson , Anjelique Melendez , Danila Tikhonov , Tengfei Fan , Abel Vesa , Luca Weiss , Randy Dunlap , "Ricardo B . Marliere" , Rob Herring , Tao Zhang , Unnathi Chalicheemala Subject: [GIT PULL] Qualcomm driver updates for v6.9 Date: Sat, 24 Feb 2024 21:06:11 -0600 Message-ID: <20240225030612.480241-1-andersson@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240224_190617_066648_B4418D79 X-CRM114-Status: GOOD ( 12.50 ) 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 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-6.9 for you to fetch changes up to aa05f47474c02d38d88c32c633a551911c6fdc40: dt-bindings: soc: qcom: qcom,saw2: add msm8226 l2 compatible (2024-02-18 22:52:55 -0600) ---------------------------------------------------------------- Qualcomm driver updates for v6.9 This introduces the Qualcomm Programmable Boot Sequencer (PBS) driver. The Qualcomm SMEM no longer acquires the hwspinlock during the "get" operation, to improve the system behavior during the recovery of a remoteproc that crashed with the hwspinlock held. The Qualcomm Always On Subsystem (AOSS) message protocol driver gains tracepoints, printf annotation, and a debugfs interface is introduced for tweaking system properties during development and debugging. The Qualcomm socinfo driver gains data for SM8475, QCM8550 and QCS8550 platforms, and the PM2250 is renamed to PM4125. Support for controlling the voltage regulator in SPM/SAW2 is introduced. The gfx.lvl power-domain is dropped for SA8540P, as this resource was incorrectly inherited from SC8280XP. Additionally some code cleanup improvements is introduced across APR, LLCC, SMP2P and SPM. ---------------------------------------------------------------- Abel Vesa (1): dt-bindings: soc: qcom: qcom,pmic-glink: document X1E80100 compatible Anjelique Melendez (2): dt-bindings: soc: qcom: Add qcom,pbs bindings soc: qcom: add QCOM PBS driver Bjorn Andersson (5): soc: qcom: aoss: Mark qmp_send() __printf() soc: qcom: aoss: Add debugfs interface for sending messages soc: qcom: aoss: Add tracepoints in qmp_send() pmdomain: qcom: rpmhpd: Drop SA8540P gfx.lvl Merge branch '20240201204421.16992-2-quic_amelende@quicinc.com' into drivers-for-6.9 Danila Tikhonov (2): dt-bindings: arm: qcom,ids: Add IDs for SM8475 family soc: qcom: socinfo: Add Soc IDs for SM8475 family Dmitry Baryshkov (6): soc: qcom: socinfo: rename PM2250 to PM4125 dt-bindings: soc: qcom: merge qcom,saw2.txt into qcom,spm.yaml dt-bindings: soc: qcom: qcom,saw2: add missing compatible strings dt-bindings: soc: qcom: qcom,saw2: define optional regulator node soc: qcom: spm: remove driver-internal structures from the driver API soc: qcom: spm: add support for voltage regulator Luca Weiss (1): dt-bindings: soc: qcom: qcom,saw2: add msm8226 l2 compatible Randy Dunlap (1): soc: qcom: smp2p: fix all kernel-doc warnings Ricardo B. Marliere (1): soc: qcom: apr: make aprbus const Rob Herring (1): dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram" Tao Zhang (1): soc: qcom: smem: remove hwspinlock from item get routine Tengfei Fan (2): dt-bindings: arm: qcom,ids: add SoC ID for QCM8550 and QCS8550 soc: qcom: socinfo: add SoC Info support for QCM8550 and QCS8550 platform Unnathi Chalicheemala (1): soc: qcom: llcc: Check return value on Broadcast_OR reg read .../devicetree/bindings/arm/msm/qcom,saw2.txt | 58 ----- .../devicetree/bindings/soc/qcom/qcom,pbs.yaml | 46 ++++ .../bindings/soc/qcom/qcom,pmic-glink.yaml | 2 + .../bindings/soc/qcom/qcom,rpm-master-stats.yaml | 2 + .../soc/qcom/{qcom,spm.yaml => qcom,saw2.yaml} | 46 +++- drivers/pmdomain/qcom/rpmhpd.c | 1 - drivers/soc/qcom/Kconfig | 9 + drivers/soc/qcom/Makefile | 2 + drivers/soc/qcom/apr.c | 2 +- drivers/soc/qcom/llcc-qcom.c | 2 + drivers/soc/qcom/qcom-pbs.c | 236 +++++++++++++++++++ drivers/soc/qcom/qcom_aoss.c | 103 ++++++++- drivers/soc/qcom/smem.c | 11 - drivers/soc/qcom/smp2p.c | 6 +- drivers/soc/qcom/socinfo.c | 7 +- drivers/soc/qcom/spm.c | 254 ++++++++++++++++++++- drivers/soc/qcom/trace-aoss.h | 48 ++++ include/dt-bindings/arm/qcom,ids.h | 5 + include/linux/soc/qcom/apr.h | 2 +- include/linux/soc/qcom/qcom-pbs.h | 30 +++ include/soc/qcom/qcom-spmi-pmic.h | 2 +- include/soc/qcom/spm.h | 23 +- 22 files changed, 787 insertions(+), 110 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml rename Documentation/devicetree/bindings/soc/qcom/{qcom,spm.yaml => qcom,saw2.yaml} (53%) create mode 100644 drivers/soc/qcom/qcom-pbs.c create mode 100644 drivers/soc/qcom/trace-aoss.h create mode 100644 include/linux/soc/qcom/qcom-pbs.h