Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6785203imm; Tue, 28 Aug 2018 00:36:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdagwOKlQN4z221BTZkPNvh9YnFO5Av2kAt//z+syEauzcUpqQOmKzkmx2XudO4z6KMQ9IKi X-Received: by 2002:a17:902:25ab:: with SMTP id y40-v6mr374486pla.120.1535441802305; Tue, 28 Aug 2018 00:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535441802; cv=none; d=google.com; s=arc-20160816; b=OqYcmoYnS1l56SHC42epaTpzLRH+XMTQhNKRPSSH1v4gmhcFugyUC1MuelKS2uWOOk dSC1TPFpjcrVAiUY+43t0mJ3ZhALrjsJRGdmOUsSth81DpkbJwRNNQEv/2x/IR5sRtPg k5y2UfdogjnVUex0bYL0/+AomSilWuzq5rqDLJrCsHX9UYmqWiYqPGbCYwVye6G3fnR/ 3+6onv8BlGMnpg6/ASxqG7cBbP5OEpDU++RJZ691Q/4d9ZiGbJOgyd8XBU+4uzH6Irfi 0IJ7M44+KEoi7mEeNf2T9LZz9dXCNSTjf03Dlf9qhu4rcly298Yp3I8tWRaUPxpySjGa UFnQ== 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:arc-authentication-results; bh=oohSQICjHRK49CkPZYKsi3cSaVJhuOsLVAA3/k4QH08=; b=t4MAD4lo/VB28aFOQAhMI2RW5Yhd/KsZgxT2D6NTmNDpWF00l4sYQrc2JfIJF+bc40 TdGVAhlYn74vDZmSyM8tA2HIWSrwCa1ol7vWtNtYTo0lJ0VwYg4IsBp7UPSmmM/vRVbN Psyl47rHv4cxJwsin3mNnhiFCYiPf74BpDRztMyC7Cst+SoXKv6UcatdOn3DYjcAmx3V 7DkbFwsLBKf0GriKkI/foa0iUOnjIzZrncXKqeKQR0exffYlM1mii0NxwvcPJofd7suN 6rKq/aDMvmoDbnduIFe8ecvOZOGuvImBO0tOIEIW4c6edNlqjF2TJMYANSUldpStNIVA MpcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11-v6si277429pfc.253.2018.08.28.00.36.26; Tue, 28 Aug 2018 00:36:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727443AbeH1LZb (ORCPT + 99 others); Tue, 28 Aug 2018 07:25:31 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33618 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727145AbeH1LZa (ORCPT ); Tue, 28 Aug 2018 07:25:30 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 4BA7122A3A; Tue, 28 Aug 2018 09:35:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (AAubervilliers-681-1-53-19.w90-88.abo.wanadoo.fr [90.88.170.19]) by mail.bootlin.com (Postfix) with ESMTPSA id 3100822A4A; Tue, 28 Aug 2018 09:35:03 +0200 (CEST) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Greg Kroah-Hartman , Paul Kocialkowski , Thomas Petazzoni , Randy Li , Hans Verkuil , Ezequiel Garcia , Tomasz Figa , Alexandre Courbot , Philipp Zabel , Laurent Pinchart , Sakari Ailus , linux-sunxi@googlegroups.com Subject: [PATCH v8 8/8] ARM: dts: sun8i-h3: Add Video Engine and reserved memory nodes Date: Tue, 28 Aug 2018 09:34:24 +0200 Message-Id: <20180828073424.30247-9-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180828073424.30247-1-paul.kocialkowski@bootlin.com> References: <20180828073424.30247-1-paul.kocialkowski@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds nodes for the Video Engine and the associated reserved memory for the H3. Up to 96 MiB of memory are dedicated to the CMA pool. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index c93f6be40533..c1375e72bb12 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -110,6 +110,20 @@ ; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + cma_pool: cma@4a000000 { + compatible = "shared-dma-pool"; + size = <0x6000000>; + alloc-ranges = <0x4a000000 0x6000000>; + reusable; + linux,cma-default; + }; + }; + soc { system-control@1c00000 { compatible = "allwinner,sun8i-h3-system-control", @@ -134,6 +148,17 @@ }; }; + video-codec@01c0e000 { + compatible = "allwinner,sun8i-h3-video-engine"; + reg = <0x01c0e000 0x1000>; + clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, + <&ccu CLK_DRAM_VE>; + clock-names = "ahb", "mod", "ram"; + resets = <&ccu RST_BUS_VE>; + interrupts = ; + allwinner,sram = <&ve_sram 1>; + }; + mali: gpu@1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>; -- 2.18.0