From patchwork Fri Feb 10 18:22:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 1740604 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.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=Shzo0d4Q; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=CQ0QL17B; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PD29L5CcBz23qt for ; Sat, 11 Feb 2023 05:20:54 +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=hvttucT81yedPUZ8z5dtuRCCIWZ54Fhq+i0SW03IPHo=; b=Shzo0d4Qxtgy3M w5xTIVmixnIepAwivonWIj+sFzu1b+CwobLLm6LoSNe/HTaHHjuYxwX57J2tBUPLArIDAGOiW4GGC 3DHB6HUD3sjS0Bmsz+amYj9pYWXRYELrj4B+/VbjUIK+OQ8jXa0cioSsDcapeFPp+CdlZrlQcxo4F jWQfPDWsYwDJpgn5TWdLpL7OiyUI975k9UmvHbYA1Z7gMU+yzJLlMEgkPNLbXbhjzJMRflIzhqrB8 sbMXZeS1ySnE2VkKMY4y+XpuwbeeZ5O+qaIZeZmcmawV54fPuWioI6IqHM1eLL/cpQWzbIMWzTt/E uLtVG/SQvNTCoVKZ8nhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQY0m-006tSm-56; Fri, 10 Feb 2023 18:20:40 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQY0h-006tR2-UX for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2023 18:20:37 +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 34563B80C8B; Fri, 10 Feb 2023 18:20:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FA32C433EF; Fri, 10 Feb 2023 18:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676053233; bh=lxc9elAPc7SGhRcjNmva5gpdrtxKzq0+q0MSXM7Fxe8=; h=From:List-Id:To:Cc:Subject:Date:From; b=CQ0QL17ByiCMeE2sTmRyiaosLlSZjqJXhD75hdzxOBu//2x5C5XPURsT7zGgSRbqq D43Ji8IVyVbJPZXlxZjt2ASHdfPV3AiHDUX7MYVxpJJ8aAgjBge2vLOeKnnKBlQjL5 DQIKPztry3OXtImMwv8JAUdci9AZmve4VQ6NqFgR2Sk2MmJ8R76TL/IH8QDmUcIP/0 j0vm3x7B1H4f2+mBc4cHsgGjUHeqZhB0F3D49JcPFmPMjjqf/mIDqe6AHfI0OthkBp u1K9ZRzb4WOPUw2fVrTdqqX2RPSRQFHUYSQtunU6iJHPYyNvInKPFYfGP7xorMHl1j YFTdbYwstI98g== 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 , Christian Marangi , Kathiravan T , Abel Vesa , Bartosz Golaszewski , Dmitry Baryshkov , Elliot Berman , Melody Olvera , Naman Jain , Niklas Cassel , Stephen Boyd , Tom Rix , devi priya Subject: [GIT PULL] More Qualcomm driver updates for 6.3 Date: Fri, 10 Feb 2023 10:22:42 -0800 Message-Id: <20230210182242.2023901-1-andersson@kernel.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230210_102036_331688_1B7CF33E X-CRM114-Status: GOOD ( 14.43 ) X-Spam-Score: -5.4 (-----) 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 c5d52d7bf241a4d06b651362446644948621c426: soc: qcom: dcc: Drop driver for now (2023-01-30 20:30:54 -0600) are available in the Git repository at: Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [145.40.68.75 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 -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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 c5d52d7bf241a4d06b651362446644948621c426: soc: qcom: dcc: Drop driver for now (2023-01-30 20:30:54 -0600) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git qcom-drivers-for-6.3-2 for you to fetch changes up to b0bc8c893ae07acd4829a158e83902897a31a490: soc: qcom: socinfo: Add IDs for IPQ5332 and its variant (2023-02-08 19:36:16 -0800) ---------------------------------------------------------------- More Qualcomm driver updates for 6.3 The qcom_scm.h file is moved into firmware/qcom, to avoid having any Qualcomm-specific files directly in include/linux. Support for PMIC GLINK is introduced, which on newer Qualcomm platforms provides an interface to the firmware implementing battery management and USB Type-C handling. Together with the base driver comes the custom altmode support driver. SMD RPM gains support for IPQ9574, and socinfo is extended with support for revision 17 of the information format and soc_id for IPQ5332 and IPQ8064 are added. The qcom_stats is changes not to fail when not all parts are initialized. ---------------------------------------------------------------- Abel Vesa (1): dt-bindings: firmware: document Qualcomm SM8550 SCM Arnd Bergmann (1): soc: qcom: pmic_glink: add CONFIG_NET/CONFIG_OF dependencies Bartosz Golaszewski (1): dt-bindings: firmware: qcom,scm: add qcom,scm-sa8775p compatible Bjorn Andersson (4): dt-bindings: soc: qcom: Introduce PMIC GLINK binding soc: qcom: pmic_glink: Introduce base PMIC GLINK driver soc: qcom: pmic_glink: Introduce altmode support Merge branch '20230201041853.1934355-1-quic_bjorande@quicinc.com' into drivers-for-6.3 Christian Marangi (2): dt-bindings: arm: qcom,ids: Add Soc IDs for IPQ8064 and variants soc: qcom: socinfo: Add Soc IDs for IPQ8064 and variants Dmitry Baryshkov (1): dt-bindings: power: qcom,rpmpd: add RPMH_REGULATOR_LEVEL_LOW_SVS_L1 Elliot Berman (1): firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/ Kathiravan T (2): dt-bindings: arm: qcom,ids: Add IDs for IPQ5332 and its variant soc: qcom: socinfo: Add IDs for IPQ5332 and its variant Melody Olvera (1): dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes Naman Jain (1): soc: qcom: socinfo: Add support for new field in revision 17 Niklas Cassel (1): MAINTAINERS: Update qcom CPR maintainer entry Stephen Boyd (1): soc: qcom: stats: Populate all subsystem debugfs files Tom Rix (1): soc: qcom: pmic_glink: remove redundant calculation of svid devi priya (1): soc: qcom: smd-rpm: Add IPQ9574 compatible .../devicetree/bindings/firmware/qcom,scm.yaml | 4 + .../bindings/soc/qcom/qcom,pmic-glink.yaml | 95 ++++ .../bindings/soc/qcom/qcom,rpmh-rsc.yaml | 3 +- MAINTAINERS | 3 +- arch/arm/mach-qcom/platsmp.c | 2 +- drivers/cpuidle/cpuidle-qcom-spm.c | 2 +- drivers/firmware/qcom_scm-legacy.c | 2 +- drivers/firmware/qcom_scm-smc.c | 2 +- drivers/firmware/qcom_scm.c | 2 +- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +- drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 +- drivers/iommu/arm/arm-smmu/qcom_iommu.c | 2 +- drivers/media/platform/qcom/venus/firmware.c | 2 +- drivers/misc/fastrpc.c | 2 +- drivers/mmc/host/sdhci-msm.c | 2 +- drivers/net/ipa/ipa_main.c | 2 +- drivers/net/wireless/ath/ath10k/qmi.c | 2 +- drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- drivers/remoteproc/qcom_q6v5_mss.c | 2 +- drivers/remoteproc/qcom_q6v5_pas.c | 2 +- drivers/remoteproc/qcom_wcnss.c | 2 +- drivers/soc/qcom/Kconfig | 18 + drivers/soc/qcom/Makefile | 2 + drivers/soc/qcom/mdt_loader.c | 2 +- drivers/soc/qcom/ocmem.c | 2 +- drivers/soc/qcom/pmic_glink.c | 336 +++++++++++++++ drivers/soc/qcom/pmic_glink_altmode.c | 478 +++++++++++++++++++++ drivers/soc/qcom/qcom_stats.c | 10 +- drivers/soc/qcom/rmtfs_mem.c | 2 +- drivers/soc/qcom/smd-rpm.c | 1 + drivers/soc/qcom/socinfo.c | 16 + drivers/thermal/qcom/lmh.c | 2 +- drivers/ufs/host/ufs-qcom-ice.c | 2 +- include/dt-bindings/arm/qcom,ids.h | 8 + include/dt-bindings/power/qcom-rpmpd.h | 1 + include/linux/{ => firmware/qcom}/qcom_scm.h | 0 include/linux/soc/qcom/pmic_glink.h | 32 ++ 40 files changed, 1022 insertions(+), 35 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml create mode 100644 drivers/soc/qcom/pmic_glink.c create mode 100644 drivers/soc/qcom/pmic_glink_altmode.c rename include/linux/{ => firmware/qcom}/qcom_scm.h (100%) create mode 100644 include/linux/soc/qcom/pmic_glink.h