From patchwork Thu Dec 13 17:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10729279 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 768B413AF for ; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59EE32C806 for ; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D9CF2C7F3; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 087402C811 for ; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729664AbeLMRb6 (ORCPT ); Thu, 13 Dec 2018 12:31:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:42052 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727579AbeLMRb6 (ORCPT ); Thu, 13 Dec 2018 12:31:58 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 92F1960860; Thu, 13 Dec 2018 17:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722317; bh=h9MsjaQKHnhWHN7oNFvU8lPg2Baa8bbKoYkA26js5+Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R73MT0K0+vJGQNXjEYndeLwr29Y3cqRTHNkuNnFpIW4I/hULL4OgcvDb4FFdAX2x0 sv7KUDMc34jXMgYPiOieSo0hpOLKXs+cSwSGh9qVeYM7p4sR6uBxRSi0o+KmmdxUGq qosheWNGpK4F3igTkbaOK3vtLv99hJTKkgdXEVig= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 39498601C3; Thu, 13 Dec 2018 17:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722314; bh=h9MsjaQKHnhWHN7oNFvU8lPg2Baa8bbKoYkA26js5+Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lksa3bfZXQ8xZ7pJQOUVKabwuD21H1FpQrPvNouiKzWQvi3sk9ZdYhPm3K+/6XfnW 9vQcnKuM4OHAxn2IlwGXXenhL/wab42QIIkUrtt2Hp2+a9Mt04fa1IRwyJXKc13cRe 5zTrX6ARTzIddIlYN1zC1PQ+2yoPhl4kBUq9tRPw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 39498601C3 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: nm@ti.com, devicetree@vger.kernel.org, rnayak@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, dianders@chromium.org, vireshk@kernel.org, linux-arm-kernel@lists.infradead.org, georgi.djakov@linaro.org Subject: [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Date: Thu, 13 Dec 2018 10:31:48 -0700 Message-Id: <20181213173149.6975-2-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181213173149.6975-1-jcrouse@codeaurora.org> References: <20181213173149.6975-1-jcrouse@codeaurora.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for the interconnect and interconnect-names bindings for the GPU node as detailed by bindings/interconnect/interconnect.txt. Signed-off-by: Jordan Crouse --- Documentation/devicetree/bindings/display/msm/gpu.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt index 8d9415180c22..be6b5628e052 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.txt +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt @@ -19,6 +19,9 @@ Required properties: * "mem_iface" - iommus: optional phandle to an adreno iommu instance - operating-points-v2: optional phandle to the OPP operating points +- interconnect: optional phandle to a interconnect provider. See + ../interconnect/interconnect.txt for details. +- interconnect-names: Name string for the interconnects. - qcom,gmu: For a6xx and newer targets a phandle to the GMU device that will control the power for the GPU @@ -68,6 +71,9 @@ Example a6xx (with GMU): operating-points-v2 = <&gpu_opp_table>; + interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; }; }; From patchwork Thu Dec 13 17:31:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10729277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C90D679F for ; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 014602C787 for ; Thu, 13 Dec 2018 17:32:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F33452C80D; Thu, 13 Dec 2018 17:31:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A65322C7EE for ; Thu, 13 Dec 2018 17:31:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729673AbeLMRb7 (ORCPT ); Thu, 13 Dec 2018 12:31:59 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:42086 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeLMRb6 (ORCPT ); Thu, 13 Dec 2018 12:31:58 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EE00B60779; Thu, 13 Dec 2018 17:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722318; bh=HDpupgHnvnBtYCGFcEvdOzAXRFpgGdSUS3vcU+N30mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L6zA7z45Z4DDPdAoflrOeLy2lb02QOi3XnnYFbr2EIsuslSU0fVPPkn3pXHpytkoh lmjEaIPTUSW6tJZ/EfT3QQAwewgBj/J8eZ8A2pWDBIiJOqTbc8vOo4p8KEdfVQNVHe 8PWqhp2ik8f7F5MWln+N8Lz7WUJdUfOiJk5/o1wg= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 93E5E60132; Thu, 13 Dec 2018 17:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722315; bh=HDpupgHnvnBtYCGFcEvdOzAXRFpgGdSUS3vcU+N30mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nUj2T9BRJ711iKdgledpHU/WQc6gF23lp2EwEpU40R8glOeAF7dcsnN+WbEV/HSEX ki3L3f28r5QhVby+kkUk8cm1lsiQ7Tt2RvvwmS/tOHT32xUHicjKu1jrwc75o0J88D oSR6KQ2JZPjuXcDtQ7z+kZ70rcyxO/Qf3stvd1P8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 93E5E60132 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: nm@ti.com, devicetree@vger.kernel.org, rnayak@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, dianders@chromium.org, vireshk@kernel.org, linux-arm-kernel@lists.infradead.org, georgi.djakov@linaro.org Subject: [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU Date: Thu, 13 Dec 2018 10:31:49 -0700 Message-Id: <20181213173149.6975-3-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181213173149.6975-1-jcrouse@codeaurora.org> References: <20181213173149.6975-1-jcrouse@codeaurora.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Define an interconnect port for the GPU to set bus capabilities. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0a5ddfc4c59b..9323f211ca40 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1370,6 +1370,9 @@ operating-points-v2 = <&gpu_opp_table>; + interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; gpu_opp_table: opp-table {