ti-am437x-vpfe.txt 1.6 KB

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