Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1022132ybx; Wed, 30 Oct 2019 08:41:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4VEl1avXK5KWCtuG776qdX9fBkAmEIXx/YLaakUHT4acyyAD36X9TQLGDTkrIcGl71WlJ X-Received: by 2002:aa7:d398:: with SMTP id x24mr306890edq.65.1572450091093; Wed, 30 Oct 2019 08:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572450091; cv=none; d=google.com; s=arc-20160816; b=RX7SCo73dmcOqTobF8nwOz9VqF3O2RKfBLuaTHmlR3v0RJz4ISZQRHx3LR/PNtrzmd 56MRgC++MuiC+nUzeuORfXpSBOfIoes4+3GxaVuAGyf/Kmih5GwCkaRL+KmSotA779OI Czl20FoNTJHZDnGP76aoax8PHqK61eejD8IF0id7Yx8t8Bs8DBJ7mtBM1Vh9Y2TKae/u 4+WRM8zUf+iGO8HRbdljuCsK5wijW8QB2urqXCA+2HXim6PmPH/t6kibH/cRHjs2d132 oEw1K3ZQx4EI6pmrdzXlULfa7KOPUJSUxcE2QT2zRl5sc/xzZymj6SDwvvcEh04FL2Ck APyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Zoa220jXmWpJ41gMsQ0hUuRQ4kSo+VniK6NVUshbryM=; b=JXq1/HFlISenHUWktb+aFvJknheiSbcZxRMcPiD71e6hH1ajR1/o5npYGxgTVQISK9 G1/x99kKxjqa2DL8Tkbjt2PuJmUD2S27CN0qWk6bntUW3Af0RLtv7xWlmbdP8V5E8LwN K5TnKK3IfWMS7KGzWNaeUU65rVluUkfSZzSVyvrwcnQkypvhQrIOQ7zf4l8CXjKKZ1Tx tyRVuMvmaHkF6JdaH/8YFL5Gzokt0YXq01wU4S5gILd52zWGKdXaOLdh6X7u3c+hEyHL vZm0T2RjVrHoRo6C4NcVqm3T7H9SCBFCF8e8JBOYxbEfzjoadCbh/VhArLPiSPDq23/w CJvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wyo3ydyG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jz21si1281814ejb.422.2019.10.30.08.41.06; Wed, 30 Oct 2019 08:41:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wyo3ydyG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbfJ3PjH (ORCPT + 99 others); Wed, 30 Oct 2019 11:39:07 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42096 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbfJ3PjH (ORCPT ); Wed, 30 Oct 2019 11:39:07 -0400 Received: by mail-wr1-f68.google.com with SMTP id a15so2827705wrf.9 for ; Wed, 30 Oct 2019 08:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zoa220jXmWpJ41gMsQ0hUuRQ4kSo+VniK6NVUshbryM=; b=wyo3ydyGQnIISMU0jYriaUuAbGrqh7cO9VgyWYCgP7UiB8cKxr7aeP2hpaB0kNURvw wKXK0DhyBjfLgQDimAzkqf3NWui8DEzscQeL3VVCaP0jg0n7i2lhpyDZOk3Jgn9xTaJR 9r90KG3LR54Lk81ILoq7gEWeFHnuGIhkNxzBmOfbvAZzM7XE9VH1ubiUGy9mJ8zKzC4d 0tv+aXT+gIcEKlos5NJVliZytOi+4RElMSsGcJz1zP8NAGGH5dG+9Ss4caJ/PNMDGaLO 4S+4V3yHBMTGbcejPX7zgip6I5O1SAoLNRD+dvRrFGCVUg1GsaA7n+3TU18fjXDeN8nM F9VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zoa220jXmWpJ41gMsQ0hUuRQ4kSo+VniK6NVUshbryM=; b=a6oACjEfS9Nsh3Es4CejwkJbA6IL3nVVHBboHrf9rEBXuyTrzDDQY+DKqkpziEpUU+ w9Qv1EGYkCMBlX5qXs4oBLsNuZ1Gp9XgdEVAowt4TXwfxi/o6xDb1h1Qe1GjSJS5MchL AbE8e1r93dLr2WVV4qglLbeGJB5dDzOlT9WYfFnImOgO+IIXrRRLyTUUkbPEUJFiKygd MgDzjxKZhXsMy3DxV/ooGcXy1++NGiM7I4NQFWHSkLlWEaRTjdLhUvWFC8i/VnznvPc+ CuVSj7F8soqfmYMheEJwUsH+QgwpaiFnPXUFFc/Ub8NgPfJvXs5oqHT1DRq9YIgSV40q HkBw== X-Gm-Message-State: APjAAAU81gx0gFZE7fRT4/gEoac6Z13W2ldJI6SZu40GSYRIvuMzRkO6 XWOkrLTiAzu1m3ENjaa+dt2qg1kJLamPuA== X-Received: by 2002:a5d:448f:: with SMTP id j15mr459626wrq.70.1572449945715; Wed, 30 Oct 2019 08:39:05 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id o25sm725524wro.21.2019.10.30.08.39.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Oct 2019 08:39:05 -0700 (PDT) From: Georgi Djakov To: robh+dt@kernel.org, linux-pm@vger.kernel.org Cc: agross@kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, daidavid1@codeaurora.org, vincent.guittot@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v10 0/3] Add MSM8916 interconnect provider driver Date: Wed, 30 Oct 2019 17:39:01 +0200 Message-Id: <20191030153904.8715-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add driver to support scaling of the on-chip interconnects on the MSM8916-based platforms. Also add the necessary device-tree nodes, so that the driver for each NoC can probe and register as interconnect provider. v10: - Converted binding to DT schema. - Use local number space per each NoC in DT. - Rebased the old patch and resolved conflicts. - Dropped some unused QoS related code. - Switched to using the clk_bulk API. - Improved commit texts. - Minor changes. v9: https://lore.kernel.org/r/20180831140151.13972-7-georgi.djakov@linaro.org https://lore.kernel.org/r/20180831140151.13972-8-georgi.djakov@linaro.org Georgi Djakov (3): dt-bindings: interconnect: Add Qualcomm MSM8916 DT bindings interconnect: qcom: Add MSM8916 interconnect provider driver arm64: dts: msm8916: Add interconnect provider DT nodes .../bindings/interconnect/qcom,msm8916.yaml | 77 +++ arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 + drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/msm8916.c | 572 ++++++++++++++++++ .../dt-bindings/interconnect/qcom,msm8916.h | 100 +++ 6 files changed, 788 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,msm8916.yaml create mode 100644 drivers/interconnect/qcom/msm8916.c create mode 100644 include/dt-bindings/interconnect/qcom,msm8916.h