From patchwork Mon May 9 18:18:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12843958 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 2559DC433EF for ; Mon, 9 May 2022 18:20:12 +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=9GL2N5p/pfNxwhVh7S2mHWj9Dj4RZonZ81YZjuDeWMU=; b=0I0lC9yjoDjskJ n+tSn94cMXFRxd3iVPR9/ZIDTIumTK+SWAzv9VFuV/748sOte7i/+C5bZy3JyL/G8DdRbOoxsWJLT IEf5zUSxNCzwLCtINHQYhZt6OXbyBqH5R6zp2MaFbkOZ59aBsCs9POduqJK8CL05mbqNqOdz1Uvf/ ymVL4qSJEQloRJyl1FR30Xn09TVVED6E0HRicf+MdDZZP9IC5X8p4Paz7TBT37ER9MImw54scQUwu Y6XhSzI9yYfeijsDHc0NKnnRC35x4p+EPUXwZ88LapNShDN5r9hoB1S6audyMBohch+zqew6XK5YO BhVPQlrjcBiuCklIXX0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no7y5-00Fohg-AQ; Mon, 09 May 2022 18:18:49 +0000 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1no7y1-00Fof6-VR for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 18:18:47 +0000 Received: by mail-ot1-x332.google.com with SMTP id z15-20020a9d65cf000000b00605f064482cso10677511oth.6 for ; Mon, 09 May 2022 11:18:44 -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=9O1o3qMLMMSVlGaMQwp8pzkZwsf1OvAD73QPO75L7vI=; b=KpQBbBopsuLCTH/bLT5UGAr2AvgWH+mcQTpkA+b11kaQUV6iNCPz5ElKSwPaQY7njE z61p6AfYO8XeF4TfhfgsYRnVgzcse6u1VjCDtLAXeVyOlRMiosqymgeDQqSTl/I/86Pe bKggKmUFS9dSzUNR4MnNmk4IgsInHwgrATde3m/nC5RDKCLuZHqa4UiilgaJpNGaImyB XQ4et1x3M9MO1+cbVuQ8cmPwUXwUoj9rIQULkVqbeDHv2hvyypQxlBuIlfeEdkuX8HPI O6PQAfR+ELpsA70tcJdEIA9OCO4IpB1EVir6Z1VF8IKH20cr1hopXFJjCcvVY88q/RIH uFYw== 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=9O1o3qMLMMSVlGaMQwp8pzkZwsf1OvAD73QPO75L7vI=; b=i9IilHsSoMKMmWH2+ARSDYPMyT2kQSsGteMnwFYkH2uGAQYEo+vB8K+5/rsjVpABn6 2MuhAPzXajTEh4rT9pLd2XdSrp16Dw7wutWKcZ0RWjyD6Ng1wYN0AoL5KBGreQgEzJNv Y5dtxDucGg11LrHHcsO6pKKu3qzbkNzZUfDzhvHGuA/gyNH3w9eopPBe/VDI+9zi7CoB wasE/3S905YFEi00XGog6xyly2gefS8n5ZZJXXcozAagGpDkN/WYgq+W+q7WawL35N6Q 7Meup31zDdMhAs4ej2ZNiJvBFtp7CKr9vcyHg4JM7dIz0KDKAUB8nAk3C63trHnNCx0Z /RTg== X-Gm-Message-State: AOAM530l8+eqMqzEU6WPy4d1QBODl5dtDDhrsHpV2iYT+DwKrPfD6b2X KG72OTsMP/x1LOInxdO8+9ofPA== X-Google-Smtp-Source: ABdhPJyMWjUHFCtaHAyi4lOENMbqmUkiw5gx3h3lJPEwf6G1/JKPtZK4yK4+lcisRngcyfrnmWzdcQ== X-Received: by 2002:a9d:34b:0:b0:605:f0f1:e28e with SMTP id 69-20020a9d034b000000b00605f0f1e28emr6337180otv.304.1652120323874; Mon, 09 May 2022 11:18:43 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id em22-20020a0568705b9600b000e686d13890sm2156991oab.42.2022.05.09.11.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 11:18: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 , Krzysztof Kozlowski , Adam Skladowski , Deepak Kumar Singh , Kuldeep Singh , Miaoqian Lin , Michael Srba , Rohit Agarwal , Dmitry Baryshkov , Douglas Anderson , Jakob Koschel , Luca Weiss , Tom Rix Subject: [GIT PULL] Qualcomm driver updates for v5.19 Date: Mon, 9 May 2022 13:18:39 -0500 Message-Id: <20220509181839.316655-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-20220509_111846_059640_F01E64D7 X-CRM114-Status: GOOD ( 18.15 ) 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 3123109284176b1532874591f7c81f3837bbdc17: Linux 5.18-rc1 (2022-04-03 14:08:21 -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.19 for you to fetch changes up to 28e3dc8f8cd37eedc14e97e80a7a2e33359491df: soc: qcom: pdr: use static for servreg_* variables (2022-05-05 22:08:15 -0500) ---------------------------------------------------------------- Qualcomm driver updates for v5.19 This converts a wide range of Qualcomm-related DeviceTree bindings to YAML, in order to improve our ability to validate the DeviceTree source. The RPMh power-domain driver gains support for the modem platform SDX65, the compute platform SC8280XP and the automotive platform SA8540p. While LLCC gains support for SC8180X and SC8280XP and gains a MODULE_DEVICE_TABLE() to make it functional as a module. It adds a driver for configuring the SSC bus, providing Linux access to the hardware blocks in the sensor subsystem. The socinfo driver gets confusion related to MSM8974 Pro sorted out and adds new ids for SM8540 and SC7280. The SCM driver gains support for MSM8974. Add missing of_node_put() in smp2p and smsm drivers. Stop using iterator after list_for_each_entry() and define static definitions as such, in the PDR driver. ---------------------------------------------------------------- Adam Skladowski (2): dt-bindings: firmware: qcom-scm: Document msm8976 bindings firmware: qcom_scm: Add compatible for MSM8976 SoC Bjorn Andersson (7): dt-bindings: arm: qcom: Document sa8540p, sc8180x and sc8280xp soc: qcom: llcc: Add MODULE_DEVICE_TABLE() dt-bindings: power: rpmpd: Add sc8280xp RPMh power-domains soc: qcom: rpmhpd: Don't warn about sparse rpmhpd arrays soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains dt-bindings: arm: msm: Add sc8180x and sc8280xp LLCC compatibles soc: qcom: llcc: Add sc8180x and sc8280xp configurations Deepak Kumar Singh (2): soc: qcom: smem: map only partitions used by local HOST soc: qcom: smem: validate fields of shared structures Dmitry Baryshkov (1): soc: qcom: socinfo: Add another ID for SM8450 Douglas Anderson (1): soc: qcom: socinfo: add SC7280 entry to soc_id array Jakob Koschel (1): soc: qcom: pdr: replace usage of found with dedicated list iterator variable Krzysztof Kozlowski (9): dt-bindings: soc: qcom,smsm: convert to dtschema dt-bindings: soc: qcom,wcnss: convert to dtschema dt-bindings: qcom: qcom,gsbi: convert to dtschema dt-bindings: qcom,smd-rpm: update maintainers (drop Kathiravan) dt-bindings: soc: qcom,smd: convert to dtschema dt-bindings: qcom: qcom,geni-se: refer to dtschema for SPI dt-bindings: soc: qcom,rpmh-rsc: convert to dtschema dt-bindings: soc: qcom,smp2p: convert to dtschema spi: dt-bindings: qcom,spi-geni-qcom: convert to dtschema Kuldeep Singh (2): dt-bindings: qcom: geni-se: Update I2C schema reference dt-bindings: qcom: geni-se: Update UART schema reference Luca Weiss (1): soc: qcom: socinfo: Sort out 8974PRO names Miaoqian Lin (2): soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc Michael Srba (2): dt-bindings: bus: add device tree bindings for qcom,ssc-block-bus bus: add driver for initializing the SSC bus on (some) qcom SoCs Rohit Agarwal (2): dt-bindings: power: Add rpm power domain bindings for SDX65 soc: qcom: rpmhpd: Add SDX65 power domains Tom Rix (1): soc: qcom: pdr: use static for servreg_* variables .../devicetree/bindings/arm/msm/qcom,llcc.yaml | 2 + Documentation/devicetree/bindings/arm/qcom.yaml | 20 ++ .../bindings/bus/qcom,ssc-block-bus.yaml | 147 ++++++++ .../devicetree/bindings/firmware/qcom,scm.txt | 3 +- .../bindings/interconnect/qcom,bcm-voter.yaml | 8 +- .../devicetree/bindings/power/qcom,rpmpd.yaml | 3 + .../bindings/regulator/qcom,smd-rpm-regulator.yaml | 5 +- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 2 +- .../bindings/remoteproc/qcom,wcnss-pil.txt | 2 +- .../devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 99 +----- .../devicetree/bindings/soc/qcom/qcom,gsbi.txt | 87 ----- .../devicetree/bindings/soc/qcom/qcom,gsbi.yaml | 132 +++++++ .../bindings/soc/qcom/qcom,rpmh-rsc.yaml | 272 ++++++++++++++ .../devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 7 +- .../devicetree/bindings/soc/qcom/qcom,smd.txt | 98 ------ .../devicetree/bindings/soc/qcom/qcom,smd.yaml | 137 ++++++++ .../devicetree/bindings/soc/qcom/qcom,smp2p.txt | 110 ------ .../devicetree/bindings/soc/qcom/qcom,smp2p.yaml | 145 ++++++++ .../devicetree/bindings/soc/qcom/qcom,smsm.txt | 104 ------ .../devicetree/bindings/soc/qcom/qcom,smsm.yaml | 138 ++++++++ .../devicetree/bindings/soc/qcom/qcom,wcnss.txt | 131 ------- .../devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 137 ++++++++ .../devicetree/bindings/soc/qcom/rpmh-rsc.txt | 137 -------- .../devicetree/bindings/spi/qcom,spi-geni-qcom.txt | 39 --- .../bindings/spi/qcom,spi-geni-qcom.yaml | 116 ++++++ drivers/bus/Kconfig | 11 + drivers/bus/Makefile | 1 + drivers/bus/qcom-ssc-block-bus.c | 389 +++++++++++++++++++++ drivers/firmware/qcom_scm.c | 4 + drivers/soc/qcom/llcc-qcom.c | 61 ++++ drivers/soc/qcom/pdr_interface.c | 11 +- drivers/soc/qcom/pdr_internal.h | 20 +- drivers/soc/qcom/rpmhpd.c | 73 +++- drivers/soc/qcom/smem.c | 305 ++++++++++++---- drivers/soc/qcom/smp2p.c | 1 + drivers/soc/qcom/smsm.c | 1 + drivers/soc/qcom/socinfo.c | 26 +- include/dt-bindings/power/qcom-rpmpd.h | 26 ++ include/linux/soc/qcom/llcc-qcom.h | 2 + 39 files changed, 2095 insertions(+), 917 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/qcom,ssc-block-bus.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smsm.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smsm.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt delete mode 100644 Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.txt create mode 100644 Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml create mode 100644 drivers/bus/qcom-ssc-block-bus.c