ti-cal.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL)
  2. ------------------------------------------------------
  3. The Camera Adaptation Layer (CAL) is a key component for image capture
  4. applications. The capture module provides the system interface and the
  5. processing capability to connect CSI2 image-sensor modules to the
  6. DRA72x device.
  7. Required properties:
  8. - compatible: must be "ti,dra72-cal"
  9. - reg: CAL Top level, Receiver Core #0, Receiver Core #1 and Camera RX
  10. control address space
  11. - reg-names: cal_top, cal_rx_core0, cal_rx_core1, and camerrx_control
  12. registers
  13. - interrupts: should contain IRQ line for the CAL;
  14. CAL supports 2 camera port nodes on MIPI bus. Each CSI2 camera port nodes
  15. should contain a 'port' child node with child 'endpoint' node. Please
  16. refer to the bindings defined in
  17. Documentation/devicetree/bindings/media/video-interfaces.txt.
  18. Example:
  19. cal: cal@4845b000 {
  20. compatible = "ti,dra72-cal";
  21. ti,hwmods = "cal";
  22. reg = <0x4845B000 0x400>,
  23. <0x4845B800 0x40>,
  24. <0x4845B900 0x40>,
  25. <0x4A002e94 0x4>;
  26. reg-names = "cal_top",
  27. "cal_rx_core0",
  28. "cal_rx_core1",
  29. "camerrx_control";
  30. interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. ports {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. csi2_0: port@0 {
  37. reg = <0>;
  38. endpoint {
  39. slave-mode;
  40. remote-endpoint = <&ar0330_1>;
  41. };
  42. };
  43. csi2_1: port@1 {
  44. reg = <1>;
  45. };
  46. };
  47. };
  48. i2c5: i2c@4807c000 {
  49. ar0330@10 {
  50. compatible = "ti,ar0330";
  51. reg = <0x10>;
  52. port {
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. ar0330_1: endpoint {
  56. reg = <0>;
  57. clock-lanes = <1>;
  58. data-lanes = <0 2 3 4>;
  59. remote-endpoint = <&csi2_0>;
  60. };
  61. };
  62. };
  63. };