From patchwork Fri Jul 15 15:31:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 591107 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9624EC433EF for ; Fri, 15 Jul 2022 15:31:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229487AbiGOPbw (ORCPT ); Fri, 15 Jul 2022 11:31:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiGOPbu (ORCPT ); Fri, 15 Jul 2022 11:31:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DDD0BCA3; Fri, 15 Jul 2022 08:31:49 -0700 (PDT) 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 D4B24B82B2F; Fri, 15 Jul 2022 15:31:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8467BC34115; Fri, 15 Jul 2022 15:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657899106; bh=VfQPKfXNcwguHoDHoNuITmpfBRm1lER8pLdeYGeSRs4=; h=From:To:Cc:Subject:Date:From; b=n/NwjCgzUdfSoDCdsWEcWeJ9RRkSDX5eBvJTuDBCNZpazKblw17xXzZ4cM4Y/I70z 06ZqodonnqKSicz58S780QRNeseUjsvWp3AXq01F9Xscy2BEt/cpqLHCZwM8dOMl0R T1vx6nLVAf0+5kZ3Uv9d/HD4szwsRQqd2j+Q0vqkaB8RPJ9zU1w4Z/xxds4uXYbpn6 5xS0w1+AkDcULG78o94Hj/cwNnhIJudS4DTY3kOffHCs2uDapwtdYqeHyP+1ab2bgP /jWbar7sKCX6/DKVi8KpXjLkQ2sH4yqOLPevKdKPktW9x6muZ6ZCipog2vTqxDLWrF VixgCIYhwDm3w== From: Georgi Djakov To: gregkh@linuxfoundation.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, djakov@kernel.org Subject: [GIT PULL v2] interconnect changes for 5.20 Date: Fri, 15 Jul 2022 18:31:46 +0300 Message-Id: <20220715153146.26134-1-djakov@kernel.org> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hello Greg, This is the v2 pull request with interconnect changes for the 5.20-rc1 merge window. It contains driver updates. The details are in the signed tag. I have fixed the "Fixes" tag, so now we should be all good. Please pull into char-misc-next when possible. Thanks, Georgi The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56: Linux 5.19-rc1 (2022-06-05 17:18:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git tags/icc-5.20-rc1-v2 for you to fetch changes up to 009c963eefa058384052d32d5b06fbc738195bdb: Merge branch 'icc-rpm' into icc-next (2022-07-15 17:56:31 +0300) ---------------------------------------------------------------- interconnect changes for 5.20 Here are the interconnect changes for the 5.20-rc1 merge window consisting of two new drivers, misc driver improvements and new device managed API. Core change: - Add device managed bulk API Driver changes: - New driver for NXP i.MX8MP platforms - New driver for Qualcomm SM6350 platforms - Multiple bucket support for Qualcomm RPM-based drivers. Signed-off-by: Georgi Djakov ---------------------------------------------------------------- Bryan O'Donoghue (1): interconnect: icc-rpm: Set destination bandwidth as well as source bandwidth Georgi Djakov (3): Merge branch 'icc-sm6350' into icc-next Merge branch 'icc-imx8mp' into icc-next Merge branch 'icc-rpm' into icc-next Leo Yan (6): interconnect: qcom: msm8939: Use icc_sync_state dt-bindings: interconnect: Update property for icc-rpm path tag interconnect: qcom: Move qcom_icc_xlate_extended() to a common file interconnect: qcom: icc-rpm: Change to use qcom_icc_xlate_extended() interconnect: qcom: icc-rpm: Support multiple buckets interconnect: qcom: icc-rpm: Set bandwidth and clock for bucket values Luca Weiss (4): interconnect: qcom: icc-rpmh: Support child NoC device probe dt-bindings: interconnect: qcom: Split out rpmh-common bindings dt-bindings: interconnect: Add Qualcomm SM6350 NoC support interconnect: qcom: Add SM6350 driver support Peng Fan (9): dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc dt-bindings: interconnect: add fsl,imx8mp.h interconnect: add device managed bulk API interconnect: imx: fix max_node_id interconnect: imx: set src node interconnect: imx: introduce imx_icc_provider interconnect: imx: configure NoC mode/prioriry/ext_control interconnect: imx: Add platform driver for imx8mp PM / devfreq: imx: Register i.MX8MP interconnect device .../devicetree/bindings/interconnect/fsl,imx8m-noc.yaml | 6 +- Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml | 6 +- .../devicetree/bindings/interconnect/qcom,rpmh-common.yaml | 43 + Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 22 +- .../devicetree/bindings/interconnect/qcom,sm6350-rpmh.yaml | 82 ++ drivers/devfreq/imx-bus.c | 1 + drivers/interconnect/bulk.c | 42 + drivers/interconnect/imx/Kconfig | 4 + drivers/interconnect/imx/Makefile | 2 + drivers/interconnect/imx/imx.c | 84 +- drivers/interconnect/imx/imx.h | 49 +- drivers/interconnect/imx/imx8mm.c | 2 +- drivers/interconnect/imx/imx8mn.c | 2 +- drivers/interconnect/imx/imx8mp.c | 259 ++++ drivers/interconnect/imx/imx8mq.c | 2 +- drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 5 + drivers/interconnect/qcom/icc-common.c | 34 + drivers/interconnect/qcom/icc-common.h | 13 + drivers/interconnect/qcom/icc-rpm.c | 168 ++- drivers/interconnect/qcom/icc-rpm.h | 6 + drivers/interconnect/qcom/icc-rpmh.c | 30 +- drivers/interconnect/qcom/icc-rpmh.h | 1 - drivers/interconnect/qcom/msm8939.c | 1 + drivers/interconnect/qcom/sm6350.c | 493 ++++++++ drivers/interconnect/qcom/sm6350.h | 139 ++ drivers/interconnect/qcom/sm8450.c | 1 + include/dt-bindings/interconnect/fsl,imx8mp.h | 59 + include/dt-bindings/interconnect/qcom,sm6350.h | 148 +++ include/linux/interconnect.h | 7 + 30 files changed, 1627 insertions(+), 93 deletions(-) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm6350-rpmh.yaml create mode 100644 drivers/interconnect/imx/imx8mp.c create mode 100644 drivers/interconnect/qcom/icc-common.c create mode 100644 drivers/interconnect/qcom/icc-common.h create mode 100644 drivers/interconnect/qcom/sm6350.c create mode 100644 drivers/interconnect/qcom/sm6350.h create mode 100644 include/dt-bindings/interconnect/fsl,imx8mp.h create mode 100644 include/dt-bindings/interconnect/qcom,sm6350.h