aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/xlnx/xlnx,vpss-csc.txt
blob: cf80d185d4299a677dfb621e809941c453d93aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Xllinx VPSS Color Space Converter
-----------------------------------------
The Xilinx VPSS Color Space Converter is a Video IP that supports
color space conversion from RGB to YUV 444/422/420 and vice versa.

Required properties:

- compatible: Must be "xlnx,vpss-csc".

- reg: Physical base address and length of registers set for the device.

- xlnx,video-width: This property qualifies the video format with sample
  width expressed as a number of bits per pixel component. Supported video
  width values are 8/10/12/16.

-reset-gpios: GPIO specifier to assert/de-assert the reset line.

- clocks: phandle to IP clock.

- xlnx,max-width: Maximum number of pixels in a line.
  Valid range from 64 to 8192.

- xlnx,max-height: Maximum number of lines in a frame.
  Valid range from 64 to 4320.

Example:
	csc@a0040000 {
		compatible = "xlnx,vpss-csc";
		reg = <0x0 0xa0040000 0x0 0x10000>;
		reset-gpios = <&gpio 0x0 GPIO_ACTIVE_LOW>;
		xlnx,video-width = <8>;
		clocks = <&misc_clk_0>;
		xlnx,max-width = <3840>;
		xlnx,max-height = <2160>;
	}