Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3241380lqo; Tue, 21 May 2024 10:38:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVimaSpYbN/V5OMLknIOu47f/vIuD3v/5FPVvFCt3lAD3HZNiojsqe2kAAOfNujuUqhfOlXCgCPss0HvjQePUD62bf24QG5iEPuo2wGUw== X-Google-Smtp-Source: AGHT+IHtX7f2YB6Bvij8fGULnYePKa3Wmp7FDu3OR9dQBtyGZ/llGu1jOxcLjwvgF9ejWbcRryVX X-Received: by 2002:a05:6a21:1f1b:b0:1af:fd3e:bc85 with SMTP id adf61e73a8af0-1affd3ebf31mr24419687637.40.1716313085001; Tue, 21 May 2024 10:38:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716313084; cv=pass; d=google.com; s=arc-20160816; b=yWlNxIWaGwqVo9EbILVoQUnIzLsJuVkTi/p8kiM7rqtO6R9/nPAJcUYgEUmSy6QC5z UULOH4fuH7728IV5Ag4tutH6NYOPUGew0b0pX42RVLtZoOASoP1Xn4IFCDFzRs6k6pJP LWAOVRM3/DgIRA/WDjT/V1QFBRoGwU6kYBRZtuv/Gfeo28V6ki3qsaX2MFLNvJCYGmba +07JjdvOy2KGOuktk7/vMPM+NruCP7AthkZWxEanWlwVhHEWqGlaIg8AAow9f9Ysmqct PyvL01gJBQTeK6opr/r8/MzrccVkMrHN8AQ6Gc2/NeBFrTCZ8vDcsIPza0vqNsP06d6b t4uA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=oTBotdZlBu0CAtWz80+2Z0RURHjFMppRN4GP/Il7qqE=; fh=p03cgezhGKxc2Da/ZvK0p1oMCUZbd1P4HlDe87ZQOpU=; b=bQJWCh06zzGfvCrn8xSaCnRWe2Sl19+3S4yM2jwDM+F006ASb8P2e2RlYJt4cp+EHa bEwDBAwl6L4k5qnuM3xreffoBleioXO4IJCc33uDAbAcR27Sne5UONQju987mR+sVth+ Ax7MDNQuA5b10WxPkGmcrZhr2WpSWAIpftRuenRmUqEvSla9ICfFQ4AU/xDQAMRsUVWe o8KygHTInpJPYXk8Qbz/62KO1zzeiCpzJU203AGINtvoqBA3BYAWUkwXlTDt1mvNEgOs u42+3qt1EGuirrVf3drqHaitEqWGHS7Gc/Rg+4DpFsMlixXUEjYwL4o63679nFm3rp4d +eUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KKwXM+oy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-185277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-657b2e39188si11103470a12.56.2024.05.21.10.38.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 10:38:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KKwXM+oy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-185277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 988C628287E for ; Tue, 21 May 2024 17:38:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 417121487ED; Tue, 21 May 2024 17:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KKwXM+oy" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D13D74BF0 for ; Tue, 21 May 2024 17:37:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716313073; cv=none; b=b22oR05OO6cSU/97ub5EylSqn1OMLln+gxm4j3QcTQuZLF6VWl9aCEElS+CjCJqyLM4G5KbQsAbDOEujsf46e1qO81FxPafIxLRTDrxjBrSwrUh27esBqOPrEfbOxYstuI24qlF/kk4HyYXFYkevmIxYVmuhWq+V/L8IKH9chaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716313073; c=relaxed/simple; bh=9Z2IJRB5BE9yg+NKoqUCptIUQCXUW0WqDTrVapCxPAA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=adLxSdvEl8yEbpincDjNzq2mQNCdHAsdphm6vrc5ucVs36Fnhr0YSjqPage386mhOlMBk5E7EMqzmF5ukxwupx0N2Oc9+RPGQXKwnmqd0rVy3RjdffLR2r3rRO2KH19+G5zyKQ3KnHOpWoNtgUwjFiYdzwNucUWj9HzTRUbWhkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=KKwXM+oy; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42011507a57so35047385e9.1 for ; Tue, 21 May 2024 10:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716313070; x=1716917870; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=oTBotdZlBu0CAtWz80+2Z0RURHjFMppRN4GP/Il7qqE=; b=KKwXM+oyfD9W8oxPOEhzqUkpUmsJOYqLPHuWjKCGGnAYZnWrsZdLToWoJQ8TWS7yQ6 pnZiKJlISEulGZGBYBUVfuQkSIE7Ey0o33HcGEmOo/VSifAxyOXpDDaHB7w0rZznkz82 sln37ODKpoBILieGETfeee6gvlk/yEAoxZTbNnBHCjBpt77xaX4hAURMVin2vq/yYL1i h2D65yStdX3PjZ9vevITvBDA8QxMDby6LDqEsOofTfuIGL0k4O3vP083czVrBbZQIkc2 tA/kLyYj4V/wwTgbfwhN9eO9xVw5/zJm4WUWFZhSwIkQGppsox/2fAY6JksJZHB1crxH WKXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716313070; x=1716917870; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oTBotdZlBu0CAtWz80+2Z0RURHjFMppRN4GP/Il7qqE=; b=D90flsJEgeSXnFWwyBEDaM0PkMSPbh8LuecTGRE7oT70BVvW1z9NGpehFeWdUfTHjT S5Om9cygORIKAT4IsWZzGB1Z94lEknkM3xtxi0Rd7pwAbANo52HzTqjvrWdD07eAfoaO kS7WNoisQFdTN4rHIPpxWkApHaFXwkVHHc9Gi7HxrnNBiHfgFY+Xht+OC86Bc25kn8tH te1tATpz4SfGmAF641jdxFvA/KdmP07PzK72H9dSYLohNSNsf4dGmtTrnI5UZWy02PLO LJxPDdSuNHwDvZ42+MjrV9fwvZ6M9Onis1flkhVDN5OjpUHKxKgeSDraR6zM2LasPXp1 ehsQ== X-Forwarded-Encrypted: i=1; AJvYcCXehq/9DWBcdJuCJJzVkaKIpqjlAlH7zYrN0Nm5Fr0RBATpYv0Uxnr044A5vxbQ7S07aAeH2UAHxBhNdDpzV8zR79M34IOi9uKIILAb X-Gm-Message-State: AOJu0Yytqlmg5M/lPGunPzTLsKNAzr62i4KPCthK4ssWn2L2IhRsQjoP bCjx7GvMYU/DeDJ3VxevIAmrF5z8D4OeusRY50cymy59W39sSnEQAGZu9uB1aR4= X-Received: by 2002:a05:600c:1913:b0:420:141d:994f with SMTP id 5b1f17b1804b1-420141d9a56mr223114665e9.18.1716313069722; Tue, 21 May 2024 10:37:49 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccbe8f8asm471704455e9.10.2024.05.21.10.37.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 May 2024 10:37:49 -0700 (PDT) Message-ID: <2110ba34-658e-4d60-b524-2f5ead6c8d3e@linaro.org> Date: Tue, 21 May 2024 19:37:47 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] media: dt-bindings: Add ST VD56G3 camera sensor binding To: Sylvain Petinot , benjamin.mugnier@foss.st.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240521162950.6987-1-sylvain.petinot@foss.st.com> <20240521162950.6987-2-sylvain.petinot@foss.st.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUY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fPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240521162950.6987-2-sylvain.petinot@foss.st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/05/2024 18:29, Sylvain Petinot wrote: > Add devicetree bindings Documentation for ST VD56G3 & ST VD66GY camera > sensors. Update MAINTAINERS file. > A nit, subject: drop second/last, redundant "binding". The "dt-bindings" prefix is already stating that these are bindings. See also: https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 > Signed-off-by: Sylvain Petinot > --- > .../bindings/media/i2c/st,st-vd56g3.yaml | 132 ++++++++++++++++++ > MAINTAINERS | 9 ++ > 2 files changed, 141 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/st,st-vd56g3.yaml > > diff --git a/Documentation/devicetree/bindings/media/i2c/st,st-vd56g3.yaml b/Documentation/devicetree/bindings/media/i2c/st,st-vd56g3.yaml > new file mode 100644 > index 000000000000..22cb2557e311 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/st,st-vd56g3.yaml Why duplicated 'st'? > @@ -0,0 +1,132 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright (c) 2024 STMicroelectronics SA. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/i2c/st,st-vd56g3.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics VD56G3 Global Shutter Image Sensor > + > +maintainers: > + - Benjamin Mugnier > + - Sylvain Petinot > + > +description: |- > + The STMicroelectronics VD56G3 is a 1.5 M pixel global shutter image sensor This claims device is VD56G3, not ST-VD56G3. > + with an active array size of 1124 x 1364 (portrait orientation). It is > + programmable through I2C, the address is fixed to 0x10. The sensor output is > + available via CSI-2, which is configured as either 1 or 2 data lanes. The > + sensor provides 8 GPIOS that can be used for external LED signal > + (synchronized with sensor integration periods) > + > +properties: > + compatible: > + enum: > + - st,st-vd56g3 > + - st,st-vd66gy > + description: > + Two variants are availables; VD56G3 is a monochrome sensor while VD66GY > + is a colour variant. > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + vcore-supply: > + description: Digital core power supply (1.15V) > + > + vddio-supply: > + description: Digital IO power supply (1.8V) > + > + vana-supply: > + description: Analog power supply (2.8V) > + > + reset-gpios: > + description: Sensor reset active low GPIO (XSHUTDOWN) > + maxItems: 1 > + > + st,leds: > + description: > + Sensor's GPIOs used for external LED control. Signal being the enveloppe > + of the integration time. More information is needed. GPIOs coming from LED or SoC? What's the meaning of values? > + $ref: /schemas/types.yaml#/definitions/uint32-array > + minItems: 1 > + maxItems: 8 > + items: > + minimum: 0 > + maximum: 7 > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base missing additionalProperties: false > + > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# > + unevaluatedProperties: false > + > + properties: > + data-lanes: > + minItems: 1 > + maxItems: 2 > + items: > + enum: [1, 2] > + > + link-frequencies: > + minItems: 1 maxItems is enough > + maxItems: 1 > + items: > + enum: [402000000, 750000000] > + > + lane-polarities: > + minItems: 1 > + maxItems: 3 > + description: Any lane can be inverted or not. > + > + required: > + - data-lanes > + - link-frequencies > + > +required: > + - compatible > + - reg > + - clocks > + - vcore-supply > + - vddio-supply > + - vana-supply > + - reset-gpios > + - port > + Not a video-interface-device.yaml type of device? Best regards, Krzysztof