media: dt-bindings: ov5645: Convert OV5645 binding to a schema
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 31 Oct 2022 23:21:58 +0000 (23:21 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 06:47:37 +0000 (06:47 +0000)
commit105c3bc0b30a248c55f6d46ea230af8ea0f5d6ba
tree49aeaa628fe75a23bd951f1422fb90fc3f3720d1
parentf8604f1f36a91bfc02bdab2641b3a1a46eca36ed
media: dt-bindings: ov5645: Convert OV5645 binding to a schema

Convert the simple OV5645 Device Tree binding to json-schema.

The previous binding marked the below properties as required which was a
driver requirement and not the device requirement so just drop them from
the required list during the conversion.
- clock-frequency
- enable-gpios
- reset-gpios

Also drop the "clock-names" property as we have a single clock source for
the sensor and the driver has been updated to drop the clk referencing by
name.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/devicetree/bindings/media/i2c/ov5645.txt [deleted file]
Documentation/devicetree/bindings/media/i2c/ovti,ov5645.yaml [new file with mode: 0644]