From patchwork Wed Dec 15 00:23:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12691872 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 130B2C4332F for ; Wed, 15 Dec 2021 00:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232228AbhLOAXq (ORCPT ); Tue, 14 Dec 2021 19:23:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238430AbhLOAXp (ORCPT ); Tue, 14 Dec 2021 19:23:45 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22994C06173E for ; Tue, 14 Dec 2021 16:23:45 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id g18so19196310pfk.5 for ; Tue, 14 Dec 2021 16:23:45 -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; bh=9JW3yyJwaNZhtBuZJ3jDcXTPLUxJwHsCr5uKwfCfrj4=; b=agigs3ZY+UFqmXiA74+p7leMm6bCpcAFw7Wv0bhdIXJAzuy/RNsZhpoR3WKP87+bbg WkFD+JYiP0ZPC/RgQqhdl16Gzm6jHHmg94YxVmeuHvkGunyjnVnH1GinHhGSBGJQ+i2P kvOnTcAy+AmfdQRDFNo4RMWvuQxL8GFrSxsFP/LD2umNzfkijAbupJmGwglG6TC9zAfp cSyX5j2OdesN14VKcpNvswKjt0fnzbni+VghtiNPOrfxB56sLw+fIqy+lk8mv22HNRz4 elrDCpBOUXG3EUcCxb/fxe6vXAoErolEIxcHmoBfRyi4l2wUZpTAc5jZxrTxx+xgwWhr ZbZw== 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; bh=9JW3yyJwaNZhtBuZJ3jDcXTPLUxJwHsCr5uKwfCfrj4=; b=i6vvBSKmH4J249P84KymsvA0WCAovmG2ziVdRtK1eQ2JfUNHm6kSk4fDUV2ka8N6jF 3OnMjDOlqcrGeOsz24vGdIIHYqTVWDoq5olWJtp2sL6bCP5/owbg4le2HHEMxouapDEg pfOCUVXIDxIxW69K6czAEs+rWA72Z8KZqSsCWHlnKc2LYQ5Cc5dAagTtTsZrX3BhIk64 1Bd65SwbVOJKsR4lsCiEmg20NcaXlBHP0MV8DZ/Dy1fdvvQu31Rv4WmxtnWyZoVIHJU5 8y3RNNd9ErnfilAFkTPIFzLzqo0MEdLKp0SVsmUZJyEEkVzXodD7WUseNtqtLTq8A7Y/ DuCw== X-Gm-Message-State: AOAM532AbhGhPjx4pGWH85Q1Z8kgU4PXPDJKTkU6e3jpyCZ+O5BDcgYy f1KJ46b/kgpS4E5OIPjlJcamrg== X-Google-Smtp-Source: ABdhPJygzKgajtWbWb3H4ho6iZNsIhQPk7qNBbFUmunw7Zkup7CRkh50BFi/TT+duaxtSIjZb5XYCw== X-Received: by 2002:a63:8f02:: with SMTP id n2mr6005844pgd.270.1639527824621; Tue, 14 Dec 2021 16:23:44 -0800 (PST) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id a12sm185840pgg.28.2021.12.14.16.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 16:23:42 -0800 (PST) From: Shawn Guo To: Georgi Djakov Cc: Bjorn Andersson , Loic Poulain , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v4 0/5] Add QCM2290 interconnect support Date: Wed, 15 Dec 2021 08:23:19 +0800 Message-Id: <20211215002324.1727-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Changes for v4: - Fix the compile error on msm8996 driver. Changes for v3 resend: - Rebase on linux-next - Drop NOC_QOS_MODE_INVALID patch which has been applied by Georgi - Pick up Rob's Reviewed-by on the binding patch Changes for v3: - Update bindings to define child interconnect provider nodes Changes for v2: - Drop unneeded include of from bindings. Shawn Guo (5): interconnect: icc-rpm: Define ICC device type interconnect: icc-rpm: Add QNOC type QoS support interconnect: icc-rpm: Support child NoC device probe dt-bindings: interconnect: Add Qualcomm QCM2290 NoC support interconnect: qcom: Add QCM2290 driver support .../bindings/interconnect/qcom,qcm2290.yaml | 137 ++ drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/icc-rpm.c | 52 +- drivers/interconnect/qcom/icc-rpm.h | 14 +- drivers/interconnect/qcom/msm8916.c | 4 +- drivers/interconnect/qcom/msm8939.c | 5 +- drivers/interconnect/qcom/msm8996.c | 9 +- drivers/interconnect/qcom/qcm2290.c | 1363 +++++++++++++++++ drivers/interconnect/qcom/sdm660.c | 7 +- .../dt-bindings/interconnect/qcom,qcm2290.h | 94 ++ 11 files changed, 1684 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcm2290.yaml create mode 100644 drivers/interconnect/qcom/qcm2290.c create mode 100644 include/dt-bindings/interconnect/qcom,qcm2290.h