From patchwork Sat Oct 5 11:46:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 11175621 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5FAF5112B for ; Sat, 5 Oct 2019 11:46:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A281222CB for ; Sat, 5 Oct 2019 11:46:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=onstation.org header.i=@onstation.org header.b="jtatPfXS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728011AbfJELqX (ORCPT ); Sat, 5 Oct 2019 07:46:23 -0400 Received: from onstation.org ([52.200.56.107]:53682 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbfJELqW (ORCPT ); Sat, 5 Oct 2019 07:46:22 -0400 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 1B3FA3E908; Sat, 5 Oct 2019 11:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1570275981; bh=7UxPKfYvF9YC5oNzBjK4nuU5NqyOypj5Ccf17g84yBo=; h=From:To:Cc:Subject:Date:From; b=jtatPfXSKH6+snw7ecvIhGDOju9+fHa5Sd2+CyKVrSm2RtlP9USxUfREKdhdPGtsJ TAZNCtqSodvHJZ8Vm7I9Lor0DsKT9S+h2I8lqxoBeYwgcR1PIMeOFj4WDGMzsSZObl 8zbNQv+9J5m1Zqc7g0RkA5UlVAZAWuZtAJsnBL6w= From: Brian Masney To: bjorn.andersson@linaro.org, georgi.djakov@linaro.org, robh+dt@kernel.org Cc: agross@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, jonathan@marek.ca Subject: [PATCH v2 0/2] interconnect: qcom: add msm8974 support Date: Sat, 5 Oct 2019 07:46:03 -0400 Message-Id: <20191005114605.5279-1-masneyb@onstation.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Here's a patch series that adds interconnect support for the Qualcomm MSM8974, which is needed so that the GPU can be supported upstream. I didn't include the changes to arch/arm/boot/dts/qcom-msm8974.dtsi since I have some other device tree patches coming. I'll send them all out in a single series once rc4 comes out to avoid any merge conflicts. Here's the necessary nodes that need to be added to that file: #include bimc: interconnect@fc380000 { reg = <0xfc380000 0x6a000>; compatible = "qcom,msm8974-bimc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_BIMC_CLK>, <&rpmcc RPM_SMD_BIMC_A_CLK>; }; cnoc: interconnect@fc480000 { reg = <0xfc480000 0x4000>; compatible = "qcom,msm8974-cnoc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_CNOC_CLK>, <&rpmcc RPM_SMD_CNOC_A_CLK>; }; mmssnoc: interconnect@fc478000 { reg = <0xfc478000 0x4000>; compatible = "qcom,msm8974-mmssnoc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&mmcc MMSS_S0_AXI_CLK>, <&mmcc MMSS_S0_AXI_CLK>; }; ocmemnoc: interconnect@fc470000 { reg = <0xfc470000 0x4000>; compatible = "qcom,msm8974-ocmemnoc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, <&rpmcc RPM_SMD_OCMEMGX_A_CLK>; }; pnoc: interconnect@fc468000 { reg = <0xfc468000 0x4000>; compatible = "qcom,msm8974-pnoc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_PNOC_CLK>, <&rpmcc RPM_SMD_PNOC_A_CLK>; }; snoc: interconnect@fc460000 { reg = <0xfc460000 0x4000>; compatible = "qcom,msm8974-snoc"; #interconnect-cells = <1>; clock-names = "bus", "bus_a"; clocks = <&rpmcc RPM_SMD_SNOC_CLK>, <&rpmcc RPM_SMD_SNOC_A_CLK>; }; Brian Masney (2): dt-bindings: interconnect: qcom: add msm8974 bindings interconnect: qcom: add msm8974 driver .../bindings/interconnect/qcom,msm8974.yaml | 62 ++ drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/msm8974.c | 784 ++++++++++++++++++ .../dt-bindings/interconnect/qcom,msm8974.h | 146 ++++ 5 files changed, 1003 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,msm8974.yaml create mode 100644 drivers/interconnect/qcom/msm8974.c create mode 100644 include/dt-bindings/interconnect/qcom,msm8974.h