media: dt-bindings: media: max9286: Define 'maxim,gpio-poc'
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 16 Dec 2021 16:34:34 +0000 (17:34 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 10:25:24 +0000 (11:25 +0100)
commit48a0c73f94d34ae5e78f85dc9a25e420a1dd207e
tree35c211be36e3e66693e45b45b8760f2ffa13232c
parent882ded92cd3c45b3bcbd778afff962d211d20796
media: dt-bindings: media: max9286: Define 'maxim,gpio-poc'

Define a new vendor property in the maxim,max9286 binding schema.

The new property allows to declare that the remote camera
power-over-coax is controlled by one of the MAX9286 gpio lines.

As it is currently not possible to establish a regulator as consumer
of the MAX9286 gpio controller for this purpose, the property allows to
declare that the camera power is controlled by the MAX9286 directly.

The property accepts a gpio-index (0 or 1) and one line polarity
flag as defined by dt-bindings/gpio/gpio.h.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml