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: 10786191 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 895931399 for ; Tue, 29 Jan 2019 13:24:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7601F27CEA for ; Tue, 29 Jan 2019 13:24:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69E2E280B0; Tue, 29 Jan 2019 13:24: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 3085127FB1 for ; Tue, 29 Jan 2019 13:24: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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NwBzMQKOuekQqhP4aX6QtKBhUGxbxiclpB7y8LWfyIQ=; b=elC2GoysiRL0Hy 9ffUksWvz8Jslq1LUoBUbc/NliDFOWVQ4uaZyjFTu4Rh/7S0z8VRPCbfrBNTto6a3/meHCPSeyqbD FmTs36LnK7JLascjCrntyeny3kE3US4v8bYDpsyIQbfSoYxWHjinCfNaeA8A0J0EPMwvFJjZM0tgt dkRXezYyRGLjM/P96Fq3arqjljzg2zWbBI7tRsP69LY+67/qXiDgT9YVTG9fYunEVUuzbWKl5SUBd mklI0fDVkozykKvmNzQx87MrZLo5qibBNt08G7lbpOPcrEq6ZwoRc2FaEd3ekeFHgqD3ngHa6Yisy iibV3U6bmQRHrVR+Nj7Q==; 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 1goTMu-00038H-BN; Tue, 29 Jan 2019 13:24:00 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1goTMp-00036B-6e for linux-arm-kernel@lists.infradead.org; Tue, 29 Jan 2019 13:23:58 +0000 Received: by mail-wm1-x343.google.com with SMTP id n190so17857218wmd.0 for ; Tue, 29 Jan 2019 05:23:53 -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=sGvf+rgYyAQ2bz1PQBecRRb5A4BlWxm2OpXOlf/JrMsjbY1iTpOZHcfV5iCbEnvHlM dOZhy20I9ecI9VTyqtfMJNwC+Y8dqDUBa/PAj2iW2VLyBX6GZzT4byn8MpGtXsvF2Z8Q OQfowdXArqMbT7iwKwzid30x3ceA/nfZzKmYwqH5x1F6VuXFE4s8MnSEoOOs0OwoJDxi 51+lNsvz1obuvb0DN88z4gSP4bUCcSZo32MUVHNFL2+fg9zv91/mWlxdKs57ZgjehZQS QMa6g9k+J8UTyMd5jQR8yZkqI9suAdfrQ8S7rHl/8KBkCY7LsHGoao8IIZlw4+YneXYC +p3g== X-Gm-Message-State: AJcUukeTp2zTBFvYPZV162MP2Zg3rRNRPKcTkt/bZoC6fuDMHW3/3HQm DptmR+GzmOy6mno8oop1Panxdg== X-Google-Smtp-Source: ALg8bN6gySsAn5g0IUpGFKVAtROKVFgU44X8GOl0tfCC4/dBNpueYF81NhVHcSdDI9wtc7n6SQnJuQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190129_052356_775175_277FAD4F X-CRM114-Status: GOOD ( 10.02 ) 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Jordan Crouse , Srinivas Kandagatla , Vivek Gautam , linux-arm-kernel@lists.infradead.org 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 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(+) 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";