* Omnivision OV5640 1/4-Inch 5Mp SOC Camera sensor

The Omnivision OV5640 is a 1/4-Inch 5Mp SOC Camera sensor,
with an active array size of 2592 x 1944.
It is programmable through a SCCB.
The OV5640 sensor supports multiple output formats,
such as RAW RGB, CCIR656, YUV422/420 and YCbCr422.
It also Support DVP/MIPI CSI-2 output interfaces.

Required Properties:
- compatible: should be "ovti,ov5640"
- clocks: reference to the 24M xvclk input clock.
- clock-names: should be "xvclk".
- dovdd-supply: Digital I/O voltage supply, 1.8/2.8 volts
- avdd-supply: Analog voltage supply, 2.8 volts
- dvdd-supply: Digital core voltage supply, 1.5 volts(embedded 1.5V regulator)
- reset-gpios: Low active reset gpio
- powerdown-gpios: Low active powerdown 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:
&i2c2 {
	status = "okay";

	/* MIPI Interface */
	ov5640: ov5640@3c {
		status = "okay";
		compatible = "ovti,ov5640";
		reg = <0x3c>;
		clocks = <&cru SCLK_CIF_OUT>;
		clock-names = "xvclk";

		avdd-supply = <&vcc2v8_dvp>;
		dovdd-supply = <&vcc1v8_dvp>;
		//dvdd-supply = <&vdd1v5_dvp>;
		pinctrl-names = "rockchip,camera_default";
		pinctrl-0 = <&cif_clkout>;
		//reset-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
		pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
		power-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "CameraKing";
		rockchip,camera-module-lens-name = "CHT-842B-MD";
		port {
			ucam_out: endpoint {
				remote-endpoint = <&mipi_in_ucam>;
				data-lanes = <1 2>;
			};
		};
	};

	/* DVP Interface 10-bit parallel */
	ov5640: ov5640@3c {
		status = "okay";
		compatible = "ovti,ov5640";
		reg = <0x3c>;
		clocks = <&cru SCLK_VIP_OUT>;
		clock-names = "xvclk";

		avdd-supply = <&vcc2v8_dvp>;
		dovdd-supply = <&vcc1v8_dvp>;
		//dvdd-supply = <&vdd1v5_dvp>;
		pinctrl-names = "default";
		pinctrl-0 = <&isp_dvp_d2d9 &isp_dvp_d10d11 &cif_clkout>;
		pwdn-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
		power-gpio = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "CameraKing";
		rockchip,camera-module-lens-name = "Largan";
		port {
			ov5640_out: endpoint {
				remote-endpoint = <&dvp_in_bcam>;
			};
		};
	};
};
