Camera sensors are occasionally mounted upside down. In order to use such a sensor without having to turn every image upside down separately, most camera sensors support reversing the readout order by setting both horizontal and vertical flipping. This patch adds a boolean property to tell a sensor is mounted upside down. Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> --- Documentation/devicetree/bindings/media/video-interfaces.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt index 258b8dfddf48..2a3e4ec4ea27 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt @@ -85,6 +85,9 @@ Optional properties - lens-focus: A phandle to the node of the focus lens controller. +- upside-down: The device, typically an image sensor, is mounted upside + down in the system. + Optional endpoint properties ---------------------------- -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html