public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Alain Volmat <alain.volmat@foss.st.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
	Kieran Bingham <kieran.bingham@ideasonboard.com>,
	Rob Herring <robh@kernel.org>, <linux-media@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/3] dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings
Date: Mon, 6 Nov 2023 17:50:40 +0100	[thread overview]
Message-ID: <20231106165040.GA3075668@gnbcxd0016.gnb.st.com> (raw)
In-Reply-To: <ZUJRbI9ff83gH6Ng@valkosipuli.retiisi.eu>

Hi Sakari,

On Wed, Nov 01, 2023 at 01:23:56PM +0000, Sakari Ailus wrote:
> Hi Alain,
> 
> On Wed, Oct 11, 2023 at 07:57:29PM +0200, Alain Volmat wrote:
> > Introduction of the Galaxy Core GC2145 XVGA CMOS camera sensor.
> > 
> > Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> > ---
> >  .../bindings/media/i2c/galaxycore,gc2145.yaml | 104 ++++++++++++++++++
> >  1 file changed, 104 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> > 
> > diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> > new file mode 100644
> > index 000000000000..94d194cf5452
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> > @@ -0,0 +1,104 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/media/i2c/galaxycore,gc2145.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Galaxy Core 1/5'' UXGA CMOS Image Sensor
> > +
> > +maintainers:
> > +  - Alain Volmat <alain.volmat@foss.st.com>
> > +
> > +description:
> > +  The Galaxy Core GC2145 is a high quality 2 Mega CMOS image sensor, for mobile
> > +  phone camera applications and digital camera products. GC2145 incorporates a
> > +  1616V x 1232H active pixel array, on-chip 10-bit ADC, and image signal
> > +  processor. It is programmable through an I2C interface. Image data is sent
> > +  either through a parallel interface or through MIPI CSI-2.
> > +
> > +allOf:
> > +  - $ref: ../video-interface-devices.yaml#
> > +
> > +properties:
> > +  compatible:
> > +    const: galaxycore,gc2145
> > +
> > +  reg:
> > +    const: 0x3c
> > +
> > +  clocks:
> > +    maxItems: 1
> > +
> > +  powerdown-gpios:
> > +    maxItems: 1
> > +
> > +  reset-gpios:
> > +    maxItems: 1
> > +
> > +  iovdd-supply:
> > +    description: Power Supply for I/O circuits (1.7 - 3V).
> > +
> > +  avdd-supply:
> > +    description: Power for analog circuit/sensor array (2.7 - 3V).
> > +
> > +  dvdd-supply:
> > +    description: Power for digital core (1.7 - 1.9V).
> > +
> > +  orientation: true
> > +
> > +  rotation: true
> > +
> > +  port:
> > +    $ref: /schemas/graph.yaml#/$defs/port-base
> > +
> > +    properties:
> > +      endpoint:
> > +        $ref: /schemas/media/video-interfaces.yaml#
> > +        unevaluatedProperties: false
> > +
> > +    required:
> > +      - endpoint
> 
> Could you add link-frequencies here, too?

This sensor is only used for the time being (as far as I know) on the
the stm32mp135f-dk board which can well handle the 3 link-frequencies.
(some other usages exist, however in parallel mode, which this driver
doesn't support yet).
I was hoping to only add the link-frequencies check when it becomes
necessary to use it on another board.
Do that make sense ?

Regards,
Alain

  reply	other threads:[~2023-11-06 16:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 17:57 [PATCH v2 0/3] media: i2c: gc2145: GC2145 sensor support Alain Volmat
2023-10-11 17:57 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add prefix for GalaxyCore Inc Alain Volmat
2023-10-12 18:02   ` Krzysztof Kozlowski
2023-10-11 17:57 ` [PATCH v2 2/3] dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings Alain Volmat
2023-10-12 17:15   ` Conor Dooley
2023-11-01 13:23   ` Sakari Ailus
2023-11-06 16:50     ` Alain Volmat [this message]
2023-10-11 17:57 ` [PATCH v2 3/3] media: i2c: gc2145: Galaxy Core GC2145 sensor support Alain Volmat
2023-10-23  8:38   ` Jacopo Mondi
2023-10-30 16:37     ` Alain Volmat
2023-10-31  8:05       ` Jacopo Mondi
2023-11-06  9:55         ` Alain Volmat
2023-11-06 10:48           ` Sakari Ailus

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=20231106165040.GA3075668@gnbcxd0016.gnb.st.com \
    --to=alain.volmat@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@iki.fi \
    /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