From patchwork Fri Dec 14 22:16:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10731765 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 C4E8213BF for ; Fri, 14 Dec 2018 22:17:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FB222BCE6 for ; Fri, 14 Dec 2018 22:17:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71E1D2BE4E; Fri, 14 Dec 2018 22:17:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2376E2BCE6 for ; Fri, 14 Dec 2018 22:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=jzvPqcE1XB9HRnkqisiuQPSqDc4I4eq5q2hgolpvDY8=; b=ZaUiGACjbtArXgOVjJvcFe65ws I4U1s7v1wFetDrZyJpANEXtEi8GxyTHUrBc5s9iBWoFPWqf/fl+VhgkRwP2rp1U3kfg2lElGDRi0w luPo5CEUURqSxSRrikWnbUAWedwmF3jyQhj9AMot6ympKuLX2LOuX2+zbRpFS/jzrvRY+hvEeiL2E 6bkgV1hfQNHTd6FLIpQihX/czhD+NcTvQo6A4lyATVRCSKTBA8VYaIvoCH7p8g8rPy8KCkpoJV2AH YxJi3+SKKVRgADXI9CfkSgT95xz2iGNsKNq2itfmofkb6kHb9+XBXDpjKAWzLhzjV+EINp9y0B5Yg 7ONlkDJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXvle-0006TG-Pu; Fri, 14 Dec 2018 22:17:10 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXvlQ-0006IL-60 for linux-arm-kernel@lists.infradead.org; Fri, 14 Dec 2018 22:16:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 372C76081C; Fri, 14 Dec 2018 22:16:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544825806; bh=zSVbnT211XgLlf6IyfqXczxc6LCDKKSAWRrjPO9WRbY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kIyrEfXN6hbBBFRL1EAZD7m2LPatgYsprbNEi2ur01Aeqw2H8FJDA2DLXo74BBv7/ gmTjhj3OZhOdv4o7EBzdRvhVRPwuxBY6WwQDOqm+KSyT4jmiyRhs4t3vjbIf2Fhowc VG01sG1lbE3T4MvkEfIIXMcg1P1na2h18/VJsEU8= 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 A8897601D7; Fri, 14 Dec 2018 22:16:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544825805; bh=zSVbnT211XgLlf6IyfqXczxc6LCDKKSAWRrjPO9WRbY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TlSpr1a+f1VBKzxqj3x3MNsQ2hU3NZFozQ/6+/mRvJBSZ+m5fBZg3NZsDRArOvYwj 3YDcXjZUvCHIxd5aDI2UYAZ6+Zf4xrnAezGejvoMZRzNukf2q9tUi7n44F+P7rMJHl 7wQXycwhvf41EaD+/r07J2rz9BPTlzsd748i34dA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A8897601D7 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 Subject: [PATCH v2 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Date: Fri, 14 Dec 2018 15:16:39 -0700 Message-Id: <20181214221640.25354-2-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181214221640.25354-1-jcrouse@codeaurora.org> References: <20181214221640.25354-1-jcrouse@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181214_141656_249397_F4931F05 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, georgi.djakov@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Reviewed-by: Douglas Anderson --- 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..19b5ae459fdb 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 = <&rsc_hlos MASTER_GFX3D &rsc_hlos SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; }; }; From patchwork Fri Dec 14 22:16:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10731763 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 B38F713BF for ; Fri, 14 Dec 2018 22:17:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BB042BCE6 for ; Fri, 14 Dec 2018 22:17:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C22E2BE4E; Fri, 14 Dec 2018 22:17:03 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9AB72BCE6 for ; Fri, 14 Dec 2018 22:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=tE9W7fOX6VtfqYnDq/4R5KJEj11c+hafmgANf2X27Ik=; b=Py4mspUiNNiDB9XyvMU0bPFIbD iDCWoC/73eRHgYpQGREnGYpY8IackFDjwqTFBOWtrUtk7lWQnGggXSqQ9YvyC3srgZVIRNPIvg47A BcLn6OIOwZi5FuR6nU6gn6AobID32ML9RVJ+yK2UMq0uQ8doCytEM+5sXkpgx8R0vm/1edMRm6UV6 sclblB6kD4YA1WKHcHQbGKKBwRvn3onlOItP2VdiJuGhn74bqVEIVls6yFujuvG9hfeGXSTv2euBu elZDMltjZCVZJaNM1Tuk6J1ZZ1DAaCVeewZPqfWrMVnY5Do5qY/J6na2OKGjfVgsv44mRhXP1lRPh oojvmW8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXvlT-0006JS-As; Fri, 14 Dec 2018 22:16:59 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXvlQ-0006IM-6v for linux-arm-kernel@lists.infradead.org; Fri, 14 Dec 2018 22:16:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 491B060734; Fri, 14 Dec 2018 22:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544825807; bh=I5BUWVLVDXIzBcZU7r1vij9+pWJDwRJdv2Ml7au10m4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sz5ejquEpXpKv4B5TnPg1JsmsbXs7OkIJiGBOjUSqVJrZBnUytIBKvaSeMAc5Mfqs X1U4tFZ35sPaCo6X+b3ZIQvaDCk2+vVudhj/FsBGmpsZFSNjr88xdV1K0GlNNT8MSY 1O9bLvGl3ZKO6L4xhDUdEeWsTsEH7RgxWvBSgTFY= 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 C7EA460734; Fri, 14 Dec 2018 22:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544825806; bh=I5BUWVLVDXIzBcZU7r1vij9+pWJDwRJdv2Ml7au10m4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TiTA0LW2DJFSWFl/lBKBUUovaxBz9/vZo8f/iFUAdkUQ3onNw3GdQncvmAFqSOFvN +NNDGdIZBfJcv0j6jyX2Lg6V4LFEzWXAi79e6GOb9AKWCjXdxpDoUT9C54fEJTPGrs fbHaa+YJbXgjRYA/fL5LCc643HqlXkddYTmXBulo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C7EA460734 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 Subject: [PATCH v2 2/2] arm64: dts: sdm845: Add interconnect for GPU Date: Fri, 14 Dec 2018 15:16:40 -0700 Message-Id: <20181214221640.25354-3-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181214221640.25354-1-jcrouse@codeaurora.org> References: <20181214221640.25354-1-jcrouse@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181214_141656_271624_1C192F37 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, georgi.djakov@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define an interconnect port for the GPU to set bus capabilities. Signed-off-by: Jordan Crouse Reviewed-by: Douglas Anderson --- 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..2acfea87716c 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 = <&rsc_hlos MASTER_GFX3D &rsc_hlos SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; gpu_opp_table: opp-table {