]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b70aae22992397be40b6b3737c3e1a87cde286a
tree35c211be36e3e66693e45b45b8760f2ffa13232c
parent16d0d3fe3c46e573d391a58c46d17fda9b5ee8e8
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