~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/ovti,ov5675.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 # Copyright (c) 2022 Theobroma Systems Design und Consulting GmbH
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/media/i2c/ovti,ov5675.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Omnivision OV5675 CMOS Sensor
  9 
 10 maintainers:
 11   - Quentin Schulz <quentin.schulz@theobroma-systems.com>
 12 
 13 allOf:
 14   - $ref: /schemas/media/video-interface-devices.yaml#
 15 
 16 description: |
 17   The Omnivision OV5675 is a high performance, 1/5-inch, 5 megapixel, CMOS
 18   image sensor that delivers 2592x1944 at 30fps. It provides full-frame,
 19   sub-sampled, and windowed 10-bit MIPI images in various formats via the
 20   Serial Camera Control Bus (SCCB) interface.
 21 
 22   This chip is programmable through I2C and two-wire SCCB. The sensor output
 23   is available via CSI-2 serial data output (up to 2-lane).
 24 
 25 properties:
 26   compatible:
 27     const: ovti,ov5675
 28 
 29   reg:
 30     maxItems: 1
 31 
 32   clocks:
 33     description:
 34       System input clock (aka XVCLK). From 6 to 27 MHz.
 35     maxItems: 1
 36 
 37   dovdd-supply:
 38     description:
 39       Digital I/O voltage supply, 1.8 volts.
 40 
 41   avdd-supply:
 42     description:
 43       Analog voltage supply, 2.8 volts.
 44 
 45   dvdd-supply:
 46     description:
 47       Digital core voltage supply, 1.2 volts.
 48 
 49   reset-gpios:
 50     description:
 51       The phandle and specifier for the GPIO that controls sensor reset.
 52       This corresponds to the hardware pin XSHUTDN which is physically
 53       active low.
 54     maxItems: 1
 55 
 56   port:
 57     $ref: /schemas/graph.yaml#/$defs/port-base
 58     additionalProperties: false
 59 
 60     properties:
 61       endpoint:
 62         $ref: /schemas/media/video-interfaces.yaml#
 63         unevaluatedProperties: false
 64 
 65         properties:
 66           data-lanes:
 67             minItems: 1
 68             maxItems: 2
 69 
 70           # Supports max data transfer of 900 Mbps per lane
 71           link-frequencies: true
 72 
 73 required:
 74   - compatible
 75   - reg
 76   - clocks
 77   - dovdd-supply
 78   - avdd-supply
 79   - dvdd-supply
 80   - port
 81 
 82 unevaluatedProperties: false
 83 
 84 examples:
 85   - |
 86     #include <dt-bindings/clock/px30-cru.h>
 87     #include <dt-bindings/gpio/gpio.h>
 88     #include <dt-bindings/pinctrl/rockchip.h>
 89 
 90     i2c {
 91         #address-cells = <1>;
 92         #size-cells = <0>;
 93 
 94         ov5675: camera@36 {
 95             compatible = "ovti,ov5675";
 96             reg = <0x36>;
 97 
 98             reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
 99             pinctrl-names = "default";
100             pinctrl-0 = <&cif_clkout_m0>;
101 
102             clocks = <&cru SCLK_CIF_OUT>;
103             assigned-clocks = <&cru SCLK_CIF_OUT>;
104             assigned-clock-rates = <19200000>;
105 
106             avdd-supply = <&vcc_1v8>;
107             dvdd-supply = <&vcc_1v2>;
108             dovdd-supply = <&vcc_2v8>;
109 
110             rotation = <90>;
111             orientation = <0>;
112 
113             port {
114                 ucam_out: endpoint {
115                     remote-endpoint = <&mipi_in_ucam>;
116                     data-lanes = <1 2>;
117                     link-frequencies = /bits/ 64 <450000000>;
118                 };
119             };
120         };
121     };
122 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php