OSDN Git Service

media: dt-bindings: media: ov772x: Make bus-type mandatory
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 10 Sep 2020 16:20:54 +0000 (18:20 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:13 +0000 (10:31 +0100)
commitb2d059460e5eee3b5fe8230f95e372d175aa4dc4
tree76ac7bd5ae848bffb5d88cebee503f2c19489026
parent898bd5b5a4c526d8e310c398ec13b41c1b805f59
media: dt-bindings: media: ov772x: Make bus-type mandatory

In order to establish required properties based on the selected
bus type, make the 'bus-type' property mandatory. As this change
documents an endpoint property, also document the 'remote-endpoint'
one now that the 'endpoint' schema has been expanded.

Binary compatibility with existing DTB is kept as the driver does not
enforce the property to be present, and shall fall-back to default
parallel bus configuration, which was the only supported bus type, if
the property is not specified.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml