1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (c) 2019 MediaTek Inc.
5 $id: http://devicetree.org/schemas/media/i2c/ov8856.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Omnivision OV8856 CMOS Sensor Device Tree Bindings
11 - Dongchun Zhu <dongchun.zhu@mediatek.com>
14 The Omnivision OV8856 is a high performance, 1/4-inch, 8 megapixel, CMOS
15 image sensor that delivers 3264x2448 at 30fps. It provides full-frame,
16 sub-sampled, and windowed 10-bit MIPI images in various formats via the
17 Serial Camera Control Bus (SCCB) interface. This chip is programmable
18 through I2C and two-wire SCCB. The sensor output is available via CSI-2
19 serial data output (up to 4-lane).
33 Input clock for the sensor.
39 Frequency of the xvclk clock in Hertz.
43 Definition of the regulator used as interface power supply.
47 Definition of the regulator used as analog power supply.
51 Definition of the regulator used as digital power supply.
55 The phandle and specifier for the GPIO that controls sensor reset.
56 This corresponds to the hardware pin XSHUTDOWN which is physically
61 additionalProperties: false
63 A node containing an output port node with an endpoint definition
65 Documentation/devicetree/bindings/media/video-interfaces.txt
74 The driver only supports four-lane operation.
82 $ref: /schemas/types.yaml#/definitions/uint64-array
84 Allowed data bus frequencies. 360000000, 180000000 Hz or both
85 are supported by the driver.
106 additionalProperties: false
110 #include <dt-bindings/gpio/gpio.h>
113 #address-cells = <1>;
117 compatible = "ovti,ov8856";
120 reset-gpios = <&pio 111 GPIO_ACTIVE_LOW>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&clk_24m_cam>;
125 clock-names = "xvclk";
126 clock-frequency = <19200000>;
128 avdd-supply = <&mt6358_vcama2_reg>;
129 dvdd-supply = <&mt6358_vcamd_reg>;
130 dovdd-supply = <&mt6358_vcamio_reg>;
134 remote-endpoint = <&mipi_in_wcam>;
135 data-lanes = <1 2 3 4>;
136 link-frequencies = /bits/ 64 <360000000>;