Re: [PATCH 1/2] dt-bindings: media: i2c: Add os05b10 sensor

From: Rob Herring
Date: Tue Dec 09 2025 - 14:16:32 EST


On Tue, Dec 09, 2025 at 03:30:05PM +0530, Himanshu Bhavani wrote:
> From: Elgin Perumbilly <elgin.perumbilly@xxxxxxxxxxxxxxxxx>
>
> Add bindings for Omnivision OS05B10 sensor.
>
> Add MAINTAINERS entry for Omnivision OS05B10 binding documentation
>
> Signed-off-by: Elgin Perumbilly <elgin.perumbilly@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Himanshu Bhavani <himanshu.bhavani@xxxxxxxxxxxxxxxxx>
> ---
> .../bindings/media/i2c/ovti,os05b10.yaml | 103 ++++++++++++++++++
> MAINTAINERS | 7 ++
> 2 files changed, 110 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,os05b10.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,os05b10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,os05b10.yaml
> new file mode 100644
> index 000000000000..fabe01cc7003
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,os05b10.yaml
> @@ -0,0 +1,103 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/i2c/ovti,os05b10.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: OmniVision OS05B10 Image Sensor
> +
> +maintainers:
> + - Elgin Perumbilly <elgin.perumbilly@xxxxxxxxxxxxxxxxx>
> +
> +description:
> + The OmniVision OS05B10 is a 5MP (2592x1944) color CMOS image sensor controlled
> + through an I2C-compatible SCCB bus. it outputs RAW10/RAW12 format and uses a
> + 1/2.78"optical format.
> +
> +properties:
> + compatible:
> + const: ovti,os05b10
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: XCLK clock
> +
> + avdd-supply:
> + description: Analog Domain Power Supply
> +
> + dovdd-supply:
> + description: I/O Domain Power Supply
> +
> + dvdd-supply:
> + description: Digital Domain Power Supply
> +
> + reset-gpios:
> + maxItems: 1
> + description: Reset Pin GPIO Control (active high)
> +
> + port:
> + description: MIPI CSI-2 transmitter port
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + additionalProperties: false
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes:
> + oneOf:
> + - items:
> + - const: 1
> + - const: 2
> + - const: 3
> + - const: 4
> + - items:
> + - const: 1
> + - const: 2
> + required:
> + - data-lanes
> + - link-frequencies
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - avdd-supply
> + - dovdd-supply
> + - dvdd-supply
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + camera-sensor@36 {
> + compatible = "ovti,os05b10";
> + reg = <0x36>;
> + clocks = <&os05b10_clk>;
> + reset-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
> +
> + avdd-supply = <&os05b10_avdd_2v8>;
> + dvdd-supply = <&os05b10_dvdd_1v2>;
> + dovdd-supply = <&os05b10_dovdd_1v8>;
> +
> + port {
> + cam_out: endpoint {
> + remote-endpoint = <&mipi_in_cam>;
> + data-lanes = <1 2 3 4>;
> + link-frequencies = /bits/ 64 <600000000>;
> + };
> + };

Indentation is wrong.

> + };
> + }

Missing ';'