From patchwork Tue Dec 14 09:30:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12691818 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 0224FC433EF for ; Tue, 14 Dec 2021 09:30:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232384AbhLNJaY (ORCPT ); Tue, 14 Dec 2021 04:30:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230013AbhLNJaX (ORCPT ); Tue, 14 Dec 2021 04:30:23 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A9BEC061574 for ; Tue, 14 Dec 2021 01:30:23 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id y8so13155131plg.1 for ; Tue, 14 Dec 2021 01:30:23 -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=G5vi0yoD7qRfQWn2e0IRPWaKeo3s9BuljNXhjeAVjIs=; b=HPPr1SexI4L2/JHXRCvD2gwTV0S30QfYzyHgnQTGIvO95cFShzJiIvYqhQzEoVDElZ kpoO+zaIoAW9ao1MILw6b+j5ncClVfmuKy3QJiMCbA0/PaLQf33HIM3B+W4awSTr3IYS SStsQHQJ7vmvi2P+40Iive3mfvqlbses01WeudDtJ33EePNJSv8uTW1kdIlgtK54NxZ3 OPe/4yJHWpcbpt7wRP3XC6TaldRooqnR75LG1S2MQ7jCo2xrsToaICD4NOCsGNXbsg3c Gc2j8ElRbOo27bf66EFPbhpY2HGzE9e2d8nmx0tLic65WRsCIuiMOOO5TDBxmzC8qjIv H8LQ== 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=G5vi0yoD7qRfQWn2e0IRPWaKeo3s9BuljNXhjeAVjIs=; b=qCbWN3QwlZikUG9LCdt5AREwZAWWgzdRpOXYV9TkOp1dqtUHtyVSWbcWt8+oW4RwPf vTt20KDCmyXvgeLDo1Y+xwLc0h04KWBfrPdrsi5wpnix6oFfYa9nCrotrOFr9VNN1jzo /xIUftZO9yFKSzZoyKFXbpMCL/sJEku9zyG07Y0Or919Zq5g+XcR4nMfGf0YFPe5Lbt5 n/mcDuMZGf+29dPCO0exFFnnDdogoc04DnEdPCdzEwsOdn44tOowakvnIXbOwYQdv/XB zoFPalJEQYoDrJa/4Qjf0yWf1Bshsz+gcByk130pyP5mVgBa5RqanMSFVRn+rxUAeX1N cfGg== X-Gm-Message-State: AOAM530Omiyt7sqvgj0YWumALSxti+j01jYDx9Tmcv5pSnj+TMJDrvvR ZogYqqvFAy3lKgKlHGJeWPrr/A== X-Google-Smtp-Source: ABdhPJzn4o2J9glLLu1kBIJgkX/w3k8el5p/hk/iYhX9j9YNCx3a/h+wS6biPYnuiNe1hjEYXqsoRg== X-Received: by 2002:a17:902:d88b:b0:142:8acf:615b with SMTP id b11-20020a170902d88b00b001428acf615bmr4239846plz.62.1639474222866; Tue, 14 Dec 2021 01:30:22 -0800 (PST) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id c21sm15143184pfl.138.2021.12.14.01.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 01:30:22 -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 v3 RESEND 0/5] Add QCM2290 interconnect support Date: Tue, 14 Dec 2021 17:30:06 +0800 Message-Id: <20211214093011.19775-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 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/qcm2290.c | 1363 +++++++++++++++++ drivers/interconnect/qcom/sdm660.c | 7 +- .../dt-bindings/interconnect/qcom,qcm2290.h | 94 ++ 10 files changed, 1676 insertions(+), 11 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