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 5: - Refine bindings as per Sakari suggestion: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg124048.html version 4: - Refine bindings as per Sakari suggestion: https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg123609.html - Parallel port control lines polarity can now be configured through devicetree 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: refine CSI-2 and add 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 | 46 ++- drivers/media/i2c/ov5640.c | 325 ++++++++++++++++++--- 2 files changed, 324 insertions(+), 47 deletions(-) -- 1.9.1