Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4573341ooa; Tue, 14 Aug 2018 07:45:04 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxN1997XaDp6U1TYXwurIZkI8IKVj9uJFUqMDJqiBAI9BUtd8Ynw7hPVtRYUCNZcRCq+hhx X-Received: by 2002:a65:4541:: with SMTP id x1-v6mr21047739pgr.26.1534257904750; Tue, 14 Aug 2018 07:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534257904; cv=none; d=google.com; s=arc-20160816; b=eUNvrR8w05nR5eKO7gAodBHDtM52UokFbrEUxEU0vd/VVYZ0oyFxm9tIjfa4i+w0Yt 85LDASNqkFyPLyaIXZHP1HTfA9yVczqe+ThB7WKYQpppMs9IDgYVbDClV6z5Qhj8Ltug TTgCfGjM45rn28cJHKHi94Nao3uLLc1BzHZuVGWhxxga0uhvxSrW/rmXoDKoD8ENLfLM UuLfRE8yVb5HJMtOhDqq8tQOGyc5e82W0nr8IN8EjvXnqy5ohMY3XJADerJuMvy+aL8t gdO2pLb4fU5LQIV0NmTgBwzdAsYsLwRi7IyoyLbn62FSdRBk3e/ieliv4e2YbuoKhPrj iUlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=i6q+7ErmA1RIg7okzoZIQrzDNyL1DGTcQm2HhZ2X9/8=; b=mOJ/Ukk5UZAarZj6T1ZAV3HomjjQxQtNJkSBl8/VSQMhxYdiUdETEtBH6dtH22uBdP nXqi/muo8GpaxsmG8Xgb5VzJoaizueyCQYHyGjav0KTWK4LNNUEbW4SRyiboaFqfhaCf NRjhLx/UGNRnPs8UT+P3VHvoI4fAM/FX+6RHm9RV6WIHoLuhGjew3HzZVo3rcY4WgwgI 2ymDAI/7OOwBNH6RKLw4WdCR88YyIZA594WguIiLq2MchD9bQ0gGJsHpTBDZgQxNY9Pg 9Vyu1TlE05vojdJQyv7ZzgWF9l1FTrwiHaFLN4E9ITJd6d0htIPrcWu52fPV7W2bXhBA 3SHA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w188-v6si22415110pfw.307.2018.08.14.07.44.49; Tue, 14 Aug 2018 07:45:04 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732779AbeHNRbL (ORCPT + 99 others); Tue, 14 Aug 2018 13:31:11 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:36064 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732049AbeHNRbK (ORCPT ); Tue, 14 Aug 2018 13:31:10 -0400 Received: by mail-io0-f195.google.com with SMTP id m4-v6so17387943iop.3; Tue, 14 Aug 2018 07:43:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=i6q+7ErmA1RIg7okzoZIQrzDNyL1DGTcQm2HhZ2X9/8=; b=J9yjAwuA5mOCa4DUZ/PPv8O/sItiSJK1/H2zctgaRHnLfPoqXNvGsgKBUxrbqLMptt uhwxQ8B2hLSFoXOya1xA5k1qUlGDxgLoENgDKvEKV+WnkBShKfawa8GLG1C/ZrbjgIe8 K2aJtoK6vcYJUfJ7EM6nSlMt42MwMjpLReIew8IDlnMTieGYEbIrd+SkmY9ZKvLPjjY4 R0yD4wCKsaqiU9YpcqEGXAMym9B/BVZ4FCU9JIFx6pcMpsYKVG7MXhfkFGAP+qSiPPuV aKDGwEEW7WUWFvzrjejZ76dmiJVrAG5rkim9v0H3Jee99zYgyBsOZdR+m2ojvlViw/GN J7mg== X-Gm-Message-State: AOUpUlEa6R0Vw2T8rRks/FgXw5mdSHT3o4zcCSk0cmt/YiMFysF0j9r9 gb2+T2ErwopZ8VPEAd52bg== X-Received: by 2002:a6b:3347:: with SMTP id z68-v6mr18055996ioz.231.1534257822047; Tue, 14 Aug 2018 07:43:42 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id v13-v6sm8165108ita.38.2018.08.14.07.43.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Aug 2018 07:43:41 -0700 (PDT) Date: Tue, 14 Aug 2018 08:43:40 -0600 From: Rob Herring To: "Hean-Loong, Ong" Cc: Dinh Nguyen , David Airlie , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, yves.vandervennet@intel.com, chin.liang.see@intel.com, Ong@rob-hp-laptop Subject: Re: [PATCH10 1/3] ARM:dt-bindings:display Intel FPGA Video and Image Processing Suite Message-ID: <20180814144340.GA29519@rob-hp-laptop> References: <1534237029-2648-1-git-send-email-hean.loong.ong@intel.com> <1534237029-2648-2-git-send-email-hean.loong.ong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534237029-2648-2-git-send-email-hean.loong.ong@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 14, 2018 at 04:57:07PM +0800, Hean-Loong, Ong wrote: > From: Ong, Hean Loong > > Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height, buts per pixel and memory port width. The device tree binding only supports the Intel > Arria10 devkit and its variants. Vendor name retained as altr. Again, wrap your lines. > > V8: > *Add port to Display port decoder > > V7: > *Fix OF graph for better description > *Add description for encoder > > V6: > *Description have not describe DT device in general > > V5: > *remove bindings for bits per symbol as it has only one value which is 8 > > V4: > *fix properties that does not describe the values > > V3: > *OF graph not in accordance to graph.txt > > V2: > *Remove Linux driver description > > V1: > *Missing vendor prefix > > Signed-off-by: Ong, Hean Loong > --- > .../devicetree/bindings/display/altr,vip-fb2.txt | 63 ++++++++++++++++++++ > 1 files changed, 63 insertions(+), 0 deletions(-) > create mode 100644 Documentation/devicetree/bindings/display/altr,vip-fb2.txt > > diff --git a/Documentation/devicetree/bindings/display/altr,vip-fb2.txt b/Documentation/devicetree/bindings/display/altr,vip-fb2.txt > new file mode 100644 > index 0000000..89a3b9e > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/altr,vip-fb2.txt > @@ -0,0 +1,63 @@ > +Intel Video and Image Processing(VIP) Frame Buffer II bindings > + > +Supported hardware: Intel FPGA SoC Arria10 and above with display port IP > + > +The Video Frame Buffer II in Video Image Processing (VIP) suite is an IP core > +that interfaces between system memory and Avalon-ST video ports. The IP core > +can be configured to support the memory reader (from memory to Avalon-ST) > +and/or memory writer (from Avalon-ST to memory) interfaces. > + > +More information the FPGA video IP component can be acquired from > +https://www.altera.com/content/dam/altera-www/global/en_US/pdfs\ > +/literature/ug/ug_vip.pdf > + > +DT-Bindings: > +============= > +Required properties: > +---------------------------- > +- compatible: "altr,vip-frame-buffer-2.0" > +- reg: Physical base address and length of the framebuffer controller's > + registers. > +- altr,max-width: The maximum width of the framebuffer in pixels. > +- altr,max-height: The maximum height of the framebuffer in pixels. > +- altr,mem-port-width = the bus width of the avalon master port > + on the frame reader > + > +Optional sub-nodes: > +- ports: The connection to the encoder > + > +Connections between the Frame Buffer II and other video IP cores in the system > +are modelled using the OF graph DT bindings. The Frame Buffer II node has up > +to two OF graph ports. When the memory writer interface is enabled, port 0 > +maps to the Avalon-ST Input (din) port. When the memory reader interface is > +enabled, port 1 maps to the Avalon-ST Output (dout) port. > + > +The encoder is built into the FPGA HW design and therefore would not > +be accessible from the DDR. > + > + Port 0 Port1 > +--------------------------------------------------------- > +ARRIA10 AVALON_ST (DIN) AVALON_ST (DOUT) > + > +Required Properties Example: > +---------------------------- > + > +framebuffer@100000280 { > + compatible = "altr,vip-frame-buffer-2.0"; > + reg = <0x00000001 0x00000280 0x00000040>; > + altr,max-width = <1280>; > + altr,max-height = <720>; > + altr,mem-port-width = <128>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@1 { > + reg = <1>; > + fb_output: endpoint { > + remote-endpoint = <&dp_encoder_input>; > + }; > + }; > + }; > +}; > -- > 1.7.1 >