Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / media / ti-am437x-vpfe.txt
1 Texas Instruments AM437x CAMERA (VPFE)
2 --------------------------------------
3
4 The Video Processing Front End (VPFE) is a key component for image capture
5 applications. The capture module provides the system interface and the
6 processing capability to connect RAW image-sensor modules and video decoders
7 to the AM437x device.
8
9 Required properties:
10 - compatible: must be "ti,am437x-vpfe"
11 - reg: physical base address and length of the registers set for the device;
12 - interrupts: should contain IRQ line for the VPFE;
13 - ti,am437x-vpfe-interface: can be one of the following,
14         0 - Raw Bayer Interface.
15         1 - 8 Bit BT656 Interface.
16         2 - 10 Bit BT656 Interface.
17         3 - YCbCr 8 Bit Interface.
18         4 - YCbCr 16 Bit Interface.
19
20 VPFE supports a single port node with parallel bus. It should contain one
21 'port' child node with child 'endpoint' node. Please refer to the bindings
22 defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24 Example:
25         vpfe: vpfe@f0034000 {
26                 compatible = "ti,am437x-vpfe";
27                 reg = <0x48328000 0x2000>;
28                 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
29
30                 pinctrl-names = "default", "sleep";
31                 pinctrl-0 = <&vpfe_pins_default>;
32                 pinctrl-1 = <&vpfe_pins_sleep>;
33
34                 port {
35                         #address-cells = <1>;
36                         #size-cells = <0>;
37
38                         vpfe0_ep: endpoint {
39                                 remote-endpoint = <&ov2659_1>;
40                                 ti,am437x-vpfe-interface = <0>;
41                                 bus-width = <8>;
42                                 hsync-active = <0>;
43                                 vsync-active = <0>;
44                         };
45                 };
46         };
47
48         i2c1: i2c@4802a000 {
49
50                 ov2659@30 {
51                         compatible = "ti,ov2659";
52                         reg = <0x30>;
53
54                         port {
55                                 ov2659_1: endpoint {
56                                         remote-endpoint = <&vpfe0_ep>;
57                                         bus-width = <8>;
58                                         mclk-frequency = <12000000>;
59                                 };
60                         };
61         };