From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alain Volmat <alain.volmat@foss.st.com>,
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>
Cc: Andrey Skvortsov <andrej.skvortzov@gmail.com>,
Rob Herring <robh@kernel.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings
Date: Tue, 26 Sep 2023 20:49:38 +0200 [thread overview]
Message-ID: <d9b4c469-34b5-4616-aa79-93df94c07be1@linaro.org> (raw)
In-Reply-To: <20230926092825.819229-2-alain.volmat@foss.st.com>
On 26/09/2023 11:28, Alain Volmat wrote:
> Introduction of the Galaxy Core GC2145 XVGA CMOS camera sensor.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
...
> +properties:
> + compatible:
> + const: galaxycore,gc2145
> +
> + reg:
> + enum:
> + - 0x3c
> +
> + clocks:
> + description: Reference to the xclk clock.
> + maxItems: 1
If xclk is the name of the pin and you want to mention it, then just:
items:
- description: xclk clock
(no "reference" or "GPIO descriptor" because it is redundant as Conor wrote)
> +
> + powerdown-gpios:
> + description: GPIO descriptor for the powerdown pin.
> + maxItems: 1
> +
> + reset-gpios:
> + description: GPIO descriptor for the reset pin.
> + maxItems: 1
> +
> + IOVDD-supply:
lowercase, so iovdd-supply. Same in other places.
> + 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
> +
> + additionalProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - powerdown-gpios
> + - reset-gpios
> + - IOVDD-supply
> + - AVDD-supply
> + - DVDD-supply
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c5 {
i2c
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + gc2145@3c {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> + compatible = "galaxycore,gc2145";
> + reg = <0x3c>;
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-09-26 18:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 9:28 [PATCH 0/2] media: i2c: gc2145: GC2145 sensor support Alain Volmat
2023-09-26 9:28 ` [PATCH 1/2] dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings Alain Volmat
2023-09-26 13:32 ` Conor Dooley
2023-09-26 18:49 ` Krzysztof Kozlowski [this message]
2023-09-26 9:28 ` [PATCH 2/2] media: i2c: gc2145: Galaxy Core GC2145 sensor support Alain Volmat
2023-09-26 16:21 ` kernel test robot
2023-09-27 13:54 ` Jacopo Mondi
2023-10-11 17:26 ` Alain Volmat
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=d9b4c469-34b5-4616-aa79-93df94c07be1@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alain.volmat@foss.st.com \
--cc=andrej.skvortzov@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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 \
/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;
as well as URLs for NNTP newsgroup(s).