Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3989251ybc; Thu, 21 Nov 2019 17:28:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxGhq2ZyYeOkqaGG5YHrAuGf+hl/HsDIzjwLouAAedVpZIkRDMwXceXel6tOzY97zQRb517 X-Received: by 2002:a17:906:4dd5:: with SMTP id f21mr17955239ejw.203.1574386101525; Thu, 21 Nov 2019 17:28:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574386101; cv=none; d=google.com; s=arc-20160816; b=GFgMYLofjR3OwUl5ocivKczy5Onsv7CakCNLi+O8cO6y6H1yiPCbUVMk5L/qqm/hee 6cbGX81v4841HohZJZ0Vhq/mag8OZaCLY2mE3e4dWtxq+nwEV2pr1yqUH0xkKjT0l4I3 8plmsai436FNtDHpw0JZp/3sduvE/EdrfW0Fp8DkhFJrCxCOrnZbGaRWQz7DhDw2+JSr lt81N0JbYB6MfJ2sPVEpi0GB0AfCWzTdCvc2F6YM+fNsR5Z+B+5qtLbHZcRT5+HgGG6I Ov+zeHDTis7HIF/at0ZhnTTUbjgfiSZPsv5+RSf1g+TIU+EQkEQfRBnAhKq+Sfp1W3P/ qqJA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NSnJmVMkelMXDtECZgftUfLeZG4ueXGVn3KjctkIa9g=; b=HpJTyFawwZldUBiNK8t/p/ap9oQPn8vtxdpVI2FY1++hDoCfTgugiXo6e5GmlXMRP4 J2dVklot7dNoGz/s7uaWLe3/CAR425fW0agwyYy/ehPvZxhtiaDjPop/tN64kUQ85gEH CjVVyr7iN1wL+lxOAsFn71mVllfJdgzVEEKNlGjkmsxtCFSt37p4vzQjg8l1YQFOF9q7 bS0JSVjw6lbCwBEw3kCzJMikExOTzeWqgtoKS2M/7VJCHL7zOVT82oMczQq0t7AorlUw p3ikohzHInJD7VWLJ2rm1IiBg1NvxvNFbETcJby5dq3yGZkgi6TYWFMz5nYy6EEMeR8c X9Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=bDxbw8cG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si3566290eda.30.2019.11.21.17.27.57; Thu, 21 Nov 2019 17:28:21 -0800 (PST) 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 (test mode) header.i=@onstation.org header.s=default header.b=bDxbw8cG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbfKVB06 (ORCPT + 99 others); Thu, 21 Nov 2019 20:26:58 -0500 Received: from onstation.org ([52.200.56.107]:33738 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbfKVB06 (ORCPT ); Thu, 21 Nov 2019 20:26:58 -0500 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 DE4013F246; Fri, 22 Nov 2019 01:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1574386017; bh=dL0lrpCjc1VI4yESYZZzGcFikG03Q6qUZMtCASVWS90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bDxbw8cG9jSpgDI8dpL9PIgZx7q9aZD6XkBpdFFha0G+xYU4wRVYjttV9N7jEj+UV Y4UAoPUyVdztg3QAZcyt2KaFjyTaD3ljifLzCKifmpB8MZYcS6BF3wImHOZQ5eTHjZ AQ+QHF8aa0y+q1gnT2zl53U0uqciskg5QUqhPLAw= From: Brian Masney To: robdclark@gmail.com, sean@poorly.run, robh+dt@kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, jcrouse@codeaurora.org, dianders@chromium.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: drm/msm/gpu: document second interconnect Date: Thu, 21 Nov 2019 20:26:42 -0500 Message-Id: <20191122012645.7430-2-masneyb@onstation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191122012645.7430-1-masneyb@onstation.org> References: <20191122012645.7430-1-masneyb@onstation.org> 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 Some A3xx and all A4xx Adreno GPUs do not have GMEM inside the GPU core and must use the On Chip MEMory (OCMEM) in order to be functional. There's a separate interconnect path that needs to be setup to OCMEM. Let's document this second interconnect path that's available. Since there's now two available interconnects, let's add the interconnect-names property. Signed-off-by: Brian Masney --- Documentation/devicetree/bindings/display/msm/gpu.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt index 2b8fd26c43b0..3e6cd3f64a78 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.txt +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt @@ -23,7 +23,10 @@ Required properties: - iommus: optional phandle to an adreno iommu instance - operating-points-v2: optional phandle to the OPP operating points - interconnects: optional phandle to an interconnect provider. See - ../interconnect/interconnect.txt for details. + ../interconnect/interconnect.txt for details. Some A3xx and all A4xx platforms + will have two paths; all others will have one path. +- interconnect-names: The names of the interconnect paths that correspond to the + interconnects property. Values must be gfx-mem and ocmem. - qcom,gmu: For GMU attached devices a phandle to the GMU device that will control the power for the GPU. Applicable targets: - qcom,adreno-630.2 @@ -76,6 +79,7 @@ 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>; -- 2.21.0