From patchwork Mon Dec 6 07:58:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12657735 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 E8DB3C4332F for ; Mon, 6 Dec 2021 07:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238678AbhLFICA (ORCPT ); Mon, 6 Dec 2021 03:02:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234756AbhLFICA (ORCPT ); Mon, 6 Dec 2021 03:02:00 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE4CAC0611F7 for ; Sun, 5 Dec 2021 23:58:31 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id k26so5037233pfp.10 for ; Sun, 05 Dec 2021 23:58:31 -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=C4WipaUxfhDiSh2nCvJGYNrM8Bp0J6D2g1Zv1ag3WeE=; b=qjf0ySyuDxctyBJqiBSnM52a191lDIcHBABi9DBQcCOsK/lrGRAWeRyUtLZqSeALIC YS2AOewuAmBRHRlb844cQjQpv0uWJyDcvY94rrSQRf+0WmB3cDRxD41QGvSyecRFrrhq YmgQM+6zRoLvggbv/xLgWM+aEYx5ejwds8fvGJUIPxL/qOPqLp+1IozIAjM34T6a7ZdI cWC1zAPJnHPeuRzH7Faj1TZfQaq/gYpeXyeMDeaBo0PdSDOz6tZtkldN4S3y+5OKZdLy UQSNcIz2K0ixlDqpbdNyhTSY0zkkgiOlo0/4lNbWJ7++/zI09O8CYA+54nqTL/aJlSMP En5g== 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=C4WipaUxfhDiSh2nCvJGYNrM8Bp0J6D2g1Zv1ag3WeE=; b=tfr2tm+iusUy7TbTAvUcJpXKrNliNiaIsql/KHso0WKNuT+5HcGtYRXeHAIG2yn6gm gvwRy1esu9lv3bnsqxtXjF3BZTmSWoU1unrLU/gGIwr7o/93kCzbLi2hQ558EKMxPvkD fut9T//Jxd2HlQ3iY8+1K3X5zXHPySZCeN6/GyVi5cf1FVYLW9KP1qTJNb1WjNjSViBv juxIy6WMSUcBUPFlPJz+5NArsomLTQLV5q/xrM3giY2SBGHRujaiMP5jZysFTqRA6Urk fNO7+RPgo5/eOu3mGdQX0bYJ/LSOkTveeh7igF1gMEDBffYTke6j4VW8tZsJoLauLKJF ubhA== X-Gm-Message-State: AOAM531FZeLMT/duYVx0ZOo7kydFJ8n21Av5p+yq8UN0HUg2diW1DxlH 4/ESJBsQScO/Pn7Yq2ZpRARSVw== X-Google-Smtp-Source: ABdhPJxOl0lieK+9Dn12NxkK4IvbwugF7/9+L1O5CCeBBYIxZd4I8Ts6Zegje7N30Tk1z9krpA2MAg== X-Received: by 2002:a63:1d60:: with SMTP id d32mr3779976pgm.148.1638777511262; Sun, 05 Dec 2021 23:58:31 -0800 (PST) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id p15sm11794476pfo.143.2021.12.05.23.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Dec 2021 23:58:30 -0800 (PST) From: Shawn Guo To: Georgi Djakov Cc: Bjorn Andersson , Rob Herring , Loic Poulain , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v3 0/6] Add QCM2290 interconnect support Date: Mon, 6 Dec 2021 15:58:02 +0800 Message-Id: <20211206075808.18124-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 The series begins with a separate cleanup on icc-rpm, followed by a few prep changes for QCM2290 support, and then adds bindings and interconnect driver for QCM2290 platform. Changes for v3: - Update bindings to define child interconnect provider nodes Changes for v2: - Drop unneeded include of from bindings. Shawn Guo (6): interconnect: icc-rpm: Use NOC_QOS_MODE_INVALID for qos_mode check 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 | 56 +- drivers/interconnect/qcom/icc-rpm.h | 14 +- drivers/interconnect/qcom/msm8916.c | 4 +- drivers/interconnect/qcom/msm8939.c | 5 +- drivers/interconnect/qcom/qcm2290.c | 1363 +++++++++++++++++ drivers/interconnect/qcom/sdm660.c | 7 +- .../dt-bindings/interconnect/qcom,qcm2290.h | 94 ++ 10 files changed, 1678 insertions(+), 13 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