Back to home page

OSCL-LXR

 
 

    


0001 Samsung S5C73M3 8Mp camera ISP
0002 ------------------------------
0003 
0004 The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video
0005 data busses. The I2C bus is the main control bus and additionally the SPI bus
0006 is used, mostly for transferring the firmware to and from the device. Two
0007 slave device nodes corresponding to these control bus interfaces are required
0008 and should be placed under respective bus controller nodes.
0009 
0010 I2C slave device node
0011 ---------------------
0012 
0013 Required properties:
0014 
0015 - compatible        : "samsung,s5c73m3";
0016 - reg               : I2C slave address of the sensor;
0017 - vdd-int-supply    : digital power supply (1.2V);
0018 - vdda-supply       : analog power supply (1.2V);
0019 - vdd-reg-supply    : regulator input power supply (2.8V);
0020 - vddio-host-supply : host I/O power supply (1.8V to 2.8V);
0021 - vddio-cis-supply  : CIS I/O power supply (1.2V to 1.8V);
0022 - vdd-af-supply     : lens power supply (2.8V);
0023 - xshutdown-gpios   : specifier of GPIO connected to the XSHUTDOWN pin;
0024 - standby-gpios     : specifier of GPIO connected to the STANDBY pin;
0025 - clocks            : should contain list of phandle and clock specifier pairs
0026                       according to common clock bindings for the clocks described
0027                       in the clock-names property;
0028 - clock-names       : should contain "cis_extclk" entry for the CIS_EXTCLK clock;
0029 
0030 Optional properties:
0031 
0032 - clock-frequency   : the frequency at which the "cis_extclk" clock should be
0033                       configured to operate, in Hz; if this property is not
0034                       specified default 24 MHz value will be used.
0035 
0036 The common video interfaces bindings (see video-interfaces.txt) should be used
0037 to specify link from the S5C73M3 to an external image data receiver. The S5C73M3
0038 device node should contain one 'port' child node with an 'endpoint' subnode for
0039 this purpose. The data link from a raw image sensor to the S5C73M3 can be
0040 similarly specified, but it is optional since the S5C73M3 ISP and a raw image
0041 sensor are usually inseparable and form a hybrid module.
0042 
0043 Following properties are valid for the endpoint node(s):
0044 
0045 endpoint subnode
0046 ----------------
0047 
0048 - data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in
0049   video-interfaces.txt. This sensor doesn't support data lane remapping
0050   and physical lane indexes in subsequent elements of the array should
0051   be only consecutive ascending values.
0052 
0053 SPI device node
0054 ---------------
0055 
0056 Required properties:
0057 
0058 - compatible        : "samsung,s5c73m3";
0059 
0060 For more details see description of the SPI busses bindings
0061 (../spi/spi-bus.txt) and bindings of a specific bus controller.
0062 
0063 Example:
0064 
0065 i2c@138a000000 {
0066         ...
0067         s5c73m3@3c {
0068                 compatible = "samsung,s5c73m3";
0069                 reg = <0x3c>;
0070                 vdd-int-supply = <&buck9_reg>;
0071                 vdda-supply = <&ldo17_reg>;
0072                 vdd-reg-supply = <&cam_io_reg>;
0073                 vddio-host-supply = <&ldo18_reg>;
0074                 vddio-cis-supply = <&ldo9_reg>;
0075                 vdd-af-supply = <&cam_af_reg>;
0076                 clock-frequency = <24000000>;
0077                 clocks = <&clk 0>;
0078                 clock-names = "cis_extclk";
0079                 reset-gpios = <&gpf1 3 1>;
0080                 standby-gpios = <&gpm0 1 1>;
0081                 port {
0082                         s5c73m3_ep: endpoint {
0083                                 remote-endpoint = <&csis0_ep>;
0084                                 data-lanes = <1 2 3 4>;
0085                         };
0086                 };
0087         };
0088 };
0089 
0090 spi@1392000 {
0091         ...
0092         s5c73m3_spi: s5c73m3@0 {
0093                 compatible = "samsung,s5c73m3";
0094                 reg = <0>;
0095                 ...
0096         };
0097 };