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

From: Ramiro Oliveira
Date: Fri Feb 17 2017 - 08:19:25 EST


This patchset adds support for the Omnivision OV5647 sensor.

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

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

- 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>

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

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

- 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

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

- 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

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

- Corrections in DT documentation

Ramiro Oliveira (2):
Add OV5647 device tree documentation
Add support for OV5647 sensor.

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