From patchwork Wed Dec 12 13:36:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10726335 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 249216C5 for ; Wed, 12 Dec 2018 13:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 148152836F for ; Wed, 12 Dec 2018 13:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08CA929535; Wed, 12 Dec 2018 13:37:14 +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=ham 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 AEB382836F for ; Wed, 12 Dec 2018 13:37:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727565AbeLLNhC (ORCPT ); Wed, 12 Dec 2018 08:37:02 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45872 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbeLLNhB (ORCPT ); Wed, 12 Dec 2018 08:37:01 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D59B360303; Wed, 12 Dec 2018 13:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544621820; bh=NC42VuBclfBb6FiHYyOTO7mZNAXxmg5laybzYy4f/x8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F1RX7WG4g3w0u7EoYxxJAAAJsSLQ7FaAPqC4HhQmpb3VU2BZ4UJsObRR4JMkQTF0J t3LOUY9/aMypmLeXeDtn3El0fyL2Olm3ksZKj1m9EIGvh+81KXzPUgf/bY5q8ZM12k TypDD+OepAamm8kIlD+cHznXwjpR0yUfstiXGIcI= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7CC0560237; Wed, 12 Dec 2018 13:36:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544621820; bh=NC42VuBclfBb6FiHYyOTO7mZNAXxmg5laybzYy4f/x8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F1RX7WG4g3w0u7EoYxxJAAAJsSLQ7FaAPqC4HhQmpb3VU2BZ4UJsObRR4JMkQTF0J t3LOUY9/aMypmLeXeDtn3El0fyL2Olm3ksZKj1m9EIGvh+81KXzPUgf/bY5q8ZM12k TypDD+OepAamm8kIlD+cHznXwjpR0yUfstiXGIcI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7CC0560237 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=vivek.gautam@codeaurora.org From: Vivek Gautam To: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jordan Crouse , Vivek Gautam Subject: [PATCH 1/2] arm64: dts: msm8996: Add graphics smmu node Date: Wed, 12 Dec 2018 19:06:46 +0530 Message-Id: <20181212133647.9692-2-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 In-Reply-To: <20181212133647.9692-1-vivek.gautam@codeaurora.org> References: <20181212133647.9692-1-vivek.gautam@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jordan Crouse Add device node for graphics smmu, aka. adreno_smmu. Signed-off-by: Jordan Crouse Signed-off-by: Vivek Gautam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 99b7495455a6..197e186eac10 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1104,6 +1104,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"; From patchwork Wed Dec 12 13:36:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10726333 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 DEFE414E2 for ; Wed, 12 Dec 2018 13:37:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF7302836F for ; Wed, 12 Dec 2018 13:37:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C360329535; Wed, 12 Dec 2018 13:37:11 +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=ham 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 709602836F for ; Wed, 12 Dec 2018 13:37:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727589AbeLLNhF (ORCPT ); Wed, 12 Dec 2018 08:37:05 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45984 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbeLLNhE (ORCPT ); Wed, 12 Dec 2018 08:37:04 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 15233602FE; Wed, 12 Dec 2018 13:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544621824; bh=FMI2B60zW3TzFY0KlPtes7rthraU0N+NNJ+1yXTNNNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JBLYjvTvXZFg2+o3AHTBAoOsba+D5BXCAzw8nRzHvMUTU8o7nWY6KJUhUSHNfMLZB 9le2XN1aBoUUudcPiQDjYSXfl0YZH4F8jwfVD54JIHY00L6gzj7fqcoMGu5crhMflq nsqrrf6YN2ah96kdg6+OAY9teAZlFEVYqEEPmm2I= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C40A56030E; Wed, 12 Dec 2018 13:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544621823; bh=FMI2B60zW3TzFY0KlPtes7rthraU0N+NNJ+1yXTNNNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gTtUeoVV/UUqwIIM4AUEpapjA4aK8pQyZtX6RrA5CdZgaIcS3trVHKaSSTczcGfhz PZRSn75zoGS3PRMHWXC5v2QU9iTDrIuCTMZf3v/mAmUfu9iKepGWzaicS2Or+Cjj0o T4AVIXb+MkNt/d//un1nmjQICV5u1bW+ykCNNxhk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C40A56030E 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=vivek.gautam@codeaurora.org From: Vivek Gautam To: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Archit Taneja , Vivek Gautam Subject: [PATCH 2/2] arm64: dts: msm8996: Add display smmu node Date: Wed, 12 Dec 2018 19:06:47 +0530 Message-Id: <20181212133647.9692-3-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 In-Reply-To: <20181212133647.9692-1-vivek.gautam@codeaurora.org> References: <20181212133647.9692-1-vivek.gautam@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Archit Taneja Add device node for display smmu, aka. mdp_smmu. Signed-off-by: Archit Taneja Signed-off-by: Vivek Gautam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 197e186eac10..949e3b99fda4 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1121,6 +1121,23 @@ power-domains = <&mmcc GPU_GDSC>; }; + mdp_smmu: arm,smmu@d00000 { + compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2"; + reg = <0xd00000 0x10000>; + + #global-interrupts = <1>; + interrupts = , + , + ; + #iommu-cells = <1>; + + clocks = <&mmcc SMMU_MDP_AHB_CLK>, + <&mmcc SMMU_MDP_AXI_CLK>; + clock-names = "iface", "bus"; + + power-domains = <&mmcc MDSS_GDSC>; + }; + agnoc@0 { power-domains = <&gcc AGGRE0_NOC_GDSC>; compatible = "simple-pm-bus";