Hi, On Thu, May 03, 2018 at 12:31:14AM +0300, Sakari Ailus wrote: > 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> I think the DT binding should use a rotation property instead, similar to the panel bindings: Documentation/devicetree/bindings/display/panel/panel.txt -- Sebastian > --- > 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 >
Attachment:
signature.asc
Description: PGP signature