samsung-mipi-csis.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Samsung S5P/EXYNOS SoC series MIPI CSI-2 receiver (MIPI CSIS)
  2. -------------------------------------------------------------
  3. Required properties:
  4. - compatible : "samsung,s5pv210-csis" for S5PV210 (S5PC110),
  5. "samsung,exynos4210-csis" for Exynos4210 (S5PC210),
  6. "samsung,exynos4212-csis" for Exynos4212/Exynos4412,
  7. "samsung,exynos5250-csis" for Exynos5250;
  8. - reg : offset and length of the register set for the device;
  9. - interrupts : should contain MIPI CSIS interrupt; the format of the
  10. interrupt specifier depends on the interrupt controller;
  11. - bus-width : maximum number of data lanes supported (SoC specific);
  12. - vddio-supply : MIPI CSIS I/O and PLL voltage supply (e.g. 1.8V);
  13. - vddcore-supply : MIPI CSIS Core voltage supply (e.g. 1.1V);
  14. - clocks : list of clock specifiers, corresponding to entries in
  15. clock-names property;
  16. - clock-names : must contain "csis", "sclk_csis" entries, matching entries
  17. in the clocks property.
  18. Optional properties:
  19. - clock-frequency : The IP's main (system bus) clock frequency in Hz, default
  20. value when this property is not specified is 166 MHz;
  21. - samsung,csis-wclk : CSI-2 wrapper clock selection. If this property is present
  22. external clock from CMU will be used, or the bus clock if
  23. if it's not specified.
  24. The device node should contain one 'port' child node with one child 'endpoint'
  25. node, according to the bindings defined in Documentation/devicetree/bindings/
  26. media/video-interfaces.txt. The following are properties specific to those nodes.
  27. port node
  28. ---------
  29. - reg : (required) must be 3 for camera C input (CSIS0) or 4 for
  30. camera D input (CSIS1);
  31. endpoint node
  32. -------------
  33. - data-lanes : (required) an array specifying active physical MIPI-CSI2
  34. data input lanes and their mapping to logical lanes; the
  35. array's content is unused, only its length is meaningful;
  36. - samsung,csis-hs-settle : (optional) differential receiver (HS-RX) settle time;
  37. Example:
  38. reg0: regulator@0 {
  39. };
  40. reg1: regulator@1 {
  41. };
  42. /* SoC properties */
  43. csis_0: csis@11880000 {
  44. compatible = "samsung,exynos4210-csis";
  45. reg = <0x11880000 0x1000>;
  46. interrupts = <0 78 0>;
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. };
  50. /* Board properties */
  51. csis_0: csis@11880000 {
  52. clock-frequency = <166000000>;
  53. vddio-supply = <&reg0>;
  54. vddcore-supply = <&reg1>;
  55. port {
  56. reg = <3>; /* 3 - CSIS0, 4 - CSIS1 */
  57. csis0_ep: endpoint {
  58. remote-endpoint = <...>;
  59. data-lanes = <1>, <2>;
  60. samsung,csis-hs-settle = <12>;
  61. };
  62. };
  63. };