From: Rob Herring <robh@kernel.org>
To: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/6] media: dt-bindings: Add description of OmniVision OG01A1B image sensor
Date: Wed, 14 Aug 2024 07:29:54 -0600 [thread overview]
Message-ID: <20240814132954.GA2289726-robh@kernel.org> (raw)
In-Reply-To: <20240813102035.1763559-2-vladimir.zapolskiy@linaro.org>
On Tue, Aug 13, 2024 at 01:20:30PM +0300, Vladimir Zapolskiy wrote:
> Add device tree bindings documentation for OmniVision OG01A1B image
> sensor.
Drop 'description of ' in subject.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> .../bindings/media/i2c/ovti,og01a1b.yaml | 107 ++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 108 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml
> new file mode 100644
> index 000000000000..ca57c01739d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml
> @@ -0,0 +1,107 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (c) 2023-2024 Linaro Ltd.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/i2c/ovti,og01a1b.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: OmniVision OG01A1B Image Sensor
> +
> +maintainers:
> + - Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> +
> +description:
> + The OmniVision OG01A1B is black and white CMOS 1.3 Megapixel (1280x1024)
> + image sensor controlled over an I2C-compatible SCCB bus.
> + The sensor transmits images on a MIPI CSI-2 output interface with one or
> + two data lanes.
> +
> +allOf:
> + - $ref: /schemas/media/video-interface-devices.yaml#
> +
> +properties:
> + compatible:
> + const: ovti,og01a1b
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + reset-gpios:
> + description: Active low GPIO connected to XSHUTDOWN pad of the sensor.
> + maxItems: 1
> +
> + strobe-gpios:
> + description: Input GPIO connected to strobe pad of the sensor.
> + maxItems: 1
> +
> + avdd-supply:
> + description: Analogue circuit voltage supply.
> +
> + dovdd-supply:
> + description: I/O circuit voltage supply.
> +
> + dvdd-supply:
> + description: Digital circuit voltage supply.
> +
> + port:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + additionalProperties: false
> + description:
> + Output port node, single endpoint describing the CSI-2 transmitter.
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes:
> + minItems: 1
> + maxItems: 2
> + items:
> + enum: [1, 2]
> +
> + link-frequencies: true
> +
> + required:
> + - data-lanes
> + - link-frequencies
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - port
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + sensor@60 {
> + compatible = "ovti,og01a1b";
> + reg = <0x60>;
> + clocks = <&clk 0>;
> + reset-gpios = <&gpio 117 GPIO_ACTIVE_LOW>;
> + avdd-supply = <&vreg_3v3>;
> + dovdd-supply = <&vreg_1p8>;
> + dvdd-supply = <&vreg_1p2>;
> +
> + port {
> + og01a1b_ep: endpoint {
> + remote-endpoint = <&csiphy_ep>;
> + data-lanes = <1 2>;
> + link-frequencies = /bits/ 64 <500000000>;
> + };
> + };
> + };
> + };
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index cf9c9221c388..9b0d1db35b7d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -16507,6 +16507,7 @@ OMNIVISION OG01A1B SENSOR DRIVER
> M: Sakari Ailus <sakari.ailus@linux.intel.com>
> L: linux-media@vger.kernel.org
> S: Maintained
> +F: Documentation/devicetree/bindings/media/i2c/ovti,og01a1b.yaml
> F: drivers/media/i2c/og01a1b.c
>
> OMNIVISION OV01A10 SENSOR DRIVER
> --
> 2.45.2
>
next prev parent reply other threads:[~2024-08-14 13:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 10:20 [PATCH v2 0/6] media: i2c: og01a1b: Add OF support to OmniVision OG01A1B Vladimir Zapolskiy
2024-08-13 10:20 ` [PATCH v2 1/6] media: dt-bindings: Add description of OmniVision OG01A1B image sensor Vladimir Zapolskiy
2024-08-13 15:26 ` Conor Dooley
2024-08-14 13:29 ` Rob Herring [this message]
2024-08-13 10:20 ` [PATCH v2 2/6] media: i2c: og01a1b: Add OF support to the image sensor driver Vladimir Zapolskiy
2024-08-13 10:20 ` [PATCH v2 3/6] media: i2c: og01a1b: Add stubs of runtime power management functions Vladimir Zapolskiy
2024-08-13 10:20 ` [PATCH v2 4/6] media: i2c: og01a1b: Add support of xvclk supply clock in power management Vladimir Zapolskiy
2024-08-13 10:20 ` [PATCH v2 5/6] media: i2c: og01a1b: Add management of optional reset GPIO Vladimir Zapolskiy
2024-08-13 10:20 ` [PATCH v2 6/6] media: i2c: og01a1b: Add management of optional sensor supply lines Vladimir Zapolskiy
2024-08-13 12:53 ` Kieran Bingham
2024-08-13 13:35 ` Vladimir Zapolskiy
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=20240814132954.GA2289726-robh@kernel.org \
--to=robh@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=vladimir.zapolskiy@linaro.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