mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
dt-bindings: media: i2c: Document add sc2239
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com> Change-Id: I7c9249305564a928fbd25d1f65f6b923097b9258
This commit is contained in:
committed by
Tao Huang
parent
6005841c43
commit
61866c3050
50
Documentation/devicetree/bindings/media/i2c/sc2239.txt
Normal file
50
Documentation/devicetree/bindings/media/i2c/sc2239.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
* Smartsens SC2239 MIPI sensor
|
||||
|
||||
Required Properties:
|
||||
- compatible: should be "smartsens,sc2239"
|
||||
- clocks: reference to the 24M xvclk input clock.
|
||||
- clock-names: should be "xvclk".
|
||||
- dovdd-supply: Digital I/O voltage supply, 1.8 volts
|
||||
- avdd-supply: Analog voltage supply, 2.8 volts
|
||||
- dvdd-supply: Digital core voltage supply, 1.5 volts
|
||||
- pwdn-gpios High active reset gpio
|
||||
- reset-gpios: High active reset gpio
|
||||
|
||||
Attention:
|
||||
SC2239 device address 0x30(7bit) or 0x32(7bit) is decided by SID pin;
|
||||
|
||||
The device node must contain one 'port' child node for its digital output
|
||||
video port, in accordance with the video interface bindings defined in
|
||||
Documentation/devicetree/bindings/media/video-interfaces.txt.
|
||||
|
||||
Example:
|
||||
//rv1126 evb13 board
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
sc2239: sc2239@30 { // or sc2239: sc2239@32
|
||||
compatible = "smartsens,sc2239";
|
||||
reg = <0x30>;
|
||||
clocks = <&cru CLK_MIPICSI_OUT>;
|
||||
clock-names = "xvclk";
|
||||
power-domains = <&power RV1126_PD_VI>;
|
||||
pinctrl-names = "rockchip,camera_default";
|
||||
pinctrl-0 = <&mipicsi_clk0>;
|
||||
avdd-supply = <&vcc_avdd>;
|
||||
dovdd-supply = <&vcc_dovdd>;
|
||||
dvdd-supply = <&vcc_dvdd>;
|
||||
pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "front";
|
||||
rockchip,camera-module-name = "CMK-OT1607-FV1";
|
||||
rockchip,camera-module-lens-name = "M12-40IRC-4MP-F16";
|
||||
/* NO_HDR:0 HDR_X2:5 HDR_X3:6 */
|
||||
rockchip,camera-hdr-mode = <5>;
|
||||
port {
|
||||
sc2239_out: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam>;
|
||||
data-lanes = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user