From patchwork Tue Dec 12 00:26:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10106063 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 2ADB9602B3 for ; Tue, 12 Dec 2017 00:27:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FBC1299C6 for ; Tue, 12 Dec 2017 00:27:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14576299D5; Tue, 12 Dec 2017 00:27:30 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable 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 C181B299C6 for ; Tue, 12 Dec 2017 00:27:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752387AbdLLA04 (ORCPT ); Mon, 11 Dec 2017 19:26:56 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:32833 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbdLLA0p (ORCPT ); Mon, 11 Dec 2017 19:26:45 -0500 Received: by mail-lf0-f67.google.com with SMTP id 74so21276952lfs.0; Mon, 11 Dec 2017 16:26:44 -0800 (PST) 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 :in-reply-to:references; bh=mJkHz7ggvSJ+68hY5rO0zQEmJpxLosXlElKge8OeXDA=; b=dNnDGr5KFB2s4Dtg4tOowtwMR5uZT9X6WzNepTRB4pX8KB4RAWSBDXsJ639foHa/n7 Qh9uHuEa432wbqItw5RLTkw4Zb45PAOXdu+qkxMIRSaMg3pMi7tQc4DkYfSgah3NU5vS YnhGYGEBIxM9OtqYyoGyeZHL7JF6uAri+5XdUMBGQmS7WZbff/WNU0n2QJtUBJGwFDt/ pHIYTx4ykC2zkWtuvNdIgtHDfC6+YxDSaduoGbGdu/T5MFRsCi4k1mIIcXKccPpG6gIx xd/zgRzM9hZrgQ/dgNrZO8z8MpZ1Bgq8N8/fvGJtwoA0jVwNohrwRHPUyQcjw1JthNvk JsYg== 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:in-reply-to:references; bh=mJkHz7ggvSJ+68hY5rO0zQEmJpxLosXlElKge8OeXDA=; b=oM0lY9WV+GF2y6hLeJ129uGVXrbtNFbuguYcUMNVjnSKlRSzbWB6kpTIe69sQUkQDG 9Gh2qk5II6GTrq7WABqqaLYUU+7E5ke5gN5XGY5aMXme6sXJlmHrSgEi7Xz002C9KYuz R6qsweiaspoG7reoh1LK6l29FJjunkTg7ZYaxlxmnglyPvrCm6gYfv2ZinrkmGVKjFaD /96ph/h9W75qpPhHFcYjm3c8QeB/y8tDRG9BXkv0FIupcUYxZJIu7TQ0/vuCliFIrxr+ xvNFs5ILCto7rIyaRen70jCmfN2lE5z5uNJP3A6bj22cZk42Qe08wzWL02TE237DSUmO H4LA== X-Gm-Message-State: AKGB3mI8GLL/klEm1Mg8cmQPZQZ/3kdAxYmjfhnCDfmrl5fw7+53gzKN PvaQ5eYU5lxSVw/BZHCTGoM= X-Google-Smtp-Source: ACJfBouiOZlyQSFzpGac+cxNKWJxDbx9U4DBwplMIPMY7I/syseIM5giuiXc1WQkzs8s/Z0IqPyyoA== X-Received: by 10.25.157.143 with SMTP id g137mr828434lfe.6.1513038403695; Mon, 11 Dec 2017 16:26:43 -0800 (PST) Received: from localhost.localdomain (ppp109-252-55-194.pppoe.spdop.ru. [109.252.55.194]) by smtp.gmail.com with ESMTPSA id s127sm2916726lfs.45.2017.12.11.16.26.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Dec 2017 16:26:43 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Stephen Warren , Greg Kroah-Hartman , Mauro Carvalho Chehab , Hans Verkuil , Vladimir Zapolskiy Cc: Rob Herring , Dan Carpenter , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/4] ARM: dts: tegra20: Add video decoder node Date: Tue, 12 Dec 2017 03:26:10 +0300 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add Video Decoder Engine device node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 36909df653c3..864a95872b8d 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -16,6 +16,11 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0x40000000 0x40000>; + + vde_pool: vde { + reg = <0x400 0x3fc00>; + pool; + }; }; host1x@50000000 { @@ -258,6 +263,28 @@ */ }; + vde@6001a000 { + compatible = "nvidia,tegra20-vde"; + reg = <0x6001a000 0x1000 /* Syntax Engine */ + 0x6001b000 0x1000 /* Video Bitstream Engine */ + 0x6001c000 0x100 /* Macroblock Engine */ + 0x6001c200 0x100 /* Post-processing Engine */ + 0x6001c400 0x100 /* Motion Compensation Engine */ + 0x6001c600 0x100 /* Transform Engine */ + 0x6001c800 0x100 /* Pixel prediction block */ + 0x6001ca00 0x100 /* Video DMA */ + 0x6001d800 0x300>; /* Video frame controls */ + reg-names = "sxe", "bsev", "mbe", "ppe", "mce", + "tfe", "ppb", "vdma", "frameid"; + iram = <&vde_pool>; /* IRAM region */ + interrupts = , /* Sync token interrupt */ + , /* BSE-V interrupt */ + ; /* SXE interrupt */ + interrupt-names = "sync-token", "bsev", "sxe"; + clocks = <&tegra_car TEGRA20_CLK_VDE>; + resets = <&tegra_car 61>; + }; + apbmisc@70000800 { compatible = "nvidia,tegra20-apbmisc"; reg = <0x70000800 0x64 /* Chip revision */