18c2ecf20Sopenharmony_ciSamsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP
28c2ecf20Sopenharmony_ci--------------------------------------------------------------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciRequired properties:
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci- compatible	  : "samsung,s5k5baf";
78c2ecf20Sopenharmony_ci- reg		  : I2C slave address of the sensor;
88c2ecf20Sopenharmony_ci- vdda-supply	  : analog power supply 2.8V (2.6V to 3.0V);
98c2ecf20Sopenharmony_ci- vddreg-supply	  : regulator input power supply 1.8V (1.7V to 1.9V)
108c2ecf20Sopenharmony_ci		    or 2.8V (2.6V to 3.0);
118c2ecf20Sopenharmony_ci- vddio-supply	  : I/O power supply 1.8V (1.65V to 1.95V)
128c2ecf20Sopenharmony_ci		    or 2.8V (2.5V to 3.1V);
138c2ecf20Sopenharmony_ci- stbyn-gpios	  : GPIO connected to STDBYN pin;
148c2ecf20Sopenharmony_ci- rstn-gpios	  : GPIO connected to RSTN pin;
158c2ecf20Sopenharmony_ci- clocks	  : list of phandle and clock specifier pairs
168c2ecf20Sopenharmony_ci		    according to common clock bindings for the
178c2ecf20Sopenharmony_ci		    clocks described in clock-names;
188c2ecf20Sopenharmony_ci- clock-names	  : should include "mclk" for the sensor's master clock;
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciOptional properties:
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci- clock-frequency : the frequency at which the "mclk" clock should be
238c2ecf20Sopenharmony_ci		    configured to operate, in Hz; if this property is not
248c2ecf20Sopenharmony_ci		    specified default 24 MHz value will be used.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciThe device node should contain one 'port' child node with one child 'endpoint'
278c2ecf20Sopenharmony_cinode, according to the bindings defined in Documentation/devicetree/bindings/
288c2ecf20Sopenharmony_cimedia/video-interfaces.txt. The following are properties specific to those
298c2ecf20Sopenharmony_cinodes.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciendpoint node
328c2ecf20Sopenharmony_ci-------------
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci- data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in
358c2ecf20Sopenharmony_ci	       video-interfaces.txt. If present it should be <1> - the device
368c2ecf20Sopenharmony_ci	       supports only one data lane without re-mapping.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciExample:
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_cis5k5bafx@2d {
418c2ecf20Sopenharmony_ci	compatible = "samsung,s5k5baf";
428c2ecf20Sopenharmony_ci	reg = <0x2d>;
438c2ecf20Sopenharmony_ci	vdda-supply = <&cam_io_en_reg>;
448c2ecf20Sopenharmony_ci	vddreg-supply = <&vt_core_15v_reg>;
458c2ecf20Sopenharmony_ci	vddio-supply = <&vtcam_reg>;
468c2ecf20Sopenharmony_ci	stbyn-gpios = <&gpl2 0 1>;
478c2ecf20Sopenharmony_ci	rstn-gpios = <&gpl2 1 1>;
488c2ecf20Sopenharmony_ci	clock-names = "mclk";
498c2ecf20Sopenharmony_ci	clocks = <&clock_cam 0>;
508c2ecf20Sopenharmony_ci	clock-frequency = <24000000>;
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	port {
538c2ecf20Sopenharmony_ci		s5k5bafx_ep: endpoint {
548c2ecf20Sopenharmony_ci			remote-endpoint = <&csis1_ep>;
558c2ecf20Sopenharmony_ci			data-lanes = <1>;
568c2ecf20Sopenharmony_ci		};
578c2ecf20Sopenharmony_ci	};
588c2ecf20Sopenharmony_ci};
59