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: 9781059 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7C61860352 for ; Mon, 12 Jun 2017 12:43:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 824E82846C for ; Mon, 12 Jun 2017 12:43:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7740E2849E; Mon, 12 Jun 2017 12:43:31 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 18E0D2846C for ; Mon, 12 Jun 2017 12:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984AbdFLMna (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Stanimir Varbanov Signed-off-by: Stanimir Varbanov Signed-off-by: Rob Clark Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 {