From patchwork Tue Jan 29 13:23:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 156987 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4657507jaa; Tue, 29 Jan 2019 05:23:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN7MwVdmUS1IbguSFedfevlLKr/UtyoIK7CQzqJfKNFnego+l/3Jwu7dI1JW0CxeMXdUzxms X-Received: by 2002:a63:e247:: with SMTP id y7mr22606496pgj.84.1548768234357; Tue, 29 Jan 2019 05:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548768234; cv=none; d=google.com; s=arc-20160816; b=hgeKFxUf+ArgShyWeaexwuyvuUOgtQpzbl1zi5p5I9vTEMpJPj8tm3kNwGLXS8DRUb iSkX1bVVk6WfQkrJdnebvhgV+gR5DiZlaXtweUT72N2FuRgl2n/iaKVY39efdJ21EtDk jEdz79fm3njRBGmYB6OzYEkhjWo+dMQ+G3LhyU8SwSKCHPF4CRxgqZH6lTE2ExTkePBG Cu3jnppc//ml4OU2cVgYzMRRS/ussBeEoBd2VS5c43pmvFHtyhxm8mPS15qdLW7Jc8z8 IfmHf6VrX3EFj8qbG4A/qrQPzZ9P6vGZ4o6IgK1yvNGolR2w/VpXUlNHF7wqNSyV98vj TqBA== 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=KphQQ8v8iFJcokO/PX7sd1ZFcE6d1EiaGD/qoS2Sfljwk8wjPHAeEGXz9IPJhjkGLu w97NSx/BYmgrZ/jX/WKjrJ/BUvjM6P1pj+j0bNh2l4f3ZJsJccMJZ5PIUIfAOSf5q+X+ epOjwnXaLD+Eo4MwM/gSCVwdyHW/o3oxesTYlDgEIdDhVpcGtiSVMzrE0h8Ycex+RUIu pKynQC+R/jYQ/xmNo8x6ps0cun8jznHP2maPNoi3SQ5rvdJbpZC6eJhcbZ1mE8RIez5F K6y0YT6JLDN5n3MxXXgBBVXLf0gvfUnsAVEesFd5fA2a5YA4EAaKg83VTsygwEdMwBYF Ydlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V5DWwx0n; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 i6si26218218pgq.207.2019.01.29.05.23.54; Tue, 29 Jan 2019 05:23:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=V5DWwx0n; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1725601AbfA2NXx (ORCPT + 15 others); Tue, 29 Jan 2019 08:23:53 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36535 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfA2NXx (ORCPT ); Tue, 29 Jan 2019 08:23:53 -0500 Received: by mail-wm1-f67.google.com with SMTP id p6so17739263wmc.1 for ; Tue, 29 Jan 2019 05:23:52 -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=V5DWwx0nuHbq+tHes4yn81mU2X7chix9xGALjVonp505GJuevkUXoz5CspYma5be3X 94/ZkVb3sqVEr+QKfz5ngQlP/4niZeyyILdtRux5Wdqi4/dVnhBgEW2a1Es1HQ6yQQww BKXPk8t6RUpH5Hv4ESoQoN68e4TrQJFGZWg80= 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=iKZXjBXLhbFfjNDD++dqq/0ASCHq2fQ3uoRHuqqxl8tH4CEE55ZjrT0+0Rnnpwt1Ll 13QDAW9B795mAUVqwHbCWypz+QBcwN++6SXXy0LuyJd8qpYaVc1ru+JEm0EOV2wvBNQa Qa2fzc4Ka6J6/AOKTTG1uLNm0zYDyUACKd06I6JCwihvu0JhwfkNvignAMPCuA9mDCHl 8iFhXGUVjB8/gu3miXxd81x166jut1ikLPS5qTIvsz24S696hDbnJFTQAmBf0E9a82ws /u/T0jopIV0C9WQAzZlvAIvkl4LKfu9J/yifsjnClq2s6fxf5glzFPtfdy5j/p0ObEJN zLJg== X-Gm-Message-State: AJcUukd60JFvHoT5xZNQX6+5DLxGLbB9+8pOEfIEymy2V5q998W1iW1z w9VeDw/6DIl9IB1v81fXz4v7eQ== X-Received: by 2002:a1c:1d8e:: with SMTP id d136mr20720209wmd.98.1548768231741; Tue, 29 Jan 2019 05:23:51 -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 w80sm3739628wme.38.2019.01.29.05.23.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Jan 2019 05:23:50 -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 1/6] arm64: dts: msm8996: Add graphics smmu node Date: Tue, 29 Jan 2019 13:23:30 +0000 Message-Id: <20190129132335.30695-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129132335.30695-1-srinivas.kandagatla@linaro.org> References: <20190129132335.30695-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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";