From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Akinobu Mita Subject: [PATCH v3 00/11] media: ov772x: support media controller, device tree probing, etc. Date: Mon, 23 Apr 2018 00:56:06 +0900 Message-Id: <1524412577-14419-1-git-send-email-akinobu.mita@gmail.com> To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Akinobu Mita , Jacopo Mondi , Laurent Pinchart , Hans Verkuil , Sakari Ailus , Mauro Carvalho Chehab , Rob Herring List-ID: This patchset includes support media controller, sub-device interface, device tree probing and other miscellanuous changes for ov772x driver. * v3 (thanks to Sakari Ailus and Jacopo Mondi) - Reorder the patches - Add Reviewed-by: lines - Remove I2C_CLIENT_SCCB flag set as it isn't needed anymore - Fix typo in the commit log - Return without resetting if ov772x_edgectrl() failed - Update the error message for missing platform data - Rename mutex name from power_lock to lock - Add warning for duplicated s_power call - Add newlines before labels - Remove __v4l2_ctrl_handler_setup in s_power() as it causes duplicated register settings - Make set_fmt() return -EBUSY while streaming (New) * 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 Akinobu Mita (11): media: dt-bindings: ov772x: add device tree binding media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING media: ov772x: add checks for register read errors media: ov772x: add media controller support media: ov772x: use generic names for reset and powerdown gpios 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 media: ov772x: make set_fmt() return -EBUSY while streaming media: ov772x: create subdevice device node .../devicetree/bindings/media/i2c/ov772x.txt | 42 +++ MAINTAINERS | 1 + arch/sh/boards/mach-migor/setup.c | 5 +- drivers/media/i2c/ov772x.c | 313 ++++++++++++++++----- 4 files changed, 284 insertions(+), 77 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov772x.txt Cc: Jacopo Mondi Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Cc: Rob Herring -- 2.7.4