xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/samsung-s5k5baf.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSamsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP
2*4882a593Smuzhiyun--------------------------------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun- compatible	  : "samsung,s5k5baf";
7*4882a593Smuzhiyun- reg		  : I2C slave address of the sensor;
8*4882a593Smuzhiyun- vdda-supply	  : analog power supply 2.8V (2.6V to 3.0V);
9*4882a593Smuzhiyun- vddreg-supply	  : regulator input power supply 1.8V (1.7V to 1.9V)
10*4882a593Smuzhiyun		    or 2.8V (2.6V to 3.0);
11*4882a593Smuzhiyun- vddio-supply	  : I/O power supply 1.8V (1.65V to 1.95V)
12*4882a593Smuzhiyun		    or 2.8V (2.5V to 3.1V);
13*4882a593Smuzhiyun- stbyn-gpios	  : GPIO connected to STDBYN pin;
14*4882a593Smuzhiyun- rstn-gpios	  : GPIO connected to RSTN pin;
15*4882a593Smuzhiyun- clocks	  : list of phandle and clock specifier pairs
16*4882a593Smuzhiyun		    according to common clock bindings for the
17*4882a593Smuzhiyun		    clocks described in clock-names;
18*4882a593Smuzhiyun- clock-names	  : should include "mclk" for the sensor's master clock;
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional properties:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun- clock-frequency : the frequency at which the "mclk" clock should be
23*4882a593Smuzhiyun		    configured to operate, in Hz; if this property is not
24*4882a593Smuzhiyun		    specified default 24 MHz value will be used.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunThe device node should contain one 'port' child node with one child 'endpoint'
27*4882a593Smuzhiyunnode, according to the bindings defined in Documentation/devicetree/bindings/
28*4882a593Smuzhiyunmedia/video-interfaces.txt. The following are properties specific to those
29*4882a593Smuzhiyunnodes.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunendpoint node
32*4882a593Smuzhiyun-------------
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun- data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in
35*4882a593Smuzhiyun	       video-interfaces.txt. If present it should be <1> - the device
36*4882a593Smuzhiyun	       supports only one data lane without re-mapping.
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunExample:
39*4882a593Smuzhiyun
40*4882a593Smuzhiyuns5k5bafx@2d {
41*4882a593Smuzhiyun	compatible = "samsung,s5k5baf";
42*4882a593Smuzhiyun	reg = <0x2d>;
43*4882a593Smuzhiyun	vdda-supply = <&cam_io_en_reg>;
44*4882a593Smuzhiyun	vddreg-supply = <&vt_core_15v_reg>;
45*4882a593Smuzhiyun	vddio-supply = <&vtcam_reg>;
46*4882a593Smuzhiyun	stbyn-gpios = <&gpl2 0 1>;
47*4882a593Smuzhiyun	rstn-gpios = <&gpl2 1 1>;
48*4882a593Smuzhiyun	clock-names = "mclk";
49*4882a593Smuzhiyun	clocks = <&clock_cam 0>;
50*4882a593Smuzhiyun	clock-frequency = <24000000>;
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun	port {
53*4882a593Smuzhiyun		s5k5bafx_ep: endpoint {
54*4882a593Smuzhiyun			remote-endpoint = <&csis1_ep>;
55*4882a593Smuzhiyun			data-lanes = <1>;
56*4882a593Smuzhiyun		};
57*4882a593Smuzhiyun	};
58*4882a593Smuzhiyun};
59