From patchwork Thu May 25 17:48:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 9748863 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 D8CA7601E9 for ; Thu, 25 May 2017 17:48:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C970228047 for ; Thu, 25 May 2017 17:48:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE543280CF; Thu, 25 May 2017 17:48:52 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 4E9FA28047 for ; Thu, 25 May 2017 17:48:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970086AbdEYRsu (ORCPT ); Thu, 25 May 2017 13:48:50 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:33234 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970103AbdEYRsg (ORCPT ); Thu, 25 May 2017 13:48:36 -0400 Received: by mail-qt0-f195.google.com with SMTP id a46so31059715qte.0 for ; Thu, 25 May 2017 10:48:35 -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=C58W3HaXNYRVuP76t1LPI6WaBALogqJzqXyqPaJR/OU=; b=OmmYnvtJ9QdzuOa+qbf7qC9IetSBdVrLKcmqX7h5xVGOFwGnjY7c8II3J/e3KbBZJu 9L85PW6Udl+DItLtfBqJXxFjmqTv084h2NOYZbQHO49L1wJi3Rm8A+TNN6zmVZ5nqmH0 bbKfPeSbl1aeknAea2Dxm776hhsC9XVZbM+ytfXB8Ubw0WshHvG1+CZSVYz1iQQPXWVn 3lene60fbMsRFkkcpYT0s1JEUBbUEvvC2GW1UenBeCtsmYhTL0buQRfvPbz7J6i7tZAn AusSiyzs/2YqFbSLVWQPKWII9W21Y3uz0Aqln9Baac0Ptk1i8Rwx/QLAaQJ/adSgqKeA 4XqQ== 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=C58W3HaXNYRVuP76t1LPI6WaBALogqJzqXyqPaJR/OU=; b=Tign/lkAA0/jIJkcQwyLCrtf5dG5O3RDH8ods2n2dexOnyZC6wMelPCcZ0rxankt4G tZ0yr6TTnVmbeIF5ANC+0fZQj7Mj/qBou6LXmy56k4oVWrLo7TYfJ4fW53k2X31RctMr YTof7ef7ofd6ccZYd2ny4eNHbwDKYazWB7qyPI0yHzsFhL2alT+qfv6l+1h6hpfPSDjK Yih9KbCo9n4CJ4PzXk9AiBs1Sp5JtAQqx0iWoyKCz3N5yWAKB52TESkSUhmXdHbNDXT/ z51Z/fyvkbaOM36+cdTwxwrz1c+8/1sdLfdKCB5FOK1YDhxdocR+6buGp9wR5zGte79e 559g== X-Gm-Message-State: AODbwcCRf67uExL4vEl/sq6jlH8hIgET7qQYnhlPYV+qaE33i08MprKq okpwdd9DNehJ1w== X-Received: by 10.237.42.102 with SMTP id k35mr45858028qtf.58.1495734515369; Thu, 25 May 2017 10:48:35 -0700 (PDT) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id f49sm5095582qtc.23.2017.05.25.10.48.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 May 2017 10:48:34 -0700 (PDT) From: Rob Clark To: linux-arm-msm@vger.kernel.org, Andy Gross Cc: Stanimir Varbanov , Rob Clark Subject: [PATCH 2/3] ARM64: DT: add video codec devicetree node Date: Thu, 25 May 2017 13:48:21 -0400 Message-Id: <20170525174822.27996-3-robdclark@gmail.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170525174822.27996-1-robdclark@gmail.com> References: <20170525174822.27996-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 --- 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 f9b8a28..2ef8f53 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 {