From patchwork Wed Jan 30 11:04:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 157060 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5798990jaa; Wed, 30 Jan 2019 03:04:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN62H/us0gNwbi2KezZnjfEJMGGgugRRZ4NUbG5LRKHEvk9l83S/BZyB7AKt3RiP9o7mSNr/ X-Received: by 2002:a17:902:e08b:: with SMTP id cb11mr30192716plb.263.1548846285261; Wed, 30 Jan 2019 03:04:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548846285; cv=none; d=google.com; s=arc-20160816; b=aYFCzu+DxPTYnLPRjNPY7Mfj8UYS3/WZHDrFG7/JZDggWI8uB0nrMuof9/UemsWbA2 zESQyBkN1hi8ANZytfW2ZBNFUhYj9pmddKHsUrpvQhjT+Q4tiTR5QqXhNJVhOgAv+QTC +VQRTDTL3N2BQiEx7tvFP5X4ZBu2KvnvMjz3AjZX94WmbJdRYQCkIthn2jql/03nKxU2 NoZ0PyYQetZwHppz6G9fpHNqvr9xz/b84wB7EyEbaU+aKJ2CuwGQW+lDd5UxNe2WlD2o sBNeELUjp2UXGgB47dryJ7s4SKPOvI/eo6KI4m1g+kSJ6sf7/9WFn1irOnZBtxAQttdn BkiA== 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=C9cOt5ITDVopsgviHrr1V3PGSqn/anQnP2GxQeP5Cxg=; b=iGI9v++aA0SuDWD+CZ4VIyHYh2nJFiGEz5Dhl8rAOa9vy3r3GpLQ8N6r425l7z5gOH smPrKCBBqcZrENH49c2qf5T+Rlawc68s8evnpjZraiu0DCg2Paf37oM+QFMsWEAddh9k eKkXnB3YRGnF8sXzk8AU/cNF3KCkTugN2Bm45Rkqd1AQVD3Sgbg0pVm75/PGruLrYzeT qY2ti+gzJ2qBQWWpkFnwvku1Zu/XsoceLhuQoG57RWUy/UaF1ZjWj7fD98INdV4XQrSH cPz7P9pMy649oz4WbRkTC0amIkH2eSTRN4eRnt63gRY9mW5++HBDGrnby1EkVKkAeOKQ DbJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gn+DXnir; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si1231849plj.244.2019.01.30.03.04.45; Wed, 30 Jan 2019 03:04:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 header.i=@linaro.org header.s=google header.b=gn+DXnir; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730475AbfA3LEo (ORCPT + 7 others); Wed, 30 Jan 2019 06:04:44 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45994 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727431AbfA3LEo (ORCPT ); Wed, 30 Jan 2019 06:04:44 -0500 Received: by mail-wr1-f67.google.com with SMTP id t6so25511289wrr.12 for ; Wed, 30 Jan 2019 03:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C9cOt5ITDVopsgviHrr1V3PGSqn/anQnP2GxQeP5Cxg=; b=gn+DXnir9piDYexpCWGL7lc3abIZ/CDJAP+BGByt5jD3f5f97v9WT6TktBgljAnZsD Ao4rZdOXsEr2adImVGzZz43IxI++0tSWE1K6c2y/QA09wlQs8oAlJHekQ/atH8AY4tPG 4vFGUImC7rBGj1dnktqds8sMRKRMLArH9XFIE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C9cOt5ITDVopsgviHrr1V3PGSqn/anQnP2GxQeP5Cxg=; b=jHNEWvdPOGTQwvbCVa7BYDC8nSVo4js0SNmuxtCtGrM3OOWIShbpMTaGaTnHNsFweN e235xyRYF3SBk5fYteKGbNR+3xau5eFiEewit4vW71gSzJhOeK+QC7mWGRJdEIWz3MiW BGVmjQvnTTJdpx4iG53YS9JC7d8wZU/xw2hmaWOqufCN2zHTStDj67LGaWHROQwfwLcu Url0M5NPtJPal9siEoCYk1GbmKy4ebEHJtYzjUwjAaasOwnpSzvPqQoumseihAys2468 IDVGN2QDF0+RryKDd6fpu++Iq5D2pWJNr1KJgwKai9ZJPQIs/j6TMVx3J5rnG0pzyXWW d8Eg== X-Gm-Message-State: AJcUukc2IyWqRDs46AGtvAknQIz+5PPc1IBucBK/tr+KHC79QYRQ/0Tu go+I78K9L5+JgyZakN9qWpvcug== X-Received: by 2002:adf:cd0e:: with SMTP id w14mr30787619wrm.218.1548846282881; Wed, 30 Jan 2019 03:04:42 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id w16sm1138208wrp.1.2019.01.30.03.04.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Jan 2019 03:04:41 -0800 (PST) From: Srinivas Kandagatla To: andy.gross@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Jordan Crouse , Vivek Gautam , Srinivas Kandagatla Subject: [PATCH v2 1/6] arm64: dts: msm8996: Add graphics smmu node Date: Wed, 30 Jan 2019 11:04:32 +0000 Message-Id: <20190130110437.5424-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130110437.5424-1-srinivas.kandagatla@linaro.org> References: <20190130110437.5424-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jordan Crouse Add device node for graphics smmu, aka. adreno_smmu. Signed-off-by: Jordan Crouse Signed-off-by: Vivek Gautam Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 6ba96916c66d..c9b80d175fd4 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1138,6 +1138,23 @@ }; }; + adreno_smmu: arm,smmu@b40000 { + compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2"; + reg = <0xb40000 0x10000>; + + #global-interrupts = <1>; + interrupts = , + , + ; + #iommu-cells = <1>; + + clocks = <&mmcc GPU_AHB_CLK>, + <&gcc GCC_MMSS_BIMC_GFX_CLK>; + clock-names = "iface", "bus"; + + power-domains = <&mmcc GPU_GDSC>; + }; + agnoc@0 { power-domains = <&gcc AGGRE0_NOC_GDSC>; compatible = "simple-pm-bus";