nokia,smia.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. SMIA/SMIA++ sensor
  2. SMIA (Standard Mobile Imaging Architecture) is an image sensor standard
  3. defined jointly by Nokia and ST. SMIA++, defined by Nokia, is an extension
  4. of that. These definitions are valid for both types of sensors.
  5. More detailed documentation can be found in
  6. Documentation/devicetree/bindings/media/video-interfaces.txt .
  7. Mandatory properties
  8. --------------------
  9. - compatible: "nokia,smia"
  10. - reg: I2C address (0x10, or an alternative address)
  11. - vana-supply: Analogue voltage supply (VANA), typically 2,8 volts (sensor
  12. dependent).
  13. - clocks: External clock to the sensor
  14. - clock-frequency: Frequency of the external clock to the sensor
  15. - link-frequencies: List of allowed data link frequencies. An array of
  16. 64-bit elements.
  17. Optional properties
  18. -------------------
  19. - nokia,nvm-size: The size of the NVM, in bytes. If the size is not given,
  20. the NVM contents will not be read.
  21. - reset-gpios: XSHUTDOWN GPIO
  22. Endpoint node mandatory properties
  23. ----------------------------------
  24. - clock-lanes: <0>
  25. - data-lanes: <1..n>
  26. - remote-endpoint: A phandle to the bus receiver's endpoint node.
  27. Example
  28. -------
  29. &i2c2 {
  30. clock-frequency = <400000>;
  31. smiapp_1: camera@10 {
  32. compatible = "nokia,smia";
  33. reg = <0x10>;
  34. reset-gpios = <&gpio3 20 0>;
  35. vana-supply = <&vaux3>;
  36. clocks = <&omap3_isp 0>;
  37. clock-frequency = <9600000>;
  38. nokia,nvm-size = <512>; /* 8 * 64 */
  39. link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
  40. port {
  41. smiapp_1_1: endpoint {
  42. clock-lanes = <0>;
  43. data-lanes = <1 2>;
  44. remote-endpoint = <&csi2a_ep>;
  45. };
  46. };
  47. };
  48. };