Back to home page

OSCL-LXR

 
 

    


0001 Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP
0002 --------------------------------------------------------------------
0003 
0004 Required properties:
0005 
0006 - compatible      : "samsung,s5k5baf";
0007 - reg             : I2C slave address of the sensor;
0008 - vdda-supply     : analog power supply 2.8V (2.6V to 3.0V);
0009 - vddreg-supply   : regulator input power supply 1.8V (1.7V to 1.9V)
0010                     or 2.8V (2.6V to 3.0);
0011 - vddio-supply    : I/O power supply 1.8V (1.65V to 1.95V)
0012                     or 2.8V (2.5V to 3.1V);
0013 - stbyn-gpios     : GPIO connected to STDBYN pin;
0014 - rstn-gpios      : GPIO connected to RSTN pin;
0015 - clocks          : list of phandle and clock specifier pairs
0016                     according to common clock bindings for the
0017                     clocks described in clock-names;
0018 - clock-names     : should include "mclk" for the sensor's master clock;
0019 
0020 Optional properties:
0021 
0022 - clock-frequency : the frequency at which the "mclk" clock should be
0023                     configured to operate, in Hz; if this property is not
0024                     specified default 24 MHz value will be used.
0025 
0026 The device node should contain one 'port' child node with one child 'endpoint'
0027 node, according to the bindings defined in Documentation/devicetree/bindings/
0028 media/video-interfaces.txt. The following are properties specific to those
0029 nodes.
0030 
0031 endpoint node
0032 -------------
0033 
0034 - data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in
0035                video-interfaces.txt. If present it should be <1> - the device
0036                supports only one data lane without re-mapping.
0037 
0038 Example:
0039 
0040 s5k5bafx@2d {
0041         compatible = "samsung,s5k5baf";
0042         reg = <0x2d>;
0043         vdda-supply = <&cam_io_en_reg>;
0044         vddreg-supply = <&vt_core_15v_reg>;
0045         vddio-supply = <&vtcam_reg>;
0046         stbyn-gpios = <&gpl2 0 1>;
0047         rstn-gpios = <&gpl2 1 1>;
0048         clock-names = "mclk";
0049         clocks = <&clock_cam 0>;
0050         clock-frequency = <24000000>;
0051 
0052         port {
0053                 s5k5bafx_ep: endpoint {
0054                         remote-endpoint = <&csis1_ep>;
0055                         data-lanes = <1>;
0056                 };
0057         };
0058 };