This patchset includes support media controller, device tree probing and
other miscellanuous changes for ov772x driver.
* v2 (thanks to Jacopo Mondi)
- Replace the implementation of ov772x_read() instead of adding an
alternative method
- Assign the ov772x_read() return value to pid and ver directly
- Do the same for MIDH and MIDL
- Move video_probe() before the entity initialization and remove the #ifdef
around the media_entity_cleanup()
- Use generic names for reset and powerdown gpios (New)
- Add "dt-bindings:" in the subject
- Add a brief description of the sensor
- Update the GPIO names
- Indicate the GPIO active level
- Add missing NULL checks for priv->info
- Leave the check for the missing platform data if legacy platform data
probe is used.
- Handle nested s_power() calls (New)
- Reconstruct s_frame_interval() (New)
- Avoid accessing registers under power saving mode (New)
Akinobu Mita (10):
media: ov772x: allow i2c controllers without
I2C_FUNC_PROTOCOL_MANGLING
media: ov772x: add checks for register read errors
media: ov772x: create subdevice device node
media: ov772x: add media controller support
media: ov772x: use generic names for reset and powerdown gpios
media: dt-bindings: ov772x: add device tree binding
media: ov772x: support device tree probing
media: ov772x: handle nested s_power() calls
media: ov772x: reconstruct s_frame_interval()
media: ov772x: avoid accessing registers under power saving mode
.../devicetree/bindings/media/i2c/ov772x.txt | 42 ++++
MAINTAINERS | 1 +
arch/sh/boards/mach-migor/setup.c | 5 +-
drivers/media/i2c/ov772x.c | 275 ++++++++++++++++-----
4 files changed, 255 insertions(+), 68 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ov772x.txt
Cc: Jacopo Mondi <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Hans Verkuil <[email protected]>
Cc: Sakari Ailus <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Rob Herring <[email protected]>
--
2.7.4