From patchwork Tue Dec 21 04:04:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12696950 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 1E557C433EF for ; Tue, 21 Dec 2021 04:06:48 +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=PjImC/wqFy+8qNjrm0i+3WHx452FOYgEuv1xpALt8/A=; b=Y15P19R3fbIlzW lCLttEWHk5cyo4PoR1dvnxJG4fN3y//emn1KCT9I9lrE+QAv75nZEzI6+wEjwu0e2eH0PGJZy5Evt foGkI4TLN8Y+5Cb9RIWudXBviIfnJbxqmcM5l/MtCTF+QAC02vXT+6QlGkvy6SLouVJLZb1j6dMN3 yiRPSArDacrR1IrIxWpqZLqPsMwlZVu7sC6mghio6C0L2+vBpp+yhsZIjlwvRZWhwrakMjBLZfBdo 6zolc14QkZSXD5crycxjDyofXzDE9oXJ58q5EBdtwx0X34iABdQu5SY66Irt4jdRm3vwn9Yn+KVkO +HWJzHno2qr4fDyQ6sWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzWOb-005TEt-L0; Tue, 21 Dec 2021 04:05:01 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzWOX-005TEE-C8 for linux-arm-kernel@lists.infradead.org; Tue, 21 Dec 2021 04:04:59 +0000 Received: by mail-oi1-x232.google.com with SMTP id bf8so19036425oib.6 for ; Mon, 20 Dec 2021 20:04:56 -0800 (PST) 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=Pw+dsyR/ln3/Tota3UpNDXsAPYMWq0lSizy4sn93ewU=; b=XcrkJEb2jvdXEZy61lIUUgsMTqTIEUw+gYRuWkdToIpfDiHYcFBudbBIoCDue0xZAW NyctgEbMS7LJJvdmNja8O3QmYbKGfIsSA8Xke4srwsgQkVUGs5a0tTr/cmIg6GiE5Z7v ntvovGEyCAzIGWxzLVlHcia41/wlSdVdu+ceH/JUJ4NXBLRIT5LFlYPa2WuxHLOzv3nn MA7qTcrqHoOYiJ/L9W0G0xP1UfkddnAKZh2ogjOE3zcC2Nvax9iIXOE5x811r3B2xdgL 77/uhU+g/gIs5rCq1vTSQV5FANC6iFwc/jEsSCFcA/KC61cXMrl/z7FXVzVKo/jMXNQ9 /0xQ== 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=Pw+dsyR/ln3/Tota3UpNDXsAPYMWq0lSizy4sn93ewU=; b=fd2+aLjnNKZ5oyYNFxe/vlD5M4JcbU1RNDh6/I/ZQWq2T2qr489duAihH1VidKnilC 1S0aAJ4DJ8Zce9FvzdE0XvykptbOltAmjqUrlSFTmmHw0GEaO0HgBD2+C7D3gMy8MiFy jla2xj9p4EvJOKsEMQLQphZZLAlKNBOBJHVbZJp+NJCnl+fwrhYdE+C8ipKbvFlE1Xp+ yxPhJ+pYTJrZGms/KFMYw5XwZABBfKyR9X8etdIlzFdKsImDRaGctvXzSx2NqnrROV7z 2RcOE8UzUSVaeR5H1rXGschqadV/HkbmopG10gtGg8qGoHJwiJbncsDKL3gjL+Zu5jQ7 +ogA== X-Gm-Message-State: AOAM531+QDcE/NBaYSOOb6h4zuQsNg4cJyQBju0HAAoub/8mWgY3z89k ateyE5EbN4m+wxwZhK/no+arFA== X-Google-Smtp-Source: ABdhPJzCFD7IX9B+uUNj//iAFBO6MOzY73Lkb5BXbhx6ngBQ5kWgRFSS5uwylH/yRDKbj627tMCRaA== X-Received: by 2002:a54:4506:: with SMTP id l6mr1153726oil.32.1640059495814; Mon, 20 Dec 2021 20:04:55 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id s2sm3523515otr.69.2021.12.20.20.04.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 20:04:55 -0800 (PST) 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 , Rajendra Nayak , Luca Weiss , Shawn Guo , Vinod Koul , Jason Wang , Konrad Dybcio , Martin Botka , Stephan Gerhold , Changcheng Deng , Rikard Falkeborn Subject: [GIT PULL] Qualcomm driver updates for v5.17 Date: Mon, 20 Dec 2021 22:04:52 -0600 Message-Id: <20211221040452.3620633-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-20211220_200457_451220_4DE111E9 X-CRM114-Status: GOOD ( 11.78 ) 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 fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf: Linux 5.16-rc1 (2021-11-14 13:56:52 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-5.17 for you to fetch changes up to e395f021ccebc239e4fec02fec47f5f0eef44ebd: soc: qcom: rpmh-rsc: Fix typo in a comment (2021-12-20 19:10:11 -0600) ---------------------------------------------------------------- Qualcomm driver updates for v5.17 This introduces RPM power-domain support for the SM8450, SM6125 and QCM2290 platforms. It them clean up the platform-based naming of the resources definitions throughout the RPMh PD driver. The last-level cache controller driver gains SM8350 support. The RPM sleep stats driver gains support for several older systems that had a slightly different memory layout for this information. The socinfo gains SM8450, SM6350 and SM7227 definitions. In addition to the DeviceTree binding updates related to these changes new compatibles was added to describe the SM8450 and the Kryo 780 CPU. Lastly a few typo and style fixes are introduced. ---------------------------------------------------------------- Changcheng Deng (1): PM: AVS: qcom-cpr: Use div64_ul instead of do_div Dmitry Baryshkov (4): soc: qcom: smem: Update max processor count dt-bindings: power: rpmpd: Add SM8450 to rpmpd binding soc: qcom: rpmhpd: Add SM8450 power domains soc: qcom: socinfo: add SM8450 ID Jason Wang (2): soc: qcom: qmi: Fix a typo in a comment soc: qcom: rpmh-rsc: Fix typo in a comment Konrad Dybcio (2): soc: qcom: llcc: Add configuration data for SM8350 dt-bindings: arm: msm: Add LLCC for SM6350 Luca Weiss (3): dt-bindings: firmware: scm: Add SM6350 compatible dt-bindings: arm: msm: Don't mark LLCC interrupt as required soc: qcom: socinfo: Add SM6350 and SM7225 Martin Botka (2): dt-bindings: qcom-rpmpd: Add sm6125 power domains soc: qcom: rpmpd: Add support for sm6125 Rajendra Nayak (4): soc: qcom: rpmhpd: sm8450: Add the missing .peer for sm8450_cx_ao soc: qcom: rpmhpd: Rename rpmhpd struct names soc: qcom: rpmhpd: Remove mx/cx relationship on sc7280 soc: qcom: rpmhpd: Sort power-domain definitions and lists Rikard Falkeborn (1): soc: qcom: aoss: constify static struct thermal_cooling_device_ops Shawn Guo (3): soc: qcom: rpmpd: Drop unused res_name from struct rpmpd dt-bindings: power: rpmpd: Add QCM2290 support soc: qcom: rpmpd: Add QCM2290 support Stephan Gerhold (2): dt-bindings: soc: qcom: stats: Document compatibles with fixed offset soc: qcom: stats: Add fixed sleep stats offset for older RPM firmwares Vinod Koul (3): dt-bindings: arm: cpus: Add kryo780 compatible dt-bindings: firmware: scm: Add SM8450 compatible dt-bindings: arm: qcom: Document SM8450 SoC and boards Documentation/devicetree/bindings/arm/cpus.yaml | 1 + .../devicetree/bindings/arm/msm/qcom,llcc.yaml | 2 +- Documentation/devicetree/bindings/arm/qcom.yaml | 6 + .../devicetree/bindings/firmware/qcom,scm.txt | 2 + .../devicetree/bindings/power/qcom,rpmpd.yaml | 3 + .../devicetree/bindings/soc/qcom/qcom-stats.yaml | 5 + drivers/soc/qcom/cpr.c | 2 +- drivers/soc/qcom/llcc-qcom.c | 28 ++ drivers/soc/qcom/qcom_aoss.c | 2 +- drivers/soc/qcom/qcom_stats.c | 13 + drivers/soc/qcom/qmi_interface.c | 2 +- drivers/soc/qcom/rpmh-rsc.c | 2 +- drivers/soc/qcom/rpmhpd.c | 326 ++++++++++++--------- drivers/soc/qcom/rpmpd.c | 42 ++- drivers/soc/qcom/smem.c | 2 +- drivers/soc/qcom/socinfo.c | 3 + include/dt-bindings/power/qcom-rpmpd.h | 33 +++ include/linux/soc/qcom/llcc-qcom.h | 3 + 18 files changed, 335 insertions(+), 142 deletions(-)