]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: media: imx335: Add reset-gpios to the DT example
authorUmang Jain <umang.jain@ideasonboard.com>
Fri, 30 Aug 2024 06:11:51 +0000 (11:41 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 31 Aug 2024 07:40:44 +0000 (09:40 +0200)
commit84ea28860974beef80886ac939f106ee4d674405
tree39ae03a4a8f78c586bbb7d9249ff260d7bee1fb6
parent4a1b669ffe789ee2c08198ce6e042a089b7bea3a
dt-bindings: media: imx335: Add reset-gpios to the DT example

It's easy to get the polarity of GPIOs in the device tree wrong, as
shown by a recently fixed bug in the imx335 driver. To lower the chance
of future mistakes, especially in new bindings that would take the
imx335 binding as a starting point, add the reset-gpios property to the
DT example. This showcases the correct polarity of the XCLR signal for
Sony sensors in the most common case of the signal not being inverted on
the board.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml