Skip to content

introduce SCCB helpers

Akinobu Mita linux-media 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 9 repliesIn review
  2. v2 RFC1 patch 9 repliesSuperseded
  3. v1 RFC1 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: add SCCB helpersinclude/linux/i2c-sccb.h+77 -05 replies
2/2media: ov772x: use SCCB helpersdrivers/media/i2c/ov772x.c+5 -154 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSebastian Reichel
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH -next v3 0/2] introduce SCCB helpers

This patchset introduces Serial Camera Control Bus (SCCB) helper functions and convert ov772x driver to use the helpers.

* v3
- Rewrite the helpers based on the code provided by Wolfram
- Convert ov772x driver to use SCCB helpers

v2
- Convert all helpers into static inline functions, and remove C source and Kconfig option.
- Acquire i2c adapter lock while issuing two requests for sccb_read_byte

Akinobu Mita (2):
i2c: add SCCB helpers
media: ov772x: use SCCB helpers

 drivers/media/i2c/ov772x.c | 20 +++---------
 include/linux/i2c-sccb.h   | 77 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+), 15 deletions(-)
 create mode 100644 include/linux/i2c-sccb.h
Cc Peter Rosin <[email protected]>
Cc Sebastian Reichel <[email protected]>
Cc Wolfram Sang <[email protected]>
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]>
Signature · 1 line
2.7.4