File Index
Files and directories
Sign in
FILE

st,vd55g1.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2# Copyright (c) 2025 STMicroelectronics SA.
  3%YAML 1.2
  4---
  5$id: http://devicetree.org/schemas/media/i2c/st,vd55g1.yaml#
  6$schema: http://devicetree.org/meta-schemas/core.yaml#
  7
  8title: STMicroelectronics VD55G1 Global Shutter Image Sensor
  9
 10maintainers:
 11  - Benjamin Mugnier <benjamin.mugnier@foss.st.com>
 12  - Sylvain Petinot <sylvain.petinot@foss.st.com>
 13
 14description: |-
 15 The STMicroelectronics VD55G1 is a global shutter image sensor with an active
 16 array size of 804H x 704V. It is programmable through I2C interface. The I2C
 17 address is fixed to 0x10.
 18
 19 Image data is sent through MIPI CSI-2, which is configured as only 1 data
 20 lane. The sensor provides 4 GPIOS that can be used for external LED signal
 21 (synchronized with sensor integration periods).
 22
 23allOf:
 24  - $ref: /schemas/media/video-interface-devices.yaml#
 25
 26properties:
 27  compatible:
 28    enum:
 29      - st,vd55g1
 30      - st,vd65g4
 31    description:
 32      VD55G1 is the monochrome variant, while VD65G4 is the color one.
 33
 34  reg:
 35    maxItems: 1
 36
 37  clocks:
 38    maxItems: 1
 39
 40  vcore-supply:
 41    description: Digital core power supply (1.15V)
 42
 43  vddio-supply:
 44    description: Digital IO power supply (1.8V)
 45
 46  vana-supply:
 47    description: Analog power supply (2.8V)
 48
 49  reset-gpios:
 50    description: Sensor reset active low GPIO (XSHUTDOWN)
 51    maxItems: 1
 52
 53  st,leds:
 54    description:
 55      List sensor's GPIOs used to control strobe light sources during exposure
 56      time. The numbers identify the sensor pin on which the illumination
 57      system is connected. GPIOs are active-high.
 58    $ref: /schemas/types.yaml#/definitions/uint32-array
 59    minItems: 1
 60    maxItems: 4
 61    items:
 62      minimum: 0
 63      maximum: 3
 64
 65  port:
 66    $ref: /schemas/graph.yaml#/$defs/port-base
 67    additionalProperties: false
 68
 69    properties:
 70      endpoint:
 71        $ref: /schemas/media/video-interfaces.yaml#
 72        unevaluatedProperties: false
 73
 74        properties:
 75          data-lanes:
 76            items:
 77              - const: 1
 78
 79          link-frequencies:
 80            maxItems: 1
 81            items:
 82              minimum: 125000000
 83              maximum: 600000000
 84
 85          lane-polarities:
 86            minItems: 1
 87            maxItems: 2
 88
 89        required:
 90          - data-lanes
 91          - link-frequencies
 92
 93required:
 94  - compatible
 95  - reg
 96  - clocks
 97  - vcore-supply
 98  - vddio-supply
 99  - vana-supply
100  - reset-gpios
101  - port
102
103unevaluatedProperties: false
104
105examples:
106  - |
107    #include <dt-bindings/gpio/gpio.h>
108
109    i2c {
110        #address-cells = <1>;
111        #size-cells = <0>;
112
113        camera-sensor@10 {
114            compatible = "st,vd55g1";
115            reg = <0x10>;
116
117            clocks = <&camera_clk_12M>;
118
119            vcore-supply = <&camera_vcore_v1v15>;
120            vddio-supply = <&camera_vddio_v1v8>;
121            vana-supply = <&camera_vana_v2v8>;
122
123            reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
124            st,leds = <2>;
125
126            orientation = <2>;
127            rotation = <0>;
128
129            port {
130                endpoint {
131                    data-lanes = <1>;
132                    link-frequencies = /bits/ 64 <600000000>;
133                    remote-endpoint = <&csiphy0_ep>;
134                };
135            };
136        };
137    };
~/ Read-only file preview.