[PATCH 3/5] media: v4l2-common: add v4l2_find_closest_fract()

2018-09-17 Thread Akinobu Mita
Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/v4l2-core/v4l2-common.c | 26 ++ include/media/v4l2-common.h | 12 2 files changed, 38 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-common.c b

[PATCH 5/5] media: video-i2c: support runtime PM

2018-09-17 Thread Akinobu Mita
: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/video-i2c.c | 140 +- 1 file changed, 138 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/video-i2c.c b/drivers/media

[PATCH 0/5] media: video-i2c: support changing frame interval and runtime PM

2018-09-17 Thread Akinobu Mita
initialization code and register accesses. Akinobu Mita (5): media: video-i2c: avoid accessing released memory area when removing driver media: video-i2c: use i2c regmap media: v4l2-common: add v4l2_find_closest_fract() media: video-i2c: support changing frame interval media: video-i2c: support

[PATCH 2/5] media: video-i2c: use i2c regmap

2018-09-17 Thread Akinobu Mita
Use regmap for i2c register access. This simplifies register accesses and chooses suitable access commands based on the functionality that the adapter supports. Cc: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c

[PATCH 4/5] media: video-i2c: support changing frame interval

2018-09-17 Thread Akinobu Mita
Signed-off-by: Akinobu Mita --- drivers/media/i2c/video-i2c.c | 76 --- 1 file changed, 64 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/video-i2c.c b/drivers/media/i2c/video-i2c.c index 90d389b..916f36e 100644 --- a/drivers/media/i2c/video

Re: [PATCH 5/5] media: video-i2c: support runtime PM

2018-09-18 Thread Akinobu Mita
2018年9月18日(火) 15:23 Matt Ranostay : > > On Mon, Sep 17, 2018 at 6:03 PM Akinobu Mita wrote: > > > > AMG88xx has a register for setting operating mode. This adds support > > runtime PM by changing the operating mode. > > > > The instruction for changi

Re: [PATCH 2/5] media: video-i2c: use i2c regmap

2018-09-18 Thread Akinobu Mita
2018年9月18日(火) 12:19 Matt Ranostay : > > On Mon, Sep 17, 2018 at 9:03 AM Akinobu Mita wrote: > > > > Use regmap for i2c register access. This simplifies register accesses and > > chooses suitable access commands based on the functionality that the > > adapter suppo

<    1   2   3