From patchwork Tue Mar 14 15:18:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 95299 Delivered-To: patch@linaro.org Received: by 10.140.89.134 with SMTP id v6csp306111qgd; Tue, 14 Mar 2017 08:18:48 -0700 (PDT) X-Received: by 10.99.109.14 with SMTP id i14mr44288369pgc.102.1489504728638; Tue, 14 Mar 2017 08:18:48 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d125si15070688pfg.72.2017.03.14.08.18.48; Tue, 14 Mar 2017 08:18:48 -0700 (PDT) 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=neutral (body hash did not verify) header.i=@gmail.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379AbdCNPSq (ORCPT + 9 others); Tue, 14 Mar 2017 11:18:46 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:35092 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753376AbdCNPSo (ORCPT ); Tue, 14 Mar 2017 11:18:44 -0400 Received: by mail-qt0-f194.google.com with SMTP id r5so10379467qtb.2 for ; Tue, 14 Mar 2017 08:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VYBmF3Cm4ePAbYPE4dZP/h5k6Q2oUqP3l8EkezQonuo=; b=ELr00So+pGVHMUdZ0Fy9sKXus9djX3aJqYAKAjQv4+mBMZDWImubceBkud7nrfXIZ7 We8AP/hhpFxUxoDtZMsc11hIYZ+JyTRZMvTGHgQI+CxcDTkWa6jmc6t6jFJj71BXKg7M wte3Xqiz21QMOEGdPN9zHkkYLfDnlq7Bk39LlGE58o0LWq0XwKmt6+bYcIWzjFuyVOcq prNAhSAx5y01OQuqcTKGfsCQ+aTe7rEPLEkNhL2sAMele6zZgBBWWw5G/pjsIDsISqpM 3XjI2kLaAdXq73lkg2O4TShk1qe/HoDLUC5nv1ofppB929F6LgYGfuFFdYTKB4qlJNCU 0FxQ== 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; bh=VYBmF3Cm4ePAbYPE4dZP/h5k6Q2oUqP3l8EkezQonuo=; b=HopnjnP48kuwqUczJbvQdWNnqwvA9att83f5Tp0RHIws+Fcsxol0eYXfkQpZjYNoUp 0b4vj3vrr3EkRfnxRuXA2MmuP6FgM8I07JEX/fg+IT248Q5rv0/xd3TMRDNuaNYEBZqa r2OM/P1oAqe3wJ1GUmC8FNrUqnnWeg5eaNTPb4iQoGuguQgSAQA9NegP/UettC0xqrLn +8Lg6ISyiGc8A/8CRNwCdWz9CZW1tMbnI1YnRtoKXae2bYxMimJnIm6NOcSJYNkd7YEP ta+zYwaWiPguwhm8DVQbKqzPTaRpTKCrCe8t1gzTs47hvp8mlDya6K1Q1vPiJ0GTqUEM WuKg== X-Gm-Message-State: AMke39k4YNKTmVR6QFob+fROPgrvO+BH/7ScXg8riT7G0PqfJJPcJJwLC97TpZ/PfwkCBg== X-Received: by 10.200.40.210 with SMTP id j18mr41263932qtj.272.1489504723129; Tue, 14 Mar 2017 08:18:43 -0700 (PDT) Received: from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a]) by smtp.gmail.com with ESMTPSA id n84sm14577448qki.42.2017.03.14.08.18.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Mar 2017 08:18:42 -0700 (PDT) From: Rob Clark To: iommu@lists.linux-foundation.org Cc: linux-arm-msm@vger.kernel.org, Robin Murphy , Will Deacon , Sricharan , Mark Rutland , Stanimir Varbanov , Rob Clark Subject: [PATCH 8/9] ARM64: DT: add video codec devicetree node Date: Tue, 14 Mar 2017 11:18:10 -0400 Message-Id: <20170314151811.17234-9-robdclark@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170314151811.17234-1-robdclark@gmail.com> References: <20170314151811.17234-1-robdclark@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Stanimir Varbanov Signed-off-by: Stanimir Varbanov Signed-off-by: Rob Clark --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index b0daf39..7bcf4cd 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -88,6 +88,13 @@ no-map; }; + venus_mem: venus@89900000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x89900000 0x0 0x800000>; + alignment = <0x1000>; + no-map; + }; + mba_mem: mba@8ea00000 { no-map; reg = <0 0x8ea00000 0 0x100000>; @@ -1190,6 +1197,27 @@ }; }; }; + + venus: video-codec@1d00000 { + compatible = "qcom,msm8916-venus"; + reg = <0x01d00000 0xff000>; + interrupts = ; + power-domains = <&gcc VENUS_GDSC>; + clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>, + <&gcc GCC_VENUS0_AHB_CLK>, + <&gcc GCC_VENUS0_AXI_CLK>; + clock-names = "core", "iface", "bus"; + memory-region = <&venus_mem>; + status = "okay"; + + video-decoder { + compatible = "venus-decoder"; + }; + + video-encoder { + compatible = "venus-encoder"; + }; + }; }; smd {