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: 12657721 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 6FE38C433EF for ; Mon, 6 Dec 2021 07:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238616AbhLFICA (ORCPT ); Mon, 6 Dec 2021 03:02:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbhLFICA (ORCPT ); Mon, 6 Dec 2021 03:02:00 -0500 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D367BC061354 for ; Sun, 5 Dec 2021 23:58:31 -0800 (PST) Received: by mail-pf1-x434.google.com with SMTP id r130so9448993pfc.1 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=ajSjVDOWNqVwiGUrz6FTHc0qQPhoAPsgOo+YlDeA1bh8MBLQxmMIV3RjaMRTxC6XOf 0FScyqdv67mxJEedNeskQlgmIqNPZ1gVJX3VrFTVpGmLwnmK0cw5SCBFD4iJ8hz49vvV 4gJyygXy/OlfKa5UjE/l8IJnbW1EfDuOdNkQvL/BXUUWx7tvb8Fk2Zbk5J+iddErQlik GgPbkcIQ2c0im0a2h+GtHrrGi71vzQQcYOg4kE+cpMLkHLyH21Bv+e44+RWCX6BEVY2h CdhuWIF6HnHgez6ManFwgK71n7vt1cFgOcHRlQSA8kb1uDk87mZg6CBUktUqYMVYL43Q Qrrg== X-Gm-Message-State: AOAM530ojJ4pkg8o1ExST83oo7dd+KAxhX5X7wl8ApJDgR20pHCkl4Q1 MaZz+zolO3drE9o09YCr3m1V5Q== 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-pm@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