summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukrut Bellary <sbellary@baylibre.com>2024-02-15 21:06:17 +0530
committerUdit Kumar <u-kumar1@ti.com>2024-02-15 21:37:14 +0530
commit1d2f40c03c3b1d45809a245d79913b28c613f297 (patch)
treeeddb393033be70c2b744a6dea983f2b64bf6b366
parentf1b76744c8d004c4aaf480953c5154c14a9cfc7b (diff)
dt-bindings: media: Document OmniVision OV1063x driver
Device Tree bindings for the OmniVision OV1063x sensor driver. Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
-rw-r--r--Documentation/devicetree/bindings/media/i2c/ovti,ov1063x.yaml103
-rw-r--r--MAINTAINERS8
2 files changed, 111 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov1063x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov1063x.yaml
new file mode 100644
index 000000000000..877742a6f408
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov1063x.yaml
@@ -0,0 +1,103 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/ovti,ov1063x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OmniVision OV10633/OV1035 8/10 bit digital Camera Sensor
+
+maintainers:
+ - Benoit Parrot <bparrot@ti.com>
+ - Sukrut Bellary <sbellary@baylibre.com>
+ <x1125864@ti.com>
+
+description: |-
+ The OmniVision OV1063x is a 720p(HD) camera sensor which supports resolutions
+ up to 1280x800(WXGA) and 8/10-bit YUV output formats.
+
+ Each camera nodes should contain a 'port' child node with child
+ 'endpoint' node. Please refer to the bindings defined in
+ Documentation/devicetree/bindings/media/video-interfaces.yaml.
+
+properties:
+ compatible:
+ enum:
+ - ovti,ov10633
+ - ovti,ov10635
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: xvclk
+
+ reset-gpios:
+ maxItems: 1
+ description:
+ phandle to the GPIO connected to the RESETB pin, if any.
+
+ powerdown-gpios:
+ maxItems: 1
+ description:
+ phandle for the GPIO connected to the PWDN pin, if any.
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ additionalProperties: false
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ hsync-active: true
+ vsync-active: true
+ pclk-sample: true
+ bus-width:
+ enum: [ 8, 10 ]
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ clock-frequency = <400000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@30 {
+ compatible = "ovti,ov10635";
+ reg = <0x30>;
+
+ clocks = <&fixed_clock>;
+ clock-names = "xvclk";
+
+ reset-gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
+ powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
+
+ port {
+ camera1: endpoint {
+ remote-endpoint = <&vin1a_ep>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ pclk-sample = <0>;
+ bus-width = <8>;
+ };
+ };
+ };
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index b42e46dc4cc5..c7f342b5e77e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15208,6 +15208,14 @@ S: Maintained
T: git git://linuxtv.org/media_tree.git
F: drivers/media/i2c/ov08d10.c
+OMNIVISION OV1063x SENSOR DRIVER
+M: Benoit Parrot <bparrot@ti.com>
+M: Sukrut Bellary <sbellary@baylibre.com>
+L: linux-media@vger.kernel.org
+S: Maintained
+T: git git://linuxtv.org/media_tree.git
+F: Documentation/devicetree/bindings/media/i2c/ov1063x.yaml
+
OMNIVISION OV13858 SENSOR DRIVER
M: Sakari Ailus <sakari.ailus@linux.intel.com>
L: linux-media@vger.kernel.org