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: 10788303 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 AE97114E1 for ; Wed, 30 Jan 2019 11:06:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A48D2DEBA for ; Wed, 30 Jan 2019 11:06:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E4C92DF96; Wed, 30 Jan 2019 11:06:10 +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 81D5C2DEBA for ; Wed, 30 Jan 2019 11:06:09 +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=nmts/5H9Ag8tIY 0vxKfNiySkJDMi+Z8gbJqvm+nWyIKQDpcIycH4DYz//z02sVCTdjLNdzhZggKDKx/87uEcHUEWhIC Bv59vnxsEV2kSdG+7wr4oSQopNwtT0t0NxN79tjokVk3iWQOh9LaDs853qwLiSOcaOkqCq8+Q25+c 4Qc2TnjYH66CdF7/BjnTtccVnfzSz5QUUNxNtvPKYVjHbXnirjpWAePKir5nbWdtxabFKQYV+QcNv tw0LeCthQLlhoOZqaoF8W72Zsk1AMJagqE1aBEmw2bZzO6UuMmrZyj2SW/e3YKYkt68KxxXk22K1J ONzTAQw0B04gRCbiQhXQ==; 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 1gonh2-0002qJ-6A; Wed, 30 Jan 2019 11:06:08 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gonfg-0000YL-JS for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2019 11:04:50 +0000 Received: by mail-wr1-x444.google.com with SMTP id s12so25535969wrt.4 for ; Wed, 30 Jan 2019 03:04:44 -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=VMhPCkIvfH27OSdCthxZOoiGQ73P7GMSSh9WPobdOfbFzqFmMnByScnPkjgRZcUESY g2ROkhm38ICegjn85nzNZkVuvflOUV7LX81nCqQp9SONLDaHJdqH5qTUIub1u6TiVG4l GVb9NCgJrcTgrVNcCfAH2FMM/NrL8ViFvxIgsrqZG4OKiPAeM2DuOMvPjVJJdyesVZd7 Wzz7g3Yb793/9D6H21EDfHPxSYMF8e6vgGqKIlJck+BjBhBuCLrfK2tfqRDAjJ4hQEKK cesXcYP5XttsNtNMZctQJ9jEoi34TSt7QIDWbeRkUqoheNUR5ixV2dQ82aqRHBV6x3hX Rtfg== X-Gm-Message-State: AJcUukdLHdgpwGs7x6c5sqgnkUt6OWZl/Ojh43Ju3h86+1AnBqx1GzWJ V3wCVwSY3Io8xFevDxSttx2jKTCkUp4= X-Google-Smtp-Source: ALg8bN6Oj+tXLt+D8MKeFgavoVxd9htD59ACHcR9LOoiD98cfOUNfpiUhwTgxO5pS80w48YPu0Nbzw== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190130_030444_634729_E30034F1 X-CRM114-Status: GOOD ( 10.04 ) 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";