Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689301

Re: [PATCHv3 1/3] dt-bindings: display: Intel FPGA VIP drm driver Devicetree bindings

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCHv3 1/3] dt-bindings: display: Intel FPGA VIP drm driver Devicetree bindings
Date Mon, 17 Jul 2017 19:50:01 +0200
Message-ID <u4ijD-85t-1@gated-at.bofh.it> (permalink)
References <u2Bqp-7wz-3@gated-at.bofh.it> <u2Bqp-7wz-1@gated-at.bofh.it>
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=SMnSXS4EFh4m97rGYlj9+ySo5nQIBGE+mSNBUmwMF64=; b=ab5h+ImzxOxZ2IACW1cun6FtIwWLkodD1QvSakw+WLGsXYuIeWEByomUPN4ZdKWVKU JazI8+AlhnjD9mI4fYifBLLJYaIwRmcdQGL7YlhPWGUsC4ba9/Dm0aYSdD/p0vcDZ8wb wK59YOU/NhdVFmWsaVNLLHq0XbNjIosE3PlSKZ2JzFIh5bMFtcr2Gn6nTCIm/j6bnZbW /tq9N9kbie3yIgCGMCVXegeP2ZkjMU8ZYZaNApcWJD3yLiZeqbcF8+GN+gMuDb0I8/QU SpYRadOdUbT2k02ayLnk5dbmcmyR+1/L/tLDEDTprGN3Hiw7uf9Q2hRRPDGdZ/L93LED 81Hw==
X-Gm-Message-State AIVw113SbaW37vw0/jXDfAr0JbxDerkw+BFymdOJCdodCmHUB5PXdoOB iAoewAT/DSivCf+eEcA=
X-Received by 10.99.163.26 with SMTP id s26mr30439261pge.232.1500313493677; Mon, 17 Jul 2017 10:44:53 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 77
Organization linux.* mail to news gateway
X-Original-Cc Dinh Nguyen <dinguyen@kernel.org>, Daniel Vetter <daniel.vetter@intel.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ong@rob-hp-laptop
X-Original-Date Mon, 17 Jul 2017 12:44:51 -0500
X-Original-Message-ID <20170717174451.ka5bhdobc67ktisu@rob-hp-laptop>
X-Original-References <1499910047-25936-1-git-send-email-hean.loong.ong@intel.com> <1499910047-25936-2-git-send-email-hean.loong.ong@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1689301

Show key headers only | View raw


On Thu, Jul 13, 2017 at 09:40:45AM +0800, hean.loong.ong@intel.com wrote:
> From: "Ong, Hean Loong" <hean.loong.ong@intel.com>
> 
> 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.
> 
> Signed-off-by: Ong, Hean Loong <hean.loong.ong@intel.com>
> ---
>  .../devicetree/bindings/display/altr,vip-fb2.txt   | 41 ++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>  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..ce249fd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/altr,vip-fb2.txt
> @@ -0,0 +1,41 @@
> +Intel Video and Image Processing(VIP) Frame Buffer II bindings
> +
> +Supported hardware: Arria 10 and above with display port IP
> +
> +The hardware associated with this device tree is a SoC FPGA. Where there is an ARM controller
> +and a FPGA device. The ARM controller would host the Linux OS while the FPGA device runs on its
> +individual IP firmware. In the Intel VIP Frame Buffer II the ARM controller would be 
> +driving data from the Linux OS to the FPGA device programmed with the Frame Buffer II IP
> +to render pixels to be streamed to the Display Port connector.
> +
> +The DRM driver for the Arria 10 devkit would require the display resolution

Bindings are for h/w, not drivers and DRM is a Linuxism.

> +and pixel information to be included as these values are generated based
> +on the FPGA design that drives the video connector attached to the DRM driver.
> +
> +The Frame Buffer II device is a simple frame buffer device. The device contains the display
> +properties and the bridge or connector register. The output for this device currently 
> +is a dedicated to a single Display Port.
> +
> +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  							 
> +
> +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 width of the framebuffer in pixels.
> +- altr,max-height: The height of the framebuffer in pixels.
> +- altr,bits-per-symbol: only "8" is currently supported

If only 8 is supported, then you don't need this property. You can 
always add it later.

> +- altr,mem-port-width = the bus width of the avalon master port on the frame reader
> +
> +Example:
> +----------------------------
> +	dp_0_frame_buf: vip@100000280 {

display-controller@...

> +			compatible = "altr,vip-frame-buffer-2.0";
> +			reg = <0x00000001 0x00000280 0x00000040>;
> +			altr,max-width = <1280>;
> +			altr,max-height = <720>;
> +			altr,bits-per-symbol = <8>;
> +			altr,mem-port-width = <128>;
> +	};
> -- 
> 2.7.4
> 

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCHv3 1/3] dt-bindings: display: Intel FPGA VIP drm driver Devicetree bindings hean.loong.ong@intel.com - 2017-07-13 03:50 +0200
  Re: [PATCHv3 1/3] dt-bindings: display: Intel FPGA VIP drm driver  Devicetree bindings Rob Herring <robh@kernel.org> - 2017-07-17 19:50 +0200

csiph-web