mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
dt-bindings: Document add imx258
Change-Id: I486552192ef43213a673db495b9da2f7e444b16c Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
48
Documentation/devicetree/bindings/media/i2c/imx258.txt
Normal file
48
Documentation/devicetree/bindings/media/i2c/imx258.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
* Sony IMX258 MIPI sensor
|
||||
|
||||
Required Properties:
|
||||
- compatible: should be "sony,imx258"
|
||||
- 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.2 volts
|
||||
- reset-gpios: Low active reset gpio
|
||||
|
||||
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:
|
||||
//rk3399 evb board
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
imx258_eeprom: imx258_eeprom@0x50 {
|
||||
compatible = "sony,imx258_eeprom";
|
||||
status = "okay";
|
||||
reg = <0x50>;
|
||||
};
|
||||
imx258: imx258@10 {
|
||||
eeprom-ctrl = <&imx258_eeprom>;
|
||||
compatible = "sony,imx258";
|
||||
status = "okay";
|
||||
reg = <0x10>;
|
||||
clocks = <&cru SCLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
//reset pin control by hardware,used this pin switch to mipi input
|
||||
//1->mipi input, 0->hdmi in
|
||||
reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "rockchip,camera_default";
|
||||
pinctrl-0 = <&cif_clkout>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "RK-GZ-13M-1-v1";
|
||||
rockchip,camera-module-lens-name = "LG500627G";
|
||||
port {
|
||||
ucam_out0: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam0>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user