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 4:
- Refine bindings as per Sakari suggestion:
https://www.mail-archive.com/[email protected]/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/[email protected]/msg122575.html
- Use 16 bits register read for this check as per Steve Longerbeam comment:
https://www.mail-archive.com/[email protected]/msg122692.html
- Update bindings to document parallel mode support as per Fabio Estevam
comment:
https://www.mail-archive.com/[email protected]/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/[email protected]/msg122693.html
version 2:
- Fix comments from Sakari Ailus:
https://www.mail-archive.com/[email protected]/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 | 48 ++-
drivers/media/i2c/ov5640.c | 325 ++++++++++++++++++---
2 files changed, 326 insertions(+), 47 deletions(-)
--
1.9.1