This patch serie relates to flip and mirror at sensor level through registers "TIMING TC REG20/REG21". The first commit implements HFLIP and VFLIP V4L2 controls allowing V4L2 client to change horizontal and vertical flip before or during streaming. The second commit allows to inform driver of the physical orientation of the sensor module through devicetree "rotation" optional properties as defined by Sakari in media/video-interfaces.txt: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg132345.html Hugues Fruchet (2): media: ov5640: add HFLIP/VFLIP controls support media: ov5640: add support of module orientation .../devicetree/bindings/media/i2c/ov5640.txt | 3 + drivers/media/i2c/ov5640.c | 127 ++++++++++++++++++--- 2 files changed, 112 insertions(+), 18 deletions(-) -- 1.9.1