Re: [PATCH v3 5/9] media: dt-bindings: ov5645: Convert OV5645 binding to a schema
From: Krzysztof Kozlowski
Date: Wed Oct 26 2022 - 16:10:33 EST
On 26/10/2022 09:06, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> Convert the simple OV5645 Device Tree binding to json-schema.
>
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - vdddo-supply
> + - vdda-supply
> + - vddd-supply
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
Use 4 spaces for example indentation.
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + camera@3c {
> + compatible = "ovti,ov5645";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_ov5645>;
> + reg = <0x3c>;
reg goes after compatible.
> + clocks = <&clks 1>;
Best regards,
Krzysztof