Enhance OV5640 CSI driver to support also DVP parallel interface. Add RGB565 (LE & BE) and YUV422 YUYV format in addition to existing YUV422 UYVY format. Some other improvements on chip identifier check and removal of warnings in powering phase around gpio handling. =========== = history = =========== version 3: - Move chip identifier check at probe according to Fabio Estevam comment: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg122575.html - Use 16 bits register read for this check as per Steve Longerbeam comment: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg122692.html - Update bindings to document parallel mode support as per Fabio Estevam comment: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg122576.html - Enable the whole 10 bits parallel output and document 8/10 bits support in ov5640_set_stream_dvp() to answer to Steve Longerbeam comment: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg122693.html version 2: - Fix comments from Sakari Ailus: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg122259.html - Revisit ov5640_set_stream_dvp() to only configure DVP at streamon - Revisit ov5640_set_stream_dvp() implementation with fewer register settings version 1: - Initial submission Hugues Fruchet (5): media: ov5640: switch to gpiod_set_value_cansleep() media: ov5640: check chip id media: dt-bindings: ov5640: add support of DVP parallel interface media: ov5640: add support of DVP parallel interface media: ov5640: add support of RGB565 and YUYV formats .../devicetree/bindings/media/i2c/ov5640.txt | 27 +- drivers/media/i2c/ov5640.c | 291 +++++++++++++++++---- 2 files changed, 271 insertions(+), 47 deletions(-) -- 1.9.1