Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp875781pxb; Wed, 1 Sep 2021 11:52:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy54168f7Dq2smFvHXqXAQBRox1XmmlNC+V9QQ7Eq/Z5ct0ReDgV8G15mO68fY93rye7/k X-Received: by 2002:a17:906:640f:: with SMTP id d15mr1000774ejm.419.1630522357670; Wed, 01 Sep 2021 11:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630522357; cv=none; d=google.com; s=arc-20160816; b=1AK39XaJqcJhY3RK29FcHefxt5XFOEYhoDrMpusDy2JGGcRz1LMEXZqkNgbdf3VcnZ l0yUORlDBr0SBFOXMZ86TCtPM3lR2T5xYwfd2/Lfs5uM604QT1GxsxRomi/1F7yO5VLI 1QYAVGBXqt0KvbNb3zYn55kBV7GfXgPvUXU64BMuKpl2HENiTRMhwu3jZweHixKOxQV1 XBno5A7aa6U+MN2hFN5+EURMvTbn22zokvBKMaVC0DQJmxa+adSF00Lug9Nrlgsgs32t ORUBEr09HWQfYO9y8y+lsJk6C9VDj5hg9gpMo1xCX43uAAfOfL3MZumC7ZLcDQJkXav6 kioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=dRoyhfnVNodGny7+/CMR/XiTx1YCPaGARCjlTzQC/j8=; b=DQJPJ/OXtQa2h3LCe5d8ZvW5/XpbFQpJGYOkUJG2flJAro87WWPuBQ2HIdZL+v6x2l zvIe/9YAk77N+66M1q9Yt2apcbc8PbOZyUWiMvwKhKjqZGx9MWgHIkYXEVuAOCbZUfP6 8THPwRMQodElN1VeCGDbMWuJxvqRPaBLQHRUegUoMLRcSXvDUxnY7uw3I6zvjeMwyYjG HrSRilm+MsM1v/HymLuUymyZJFvUZiuVAc76C/YXBsUK5BgPy2rXAXAizbCORHr44uc2 rBjqPjut53y0KltkSdqLzif7YVxdvg7aHdz/F2D327n6qC5qYL7EAYAH+VKNgEaZaz+K WH/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=WME4xobl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si616216eju.564.2021.09.01.11.52.14; Wed, 01 Sep 2021 11:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=WME4xobl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243975AbhIAMQ6 (ORCPT + 99 others); Wed, 1 Sep 2021 08:16:58 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:11049 "EHLO mail-4325.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241021AbhIAMQ6 (ORCPT ); Wed, 1 Sep 2021 08:16:58 -0400 Date: Wed, 01 Sep 2021 12:15:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1630498559; bh=dRoyhfnVNodGny7+/CMR/XiTx1YCPaGARCjlTzQC/j8=; h=Date:To:From:Cc:Reply-To:Subject:From; b=WME4xoblxy100bfiC2U/LACbKCBORGhywNVRpzNtxkE0Fka5dh1r8DTsfE2AiWCzM jm5vA+1gubWfgYMzlx+YoJuKibC7nzTgbu1itjKpbzRlycOftZ4TzxTlVlZcQcrTvX FXQHF+BKiop43v+qm1QIDrHtPc66cNyqeJyEX2Tc= To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring From: Yassine Oudjana Cc: Yassine Oudjana , AngeloGioacchino Del Regno , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Yassine Oudjana Subject: [PATCH v4 0/5] interconnect: qcom: Add MSM8996 interconnect driver Message-ID: <20210901121518.152481-1-y.oudjana@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds a driver for interconnects on MSM8996. This fixes some rar= e display underflows and provides a slight heat reduction. The driver currently supports all NoCs on MSM8996 except a0noc, due to some= issues with writing to its registers. Changes since v3: - Expand DEFINE_QNODE macros in msm8996.c. - Commonize probe function. - Don't rename qcom_icc_set in icc-rpmh since it's no longer needed. - Code style fixes. Changes since v2: - Dual-license qcom,msm8996.h and move it to the dt bindings patch - Remove interconnect paths from CPUs since cpufreq driver doesn't support= icc scaling yet. Changes since v1: - Split first patch into 2 patches, one for renaming qcom_icc_set in icc-r= pmh, and another one for the actual commonization. - Revert unnecessary move of include line in sdm660.c=20 Yassine Oudjana (5): interconnect: qcom: sdm660: Commonize RPM-QoS dt-bindings: interconnect: Move SDM660 to a new RPM-QoS file dt-bindings: interconnect: Add Qualcomm MSM8996 DT bindings interconnect: qcom: Add MSM8996 interconnect provider driver arm64: dts: qcom: msm8996: Add interconnect support .../{qcom,sdm660.yaml =3D> qcom,rpm-qos.yaml} | 23 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 80 + drivers/interconnect/qcom/Kconfig | 14 +- drivers/interconnect/qcom/Makefile | 4 + drivers/interconnect/qcom/icc-rpm-qos.c | 358 +++ drivers/interconnect/qcom/icc-rpm-qos.h | 135 + drivers/interconnect/qcom/msm8996.c | 2781 +++++++++++++++++ drivers/interconnect/qcom/msm8996.h | 149 + drivers/interconnect/qcom/sdm660.c | 487 +-- .../dt-bindings/interconnect/qcom,msm8996.h | 163 + 10 files changed, 3725 insertions(+), 469 deletions(-) rename Documentation/devicetree/bindings/interconnect/{qcom,sdm660.yaml = =3D> qcom,rpm-qos.yaml} (82%) create mode 100644 drivers/interconnect/qcom/icc-rpm-qos.c create mode 100644 drivers/interconnect/qcom/icc-rpm-qos.h create mode 100644 drivers/interconnect/qcom/msm8996.c create mode 100644 drivers/interconnect/qcom/msm8996.h create mode 100644 include/dt-bindings/interconnect/qcom,msm8996.h --=20 2.33.0