mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
dt-bindings: Document add gc8034
Change-Id: Ie602b8317cf98bb26031daa3c4c369d3546682f7 Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
45
Documentation/devicetree/bindings/media/i2c/gc8034.txt
Normal file
45
Documentation/devicetree/bindings/media/i2c/gc8034.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
* GalaxyCore GC8034 MIPI sensor
|
||||
|
||||
Required Properties:
|
||||
- compatible: should be "galaxycore,gc8034"
|
||||
- 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";
|
||||
gc8034: gc8034@37 {
|
||||
compatible = "galaxycore,gc8034";
|
||||
status = "okay";
|
||||
reg = <0x37>;
|
||||
clocks = <&cru SCLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
|
||||
//conflict with csi-ctl-gpios
|
||||
//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>;
|
||||
pwdn-gpios = <&gpio1 4 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-CMK-8M-2-v1";
|
||||
rockchip,camera-module-lens-name = "CK8401";
|
||||
port {
|
||||
ucam_out0: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam0>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user