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 const: st,vd55g1 29 30 reg: 31 maxItems: 1 32 33 clocks: 34 maxItems: 1 35 36 vcore-supply: 37 description: Digital core power supply (1.15V) 38 39 vddio-supply: 40 description: Digital IO power supply (1.8V) 41 42 vana-supply: 43 description: Analog power supply (2.8V) 44 45 reset-gpios: 46 description: Sensor reset active low GPIO (XSHUTDOWN) 47 maxItems: 1 48 49 st,leds: 50 description: 51 List sensor's GPIOs used to control strobe light sources during exposure 52 time. The numbers identify the sensor pin on which the illumination 53 system is connected. GPIOs are active-high. 54 $ref: /schemas/types.yaml#/definitions/uint32-array 55 minItems: 1 56 maxItems: 4 57 items: 58 minimum: 0 59 maximum: 3 60 61 port: 62 $ref: /schemas/graph.yaml#/$defs/port-base 63 additionalProperties: false 64 65 properties: 66 endpoint: 67 $ref: /schemas/media/video-interfaces.yaml# 68 unevaluatedProperties: false 69 70 properties: 71 data-lanes: 72 items: 73 - const: 1 74 75 link-frequencies: 76 maxItems: 1 77 items: 78 minimum: 125000000 79 maximum: 600000000 80 81 lane-polarities: 82 minItems: 1 83 maxItems: 2 84 85 required: 86 - data-lanes 87 - link-frequencies 88 89required: 90 - compatible 91 - reg 92 - clocks 93 - vcore-supply 94 - vddio-supply 95 - vana-supply 96 - reset-gpios 97 - port 98 99unevaluatedProperties: false 100 101examples: 102 - | 103 #include <dt-bindings/gpio/gpio.h> 104 105 i2c { 106 #address-cells = <1>; 107 #size-cells = <0>; 108 109 camera-sensor@10 { 110 compatible = "st,vd55g1"; 111 reg = <0x10>; 112 113 clocks = <&camera_clk_12M>; 114 115 vcore-supply = <&camera_vcore_v1v15>; 116 vddio-supply = <&camera_vddio_v1v8>; 117 vana-supply = <&camera_vana_v2v8>; 118 119 reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; 120 st,leds = <2>; 121 122 orientation = <2>; 123 rotation = <0>; 124 125 port { 126 endpoint { 127 data-lanes = <1>; 128 link-frequencies = /bits/ 64 <600000000>; 129 remote-endpoint = <&csiphy0_ep>; 130 }; 131 }; 132 }; 133 }; 134