From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Akinobu Mita Subject: [PATCH v4 00/14] media: ov772x: support media controller, device tree probing, etc. Date: Mon, 30 Apr 2018 02:12:59 +0900 Message-Id: <1525021993-17789-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 , Wolfram Sang List-ID: This patchset includes support media controller, sub-device interface, device tree probing and other miscellanuous changes for ov772x driver. * v4 (thanks to Laurent Pinchart) - Add Reviewed-by: lines - Correct setting of banding filter (New) - Omit consumer ID when getting clock reference (New) - Use v4l2_ctrl to get current control value (New) - Correctly restore the controls changed under power saving mode * 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 (14): media: dt-bindings: ov772x: add device tree binding media: ov772x: correct setting of banding filter 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: omit consumer ID when getting clock reference media: ov772x: support device tree probing media: ov772x: handle nested s_power() calls media: ov772x: reconstruct s_frame_interval() media: ov772x: use v4l2_ctrl to get current control value 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 | 40 +++ MAINTAINERS | 1 + arch/sh/boards/mach-migor/setup.c | 7 +- drivers/media/i2c/ov772x.c | 351 +++++++++++++++------ 4 files changed, 302 insertions(+), 97 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 Cc: Wolfram Sang -- 2.7.4