[media]: dt/bindings: Add bindings for OV7251

Add device tree binding documentation for the OV7251 sensor.

Change-Id: I39774f9018483f768d7dc18207d2f5b2d5a41eef
Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
This commit is contained in:
Leo Wen
2018-11-09 15:14:05 +08:00
committed by Tao Huang
parent dc191feaf3
commit 6b591ac2d2

View File

@@ -0,0 +1,42 @@
* Omnivision OV7251 MIPI CSI-2 sensor
Required Properties:
- compatible: should be "ovti,ov7251"
- 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:
i2c0@1c22000 {
...
...
ov7251: ov7251@60 {
compatible = "ovti,ov7251";
reg = <0x60>;
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "xvclk";
avdd-supply = <&vcc2v8_dvp>;
dovdd-supply = <&vcc1v8_dvp>;
dvdd-supply = <&vcc1v8_dvp>;
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1>;
};
};
};
...
};