[PATCH v10 0/2] Add support for Omnivision OV5647

From: Ramiro Oliveira
Date: Mon Mar 06 2017 - 06:23:55 EST


Hello,

This patchset adds support for the Omnivision OV5647 sensor.

At the moment it only supports 640x480 in RAW 8.

This is the tenth version of the OV5647 camera driver patchset.

v10:
- Add more error info to model check
- Remove empty callback
Suggested-by: Sakari Ailus <sakari.ailus@xxxxxx>
- Change error message in read function
- Change clock handling
- Add error checking where it was missing
- Remove debug messages
- Remove the need for clock name
Suggested-by: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx>
- Code refactoring

v9:
- Remove unused struct
- Remove comments
- Refactor error handling in i2c r/w functions
- Change declarations to single line.
- Remove value assignment in variable declarion
- Refactor configurion write loop
- Change the variable type that received ov5647_read() read value
- Remove print from probe function
- Remove unused device struct
- Remove OF dependency from Kconfig
Suggested-by: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx>

v8:
- Remove a part of the initialization procedure which wasn't doing
anything
- Check for i2c read/writes return values
- Add stream_on/off functions
Suggested-by: Sakari Ailus <sakari.ailus@xxxxxx>

v7:
- Remove "0x" and leading 0 from DT documentation examples

v6:
- Add example to DT documentation
- Remove data-lanes and clock-lane property from DT
- Add external clock property to DT
- Order includes
- Remove unused variables and functions
- Add external clock handling
- Add power on counter
- Change from g/s_parm to g/s_frame_interval

v5:
- Refactor code
- Change comments
- Add missing error handling in some functions

v4:
- Add correct license
- Revert debugging info to generic infrastructure
- Turn defines into enums
- Correct code style issues
- Remove unused defines
- Make sure all errors where being handled
- Rename some functions to make code more readable
- Add some debugging info

v3:
- No changes. Re-submitted due to lack of responses

v2:
- Corrections in DT documentation


Ramiro Oliveira (2):
Documentation: DT: Add OV5647 bindings
media: i2c: Add support for OV5647 sensor.

.../devicetree/bindings/media/i2c/ov5647.txt | 35 ++
MAINTAINERS | 7 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/ov5647.c | 636 +++++++++++++++++++++
5 files changed, 690 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt
create mode 100644 drivers/media/i2c/ov5647.c

--
2.11.0