Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH -next v3 0/2] introduce SCCB helpers
@ 2018-07-09 15:41 Akinobu Mita
  2018-07-09 15:41 ` [PATCH -next v3 1/2] i2c: add " Akinobu Mita
  2018-07-09 15:41 ` [PATCH -next v3 2/2] media: ov772x: use " Akinobu Mita
  0 siblings, 2 replies; 12+ messages in thread
From: Akinobu Mita @ 2018-07-09 15:41 UTC (permalink / raw)
  To: linux-media, linux-i2c
  Cc: Akinobu Mita, Peter Rosin, Sebastian Reichel, Wolfram Sang,
	Jacopo Mondi, Laurent Pinchart, Hans Verkuil, Sakari Ailus,
	Mauro Carvalho Chehab

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 <peda@axentia.se>
Cc: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-- 
2.7.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-07-10 21:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-09 15:41 [PATCH -next v3 0/2] introduce SCCB helpers Akinobu Mita
2018-07-09 15:41 ` [PATCH -next v3 1/2] i2c: add " Akinobu Mita
2018-07-09 16:11   ` Wolfram Sang
2018-07-10 10:50   ` Laurent Pinchart
2018-07-10 12:07     ` Wolfram Sang
2018-07-10 12:16       ` Laurent Pinchart
2018-07-10 13:02         ` Wolfram Sang
2018-07-09 15:41 ` [PATCH -next v3 2/2] media: ov772x: use " Akinobu Mita
2018-07-09 16:14   ` Wolfram Sang
2018-07-09 21:23     ` Sebastian Reichel
2018-07-10 16:36       ` Akinobu Mita
2018-07-10 20:59         ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox