From: Benjamin MUGNIER <benjamin.mugnier@foss.st.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: <linux-media@vger.kernel.org>, <alain.volmat@foss.st.com>,
<hugues.fruchet@foss.st.com>, <sylvain.petinot@foss.st.com>,
<dave.stevenson@raspberrypi.com>,
<laurent.pinchart@ideasonboard.com>,
<kieran.bingham@ideasonboard.com>, <nicolas@ndufresne.ca>,
<hverkuil@xs4all.nl>
Subject: Re: [PATCH v6 3/4] media: dt-bindings: media: i2c: Add ST VGXY61 camera sensor binding
Date: Fri, 7 Oct 2022 13:57:48 +0200 [thread overview]
Message-ID: <6d481061-4ee0-0df2-e86a-d86ae06600f0@foss.st.com> (raw)
In-Reply-To: <Yz8pPJgqt9pcfSbp@paasikivi.fi.intel.com>
Hi Sakari,
Thank you for your review.
On 10/6/22 21:15, Sakari Ailus wrote:
> Hi Benjamin,
>
> On Tue, Sep 27, 2022 at 10:37:01AM +0200, Benjamin Mugnier wrote:
>> Add device tree binding for the ST VGXY61 camera sensor, and update
>> MAINTAINERS file.
>>
>> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>> ---
>> .../bindings/media/i2c/st,st-vgxy61.yaml | 112 ++++++++++++++++++
>> MAINTAINERS | 9 ++
>> 2 files changed, 121 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml b/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
>> new file mode 100644
>> index 000000000000..652170367675
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
>> @@ -0,0 +1,112 @@
>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
>> +# Copyright (c) 2022 STMicroelectronics SA.
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/media/i2c/st,st-vgxy61.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: STMicroelectronics VGxy61 HDR Global Shutter Sensor Family Device Tree Bindings
>> +
>> +maintainers:
>> + - Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>> + - Sylvain Petinot <sylvain.petinot@foss.st.com>
>> +
>> +description: |-
>> + STMicroelectronics VGxy61 family has a CSI-2 output port. CSI-2 output is a
>> + quad lanes 800Mbps per lane.
>> + Supported formats are RAW8, RAW10, RAW12, RAW14 and RAW16.
>> + Following part number are supported
>> + - VG5661 and VG6661 are 1.6 Mpx (1464 x 1104) monochrome and color sensors.
>> + Maximum frame rate is 75 fps.
>> + - VG5761 and VG6761 are 2.3 Mpx (1944 x 1204) monochrome and color sensors.
>> + Maximum frame rate is 60 fps.
>> +
>> +properties:
>> + compatible:
>> + const: st,st-vgxy61
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + clocks:
>> + maxItems: 1
>> +
>> + VCORE-supply:
>> + description:
>> + Sensor digital core supply. Must be 1.2 volts.
>> +
>> + VDDIO-supply:
>> + description:
>> + Sensor digital IO supply. Must be 1.8 volts.
>> +
>> + VANA-supply:
>> + description:
>> + Sensor analog supply. Must be 2.8 volts.
>> +
>> + reset-gpios:
>> + description:
>> + Reference to the GPIO connected to the reset pin, if any.
>> + This is an active low signal to the vgxy61.
>> +
>> + st,strobe-gpios-polarity:
>> + description:
>> + Invert polarity of strobe GPIOs.
>> + type: boolean
>
> This was probably intended to be left out of this version?
>
Indeed, I forgot to update this file. Thanks a lot for double checking.
Regards,
Benjamin
>> +
>> + port:
>> + $ref: /schemas/graph.yaml#/$defs/port-base
>> + additionalProperties: false
>> +
>> + properties:
>> + endpoint:
>> + $ref: /schemas/media/video-interfaces.yaml#
>> + unevaluatedProperties: false
>> +
>> + properties:
>> + data-lanes:
>> + description:
>> + CSI lanes to use
>> + items:
>> + - const: 1
>> + - const: 2
>> + - const: 3
>> + - const: 4
>> +
>> + remote-endpoint: true
>> +
>> + required:
>> + - data-lanes
>> +
>> +required:
>> + - compatible
>> + - clocks
>> + - VCORE-supply
>> + - VDDIO-supply
>> + - VANA-supply
>> + - port
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/gpio/gpio.h>
>> + i2c {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + vgxy61: csi2tx@10 {
>> + compatible = "st,st-vgxy61";
>> + reg = <0x10>;
>> + clocks = <&clk_ext_camera>;
>> + VCORE-supply = <&v1v2>;
>> + VDDIO-supply = <&v1v8>;
>> + VANA-supply = <&v2v8>;
>> + reset-gpios = <&mfxgpio 18 GPIO_ACTIVE_LOW>;
>> + port {
>> + ep0: endpoint {
>> + data-lanes = <1 2 3 4>;
>> + remote-endpoint = <&mipi_csi2_out>;
>> + };
>> + };
>> + };
>> + };
>> +...
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index a58f1fc6dd47..2e855bfdfeb7 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -19278,6 +19278,15 @@ S: Maintained
>> F: Documentation/hwmon/stpddc60.rst
>> F: drivers/hwmon/pmbus/stpddc60.c
>>
>> +ST VGXY61 DRIVER
>> +M: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>> +M: Sylvain Petinot <sylvain.petinot@foss.st.com>
>> +L: linux-media@vger.kernel.org
>> +S: Maintained
>> +T: git git://linuxtv.org/media_tree.git
>> +F: Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
>> +F: drivers/media/i2c/st-vgxy61.c
>> +
>> ST VL53L0X ToF RANGER(I2C) IIO DRIVER
>> M: Song Qiang <songqiang1304521@gmail.com>
>> L: linux-iio@vger.kernel.org
>
next prev parent reply other threads:[~2022-10-07 11:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-27 8:36 [PATCH v6 0/4] media: Add ST VGXY61 camera sensor driver Benjamin Mugnier
2022-09-27 8:36 ` [PATCH v6 1/4] media: v4l: Add 1X16 16-bit greyscale media bus code definition Benjamin Mugnier
2022-10-06 21:26 ` Laurent Pinchart
2022-10-07 11:56 ` Benjamin MUGNIER
2022-09-27 8:37 ` [PATCH v6 2/4] media: v4l: ctrls: Add a control for HDR mode Benjamin Mugnier
2022-09-27 8:37 ` [PATCH v6 3/4] media: dt-bindings: media: i2c: Add ST VGXY61 camera sensor binding Benjamin Mugnier
2022-10-06 19:15 ` Sakari Ailus
2022-10-07 11:57 ` Benjamin MUGNIER [this message]
2022-10-07 12:28 ` Benjamin MUGNIER
2022-09-27 8:37 ` [PATCH v6 4/4] media: i2c: Add driver for ST VGXY61 camera sensor Benjamin Mugnier
2022-10-06 19:14 ` Sakari Ailus
2022-10-07 12:24 ` Benjamin MUGNIER
2022-10-07 12:32 ` Laurent Pinchart
2022-10-07 12:38 ` Benjamin MUGNIER
2022-10-07 13:19 ` Laurent Pinchart
2022-10-07 14:06 ` Benjamin MUGNIER
2022-10-10 8:29 ` Sakari Ailus
2022-10-10 9:19 ` Benjamin MUGNIER
2022-10-10 9:33 ` Sakari Ailus
2022-10-10 9:50 ` Benjamin MUGNIER
2022-10-10 11:55 ` Sakari Ailus
2022-10-10 12:11 ` Benjamin MUGNIER
2022-10-10 12:52 ` Sakari Ailus
2022-10-10 13:12 ` Benjamin MUGNIER
2022-10-13 8:00 ` Sakari Ailus
2022-10-18 7:54 ` Benjamin MUGNIER
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d481061-4ee0-0df2-e86a-d86ae06600f0@foss.st.com \
--to=benjamin.mugnier@foss.st.com \
--cc=alain.volmat@foss.st.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=hugues.fruchet@foss.st.com \
--cc=hverkuil@xs4all.nl \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=sakari.ailus@linux.intel.com \
--cc=sylvain.petinot@foss.st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox