Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.70.43.102 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793701977; b=Gnigbyat8Hl6xrwRnG981rtAEmkh8ISda9nW4vdFcv6qD8mJ8IbxM6KV3Ts4iAncEpLq RFQ1pX0wjLI9KmovqjMEf/u5uUDbB6si/UHmNhVSi1oFv9zUkD73wEptBKJF+291j+VXr bGZ3/nM7oMSWhmlDXOuPyCfHTUO+6k4OB1F9PP4idQpclSSGkiZlj++CMAjR5z3u3WclY hnzjqJTqPi+BiMDEuYEbPdI78eJNzwOTRlhM1enrspBPXgAQgw67y0udiK8VyqdVfmAOd s8ZgTpFE2nsmKc7lAtLWxUzxqVURZlAYz66ZWwqVg2HU1LG+4rfSr/GZjAX7Tkqj1cg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793701977; h=DMARC-Filter:DKIM-Signature:Date:To:From:Cc:Subject:Message-ID: In-Reply-To:References:Feedback-ID:X-Pm-Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=x+3g/2mTyBRtfyMD++fMo+Sl/wDkNbI3U1BEdaNY8aw=; b=geqafFP5AuRLFm7qZQ4p2PwghbSHhv6pnkiPSOc95FcQZyT3Psec+4dylfcLw/xP4J/2 W1kFfEHaXCDTI8KNBPponiieU2rA/p7MXa/iPHrOfftPi9Po3Fw0fG7bOhRiJItcwN3rp 4PNXyI5TXhpXWKT1q9JhdVStD5EmWdlWH8J93PY7lgClajCj/EsOqMM2nXl1g0+i/EAws KH2hzdk3NLS6jc/kSLiwVYrKFVOqKeAD3OrUfr5MF2qDmK1WCHcAevIfhrYc5fHEW7MhG kf86rJ8qvLhE6YNmuHyJALtx9Oi3/gkUprYcY4bYKb1d161OHVarI0Resq1WCerZ3Kw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass header.d=pm.me header.i=@pm.me header.a=rsa-sha256 header.s=protonmail3 header.b=INbhnWRK; arc=none smtp.remote-ip=185.70.43.102 Received: from mail-43102.protonmail.ch (mail-43102.protonmail.ch [185.70.43.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C628F606D811 for ; Tue, 3 Nov 2026 10:32:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C628F606D811 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=pm.me header.i=@pm.me header.a=rsa-sha256 header.s=protonmail3 header.b=INbhnWRK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1793701974; x=1793961174; bh=x+3g/2mTyBRtfyMD++fMo+Sl/wDkNbI3U1BEdaNY8aw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=INbhnWRKGaTANqlclc4yMocKNvXRaTrblCW0SFw32HUjPzVim1Y564ubR8zNLoog/ B40HaSo5HWvYD1Y3suTS5LhUR+KQBsHR7xJSniUmao9I2D4x06YcWdt2oqHYvUVZaD W5yXTQ0/HrgBcv2SB3426FggrMlvdwTGEvAQCdi9UVDnncwcQcs0vFiSQoe0JbO3MK X/u4ARQhjoGogpal2mKlumoJAyw5MZWPLyFuRp7t1UWbqvzwsYWWdfkHyF+UahRUBm oN1Po1ITNTHei2A3n3waYv34X2i0pPxCu2zhxiAjZzO+XUgNmKo0KQk/pMT7h7AlQZ JpWNpZVIUysSw== Date: Tue, 03 Nov 2026 10:32:51 +0000 To: Sakari Ailus , Benjamin Mugnier , Sylvain Petinot , Mauro Carvalho Chehab From: Sergey Lebedev Cc: Dan Scally , Hans de Goede , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Marshall , George Neacsu , Hao Yao , Fernando Rimoli , "D. Manresa" , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: media: i2c: st,vd55g1: Add ST VD55G0 Message-ID: <20261103103235.94397-2-lsa.uz@pm.me> In-Reply-To: <20261103103235.94397-1-lsa.uz@pm.me> References: <20261103103235.94397-1-lsa.uz@pm.me> Feedback-ID: 113843758:user:proton X-Pm-Message-ID: a299268a7b54c60b9b1496298ec22c4e134592fe X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The VD55G0 is a monochrome global shutter sensor with a 644x604 active array, sending over a single MIPI CSI-2 lane, with the same supplies, reset and strobe GPIOs as the VD55G1. Its MIPI rate runs from 750 to 1200 Mbps (UM2829, 13.1), so its link frequency starts at 375 MHz, and its I2C address is set in its NVM rather than fixed. allOf moves below required to carry the if/then for that minimum. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Sergey Lebedev --- v2: the VD55G0 joins this file instead of a st,vd55g0.yaml of its own, with allOf below required for the if/then, as Krzysztof pointed to. It is Peter Marshall's 01/11 and 02/11 of his vd55g1 v2 squashed, as Krzysztof asked there, with the VD55G0's description added: https://lore.kernel.org/all/20260918221705.323510-3-pm@petermarshall.ca/ .../bindings/media/i2c/st,vd55g1.yaml | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml b/D= ocumentation/devicetree/bindings/media/i2c/st,vd55g1.yaml index dfd87beba06..0245673d105 100644 --- a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml +++ b/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml @@ -16,21 +16,23 @@ description: |- array size of 804H x 704V. It is programmable through I2C interface. The = I2C address is fixed to 0x10. =20 + The VD55G0 is a monochrome global shutter image sensor with an active arr= ay + size of 644H x 604V, programmable through I2C at an address set in its NV= M. + Image data is sent through MIPI CSI-2, which is configured as only 1 data lane. The sensor provides 4 GPIOS that can be used for external LED signa= l (synchronized with sensor integration periods). =20 -allOf: - - $ref: /schemas/media/video-interface-devices.yaml# - properties: compatible: enum: + - st,vd55g0 - st,vd55g1 - st,vd55g4 - st,vd65g4 description: - VD55G1 and VD55G4 are monochrome variants, while VD65G4 is a color o= ne. + VD55G0, VD55G1 and VD55G4 are monochrome variants, while VD65G4 is a + color one. =20 reg: maxItems: 1 @@ -101,6 +103,23 @@ required: - reset-gpios - port =20 +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + - if: + properties: + compatible: + contains: + const: st,vd55g0 + then: + properties: + port: + properties: + endpoint: + properties: + link-frequencies: + items: + minimum: 375000000 + unevaluatedProperties: false =20 examples: --=20 2.54.0