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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.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) 2023-2024 Linaro Ltd.
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/media/i2c/ovti,og01a1b.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: OmniVision OG01A1B Image Sensor
  9 
 10 maintainers:
 11   - Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
 12 
 13 description:
 14   The OmniVision OG01A1B is black and white CMOS 1.3 Megapixel (1280x1024)
 15   image sensor controlled over an I2C-compatible SCCB bus.
 16   The sensor transmits images on a MIPI CSI-2 output interface with one or
 17   two data lanes.
 18 
 19 allOf:
 20   - $ref: /schemas/media/video-interface-devices.yaml#
 21 
 22 properties:
 23   compatible:
 24     const: ovti,og01a1b
 25 
 26   reg:
 27     maxItems: 1
 28 
 29   clocks:
 30     maxItems: 1
 31 
 32   reset-gpios:
 33     description: Active low GPIO connected to XSHUTDOWN pad of the sensor.
 34     maxItems: 1
 35 
 36   strobe-gpios:
 37     description: Input GPIO connected to strobe pad of the sensor.
 38     maxItems: 1
 39 
 40   avdd-supply:
 41     description: Analogue circuit voltage supply.
 42 
 43   dovdd-supply:
 44     description: I/O circuit voltage supply.
 45 
 46   dvdd-supply:
 47     description: Digital circuit voltage supply.
 48 
 49   port:
 50     $ref: /schemas/graph.yaml#/$defs/port-base
 51     additionalProperties: false
 52     description:
 53       Output port node, single endpoint describing the CSI-2 transmitter.
 54 
 55     properties:
 56       endpoint:
 57         $ref: /schemas/media/video-interfaces.yaml#
 58         unevaluatedProperties: false
 59 
 60         properties:
 61           data-lanes:
 62             minItems: 1
 63             maxItems: 2
 64             items:
 65               enum: [1, 2]
 66 
 67           link-frequencies: true
 68 
 69         required:
 70           - data-lanes
 71           - link-frequencies
 72 
 73 required:
 74   - compatible
 75   - reg
 76   - clocks
 77   - port
 78 
 79 unevaluatedProperties: false
 80 
 81 examples:
 82   - |
 83     #include <dt-bindings/gpio/gpio.h>
 84 
 85     i2c {
 86         #address-cells = <1>;
 87         #size-cells = <0>;
 88 
 89         sensor@60 {
 90             compatible = "ovti,og01a1b";
 91             reg = <0x60>;
 92             clocks = <&clk 0>;
 93             reset-gpios = <&gpio 117 GPIO_ACTIVE_LOW>;
 94             avdd-supply = <&vreg_3v3>;
 95             dovdd-supply = <&vreg_1p8>;
 96             dvdd-supply = <&vreg_1p2>;
 97 
 98             port {
 99                 og01a1b_ep: endpoint {
100                     remote-endpoint = <&csiphy_ep>;
101                     data-lanes = <1 2>;
102                     link-frequencies = /bits/ 64 <500000000>;
103                 };
104             };
105         };
106     };
107 ...

~ [ 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