Back to home page

OSCL-LXR

 
 

    


0001 Texas Instruments AM437x CAMERA (VPFE)
0002 --------------------------------------
0003 
0004 The Video Processing Front End (VPFE) is a key component for image capture
0005 applications. The capture module provides the system interface and the
0006 processing capability to connect RAW image-sensor modules and video decoders
0007 to the AM437x device.
0008 
0009 Required properties:
0010 - compatible: must be "ti,am437x-vpfe"
0011 - reg: physical base address and length of the registers set for the device;
0012 - interrupts: should contain IRQ line for the VPFE;
0013 - ti,am437x-vpfe-interface: can be one of the following,
0014         0 - Raw Bayer Interface.
0015         1 - 8 Bit BT656 Interface.
0016         2 - 10 Bit BT656 Interface.
0017         3 - YCbCr 8 Bit Interface.
0018         4 - YCbCr 16 Bit Interface.
0019 
0020 VPFE supports a single port node with parallel bus. It should contain one
0021 'port' child node with child 'endpoint' node. Please refer to the bindings
0022 defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
0023 
0024 Example:
0025         vpfe: vpfe@f0034000 {
0026                 compatible = "ti,am437x-vpfe";
0027                 reg = <0x48328000 0x2000>;
0028                 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
0029 
0030                 pinctrl-names = "default", "sleep";
0031                 pinctrl-0 = <&vpfe_pins_default>;
0032                 pinctrl-1 = <&vpfe_pins_sleep>;
0033 
0034                 port {
0035                         #address-cells = <1>;
0036                         #size-cells = <0>;
0037 
0038                         vpfe0_ep: endpoint {
0039                                 remote-endpoint = <&ov2659_1>;
0040                                 ti,am437x-vpfe-interface = <0>;
0041                                 bus-width = <8>;
0042                                 hsync-active = <0>;
0043                                 vsync-active = <0>;
0044                         };
0045                 };
0046         };
0047 
0048         i2c1: i2c@4802a000 {
0049 
0050                 ov2659@30 {
0051                         compatible = "ti,ov2659";
0052                         reg = <0x30>;
0053 
0054                         port {
0055                                 ov2659_1: endpoint {
0056                                         remote-endpoint = <&vpfe0_ep>;
0057                                         bus-width = <8>;
0058                                         mclk-frequency = <12000000>;
0059                                 };
0060                         };
0061         };