samsung-s5c73m3.txt 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Samsung S5C73M3 8Mp camera ISP
  2. ------------------------------
  3. The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video
  4. data busses. The I2C bus is the main control bus and additionally the SPI bus
  5. is used, mostly for transferring the firmware to and from the device. Two
  6. slave device nodes corresponding to these control bus interfaces are required
  7. and should be placed under respective bus controller nodes.
  8. I2C slave device node
  9. ---------------------
  10. Required properties:
  11. - compatible : "samsung,s5c73m3";
  12. - reg : I2C slave address of the sensor;
  13. - vdd-int-supply : digital power supply (1.2V);
  14. - vdda-supply : analog power supply (1.2V);
  15. - vdd-reg-supply : regulator input power supply (2.8V);
  16. - vddio-host-supply : host I/O power supply (1.8V to 2.8V);
  17. - vddio-cis-supply : CIS I/O power supply (1.2V to 1.8V);
  18. - vdd-af-supply : lens power supply (2.8V);
  19. - xshutdown-gpios : specifier of GPIO connected to the XSHUTDOWN pin;
  20. - standby-gpios : specifier of GPIO connected to the STANDBY pin;
  21. - clocks : should contain list of phandle and clock specifier pairs
  22. according to common clock bindings for the clocks described
  23. in the clock-names property;
  24. - clock-names : should contain "cis_extclk" entry for the CIS_EXTCLK clock;
  25. Optional properties:
  26. - clock-frequency : the frequency at which the "cis_extclk" clock should be
  27. configured to operate, in Hz; if this property is not
  28. specified default 24 MHz value will be used.
  29. The common video interfaces bindings (see video-interfaces.txt) should be used
  30. to specify link from the S5C73M3 to an external image data receiver. The S5C73M3
  31. device node should contain one 'port' child node with an 'endpoint' subnode for
  32. this purpose. The data link from a raw image sensor to the S5C73M3 can be
  33. similarly specified, but it is optional since the S5C73M3 ISP and a raw image
  34. sensor are usually inseparable and form a hybrid module.
  35. Following properties are valid for the endpoint node(s):
  36. endpoint subnode
  37. ----------------
  38. - data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in
  39. video-interfaces.txt. This sensor doesn't support data lane remapping
  40. and physical lane indexes in subsequent elements of the array should
  41. be only consecutive ascending values.
  42. SPI device node
  43. ---------------
  44. Required properties:
  45. - compatible : "samsung,s5c73m3";
  46. For more details see description of the SPI busses bindings
  47. (../spi/spi-bus.txt) and bindings of a specific bus controller.
  48. Example:
  49. i2c@138A000000 {
  50. ...
  51. s5c73m3@3c {
  52. compatible = "samsung,s5c73m3";
  53. reg = <0x3c>;
  54. vdd-int-supply = <&buck9_reg>;
  55. vdda-supply = <&ldo17_reg>;
  56. vdd-reg-supply = <&cam_io_reg>;
  57. vddio-host-supply = <&ldo18_reg>;
  58. vddio-cis-supply = <&ldo9_reg>;
  59. vdd-af-supply = <&cam_af_reg>;
  60. clock-frequency = <24000000>;
  61. clocks = <&clk 0>;
  62. clock-names = "cis_extclk";
  63. reset-gpios = <&gpf1 3 1>;
  64. standby-gpios = <&gpm0 1 1>;
  65. port {
  66. s5c73m3_ep: endpoint {
  67. remote-endpoint = <&csis0_ep>;
  68. data-lanes = <1 2 3 4>;
  69. };
  70. };
  71. };
  72. };
  73. spi@1392000 {
  74. ...
  75. s5c73m3_spi: s5c73m3@0 {
  76. compatible = "samsung,s5c73m3";
  77. reg = <0>;
  78. ...
  79. };
  80. };