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