Skip to content

media: ov772x: support media controller, device tree probing, etc.

Akinobu Mita linux-devicetree linux-media 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 13 repliesIn review
  2. v414 patches 8 repliesSuperseded
  3. v311 patches 19 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v210 patches21 repliesSuperseded
v16 patches12 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14media: dt-bindings: ov772x: add device tree bindingDocumentation/devicetree/bindings/media/i2c/ov772x.txt MAINTAINERS+41 -00 replies
2/14media: ov772x: correct setting of banding filterdrivers/media/i2c/ov772x.c+1 -10 replies
3/14media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLINGdrivers/media/i2c/ov772x.c+14 -63 replies
4/14media: ov772x: add checks for register read errorsdrivers/media/i2c/ov772x.c+14 -60 replies
5/14media: ov772x: add media controller supportdrivers/media/i2c/ov772x.c+15 -10 replies
6/14media: ov772x: use generic names for reset and powerdown gpiosarch/sh/boards/mach-migor/setup.c drivers/media/i2c/ov772x.c+7 -60 replies
7/14media: ov772x: omit consumer ID when getting clock referencearch/sh/boards/mach-migor/setup.c drivers/media/i2c/ov772x.c+2 -20 replies
8/14media: ov772x: support device tree probingdrivers/media/i2c/ov772x.c+45 -194 replies
9/14media: ov772x: handle nested s_power() callsdrivers/media/i2c/ov772x.c+30 -40 replies
10/14media: ov772x: reconstruct s_frame_interval()drivers/media/i2c/ov772x.c+35 -211 reply
11/14media: ov772x: use v4l2_ctrl to get current control valuedrivers/media/i2c/ov772x.c+17 -170 replies
12/14media: ov772x: avoid accessing registers under power saving modedrivers/media/i2c/ov772x.c+64 -153 replies
13/14media: ov772x: make set_fmt() and s_frame_interval() return -EBUSY while streamingdrivers/media/i2c/ov772x.c+33 -101 reply
14/14media: ov772x: create subdevice device nodedrivers/media/i2c/ov772x.c+1 -01 reply

Reviews trailers per patch

12 of 14 patches have a Reviewed-by or Acked-by.

PatchRob HerringJacopo MondiLaurent Pinchart
1/14R-b R-b R-b
2/14A-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14T-b
8/14R-b
9/14R-b
10/14R-b
11/14
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/14] media: ov772x: support media controller, device tree probing, etc.

This patchset includes support media controller, sub-device interface, device tree probing and other miscellanuous changes for ov772x driver.

* v5 (thanks to Jacopo Mondi)
- Add Acked-by: line
- Add Reviewed-by: line
- Remove unnecessary space
- Align arguments to open parenthesis
- Sort variable declarations
- Make s_frame_interval() return -EBUSY while streaming

* 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() and s_frame_interval() 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                         | 357 +++++++++++++++------
 4 files changed, 308 insertions(+), 97 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]>
Cc Wolfram Sang <[email protected]>
Signature · 1 line
2.7.4