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: 9623693 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 B6E85604CC for ; Tue, 14 Mar 2017 15:18:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9C9E2859F for ; Tue, 14 Mar 2017 15:18:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E57A285A4; Tue, 14 Mar 2017 15:18:48 +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 3A2732859F for ; Tue, 14 Mar 2017 15:18:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379AbdCNPSq (ORCPT ); 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 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 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 {