From patchwork Mon Jun 12 12:43:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 103617 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp172629qgd; Mon, 12 Jun 2017 05:43:31 -0700 (PDT) X-Received: by 10.99.164.25 with SMTP id c25mr21024809pgf.37.1497271411242; Mon, 12 Jun 2017 05:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497271411; cv=none; d=google.com; s=arc-20160816; b=CKnOCSdxFhub6ozXagxZorzJyxL1Vv3LO+JdbQ/iW6ipAESrZL9fefX6+kJG2p848r QpLhrYxekwqitjjXIgt9ePS/q3wFff31kcTQq2knj3GKWl8t3i2ZlAO5PnLiy3QHgWcl U0JDw9wsYRYmnbZi0P2Tts3fRvelOQJW7035iI+/wgWd0fekZWESX2uVkW3LuH22/D8D MeDvh7ooinjBu4juuqYnmUw/ms/tiFs8S05cQw1fkyc+nQ7F1EMvxngNWBnx525EOqtF IW6NbtTDlNp3afKABmI8Qoc3xv/ZAYWsNiazCat5eSTxQj7lw3SazyJqJ2yVWO3DyKYH z32Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=WWEMLxAaXfYx203cfk5mZiuA2ed6/K9vHxhq2swCT9U=; b=Agf185GYIfYU/Xlu416pvv1ev78qGJLSPetg5kISCX+COze8xNqlgJ2ztPau9y72ll hc7AmZQ28QEpLmZaYI0U2eWEBISkxGqTtfQ201tUiKECJSC0VfFBM741jZwsXrv1pud6 pMqrM8TPKOwhNgEPfQfvSlQ5SJXAye5DS2tGbm7eeh2GBwvuuLgsDDXjntZcJFGip4Gi kIQgDCALYmNEnAmpOncNGNsBSck6aU7NkHFfXkNhwKFQslDG+AG3ys3Rukvmzdks5reC xkTBP1GZP9xchrnjQnFc0beeAUnt+6umyriQRSrfFuynKIx06xdahxCMm3CMpFAz2dsr Xlqw== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b74si6954488pfb.49.2017.06.12.05.43.31; Mon, 12 Jun 2017 05:43:31 -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 S1751984AbdFLMna (ORCPT + 10 others); Mon, 12 Jun 2017 08:43:30 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34530 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbdFLMn3 (ORCPT ); Mon, 12 Jun 2017 08:43:29 -0400 Received: by mail-qt0-f195.google.com with SMTP id o21so26089557qtb.1 for ; Mon, 12 Jun 2017 05:43:29 -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=4gLyIdjlTmedt/RIMoJ6Zz/kvD4WweGu30zTsb8i16w=; b=WEidpN6ihdWwbREa4wIqVHHNWJw/08dECWag58vVUkhOfxvzNjvYgvJF+eDwqb+nrL ZsTRIdIshEEY0tcwzCXIzydD5jwneenelq9LCKxjZAsc/iEqpoD9upG6/Q/K4o2oh7zX dY0hVNg+kBsCITVdw53KYD+py/WVd8Ih1okzRK7NTglVJeoqW2INr55vIzOfD1CFSWo/ 59FehSY/SvQxJyRBgA8kpbQooAN2rE3ANFeWVQmjJ7SDiu67YZVZLA0W/gtt3VLLKPy6 mJujHh+St3Oxj3NWaii1rBQWQ/14cFwSLdbGTJrYe5U4iGZBLwXzINcPoG0tqov6gwwM 2f5g== 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=4gLyIdjlTmedt/RIMoJ6Zz/kvD4WweGu30zTsb8i16w=; b=hbVF325o2xYCB0xTZhGEZithJlA+bixQxR+UEHfoZ2hOQxbKC1FwPROASHaJ7HaFFN KAk6Oq3FhZoCoOHjv+yvrr1vz20vhdji4ZymEKZgSuqz37PXKfX1i2tC3aqNmeiPmrqF dg5guiimtfCkTRY/MbdVgvN/L95sT8FbfqfGAEkMi5hrKOYSxeSQkifeue52f0FuUyyn hM1fXAIlKhgpdfXQal9dAVKG++hYNo9REnz4T+u9v7FEILnRi2UxP5xYENBvwxuCeyRh 0NuGGBCpoAhwnttIf8+4KV+cHlkVClNDV8gKgpiDCiUe5oBHCGzxTfCSJqjZHFyENoFo uUpQ== X-Gm-Message-State: AKS2vOxemycGAjs3Jd0E6M5dbSu7L2bll0swkchldw8jFWXqazaQ6K/n 832QS32iD8I8EAkrabE= X-Received: by 10.237.48.80 with SMTP id 74mr10983142qte.10.1497271408654; Mon, 12 Jun 2017 05:43:28 -0700 (PDT) Received: from localhost ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id 45sm2780360qtu.14.2017.06.12.05.43.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Jun 2017 05:43:27 -0700 (PDT) From: Rob Clark To: linux-arm-msm@vger.kernel.org Cc: Stephen Boyd , Andy Gross , Stanimir Varbanov , Rob Clark Subject: [PATCH 2/3] ARM64: DT: add video codec devicetree node Date: Mon, 12 Jun 2017 08:43:16 -0400 Message-Id: <20170612124317.29313-2-robdclark@gmail.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170612124317.29313-1-robdclark@gmail.com> References: <20170612124317.29313-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.4 -- 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 Reviewed-by: Stephen Boyd diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 24c24ab..1dcd632 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>; @@ -1214,6 +1221,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 {