Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-12-02 Thread Bingbu Cao
On 12/01/2018 02:08 AM, Tomasz Figa wrote: Hi Bingbu, On Mon, Nov 26, 2018 at 7:56 PM wrote: From: Bingbu Cao Some Sony camera sensors have same test pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus Signed-off

Re: [PATCH 1/1] media: Use common test pattern menu entries

2018-11-27 Thread Bingbu Cao
On 11/27/2018 05:33 PM, Sakari Ailus wrote: While the test pattern menu itself is not standardised, many devices support the same test patterns. Aligning the menu entries helps the user space to use the interface, and adding macros for the menu entry strings helps to keep them aligned. I like

Re: [PATCH v2] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Bingbu Cao
On 11/27/2018 05:33 PM, Sakari Ailus wrote: On Tue, Nov 27, 2018 at 05:03:26PM +0800, bingbu@intel.com wrote: From: Bingbu Cao Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus

[PATCH v2] media: unify some sony camera sensors pattern naming

2018-11-27 Thread bingbu . cao
From: Bingbu Cao Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus Signed-off-by: Bingbu Cao Reviewed-by: l...@lucaceresoli.net --- drivers/media/i2c/imx258.c | 6 +++--- drivers

Re: [PATCH] media: unify some sony camera sensors pattern naming

2018-11-27 Thread Bingbu Cao
On 11/27/2018 04:05 PM, Luca Ceresoli wrote: Hi Bingbu, On 27/11/18 05:01, bingbu@intel.com wrote: From: Bingbu Cao Some Sony camera sensors have same test pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus

[PATCH] media: unify some sony camera sensors pattern naming

2018-11-26 Thread bingbu . cao
From: Bingbu Cao Some Sony camera sensors have same test pattern definitions, this patch unify the pattern naming to make it more clear to the userspace. Suggested-by: Sakari Ailus Signed-off-by: Bingbu Cao --- drivers/media/i2c/imx258.c | 8 drivers/media/i2c/imx319.c | 8

Re: [PATCH 2/2] media: imx355: fix wrong order in test pattern menus

2018-11-26 Thread Bingbu Cao
On 11/26/2018 04:57 PM, Sakari Ailus wrote: Hi Bing Bu, On Mon, Nov 26, 2018 at 03:43:34PM +0800, bingbu@intel.com wrote: From: Bingbu Cao current imx355 test pattern order in ctrl menu is not correct, this patch fixes it. Signed-off-by: Bingbu Cao --- drivers/media/i2c/imx355.c

Re: [PATCH 2/2] media: imx355: fix wrong order in test pattern menus

2018-11-26 Thread Bingbu Cao
On 11/26/2018 04:57 PM, Sakari Ailus wrote: Hi Bing Bu, On Mon, Nov 26, 2018 at 03:43:34PM +0800, bingbu@intel.com wrote: From: Bingbu Cao current imx355 test pattern order in ctrl menu is not correct, this patch fixes it. Signed-off-by: Bingbu Cao --- drivers/media/i2c/imx355.c

[PATCH 1/2] media: imx319: fix wrong order in test pattern menus

2018-11-25 Thread bingbu . cao
From: Bingbu Cao current imx319 test pattern order in ctrl menu is not correct, this patch fixes it. Signed-off-by: Bingbu Cao --- drivers/media/i2c/imx319.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx319.c b/drivers/media/i2c/imx319.c index

[PATCH 2/2] media: imx355: fix wrong order in test pattern menus

2018-11-25 Thread bingbu . cao
From: Bingbu Cao current imx355 test pattern order in ctrl menu is not correct, this patch fixes it. Signed-off-by: Bingbu Cao --- drivers/media/i2c/imx355.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx355.c b/drivers/media/i2c/imx355.c index

[PATCH v3] media: add imx355 camera sensor driver

2018-09-29 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the Sony imx355 image sensor. This is a camera sensor using the i2c bus for control and the csi-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support

[PATCH v7] media: add imx319 camera sensor driver

2018-09-25 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the Sony imx319 image sensor. This is a camera sensor using the i2c bus for control and the csi-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support

[PATCH v6] media: add imx319 camera sensor driver

2018-09-21 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the Sony imx319 image sensor. This is a camera sensor using the i2c bus for control and the csi-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support

[PATCH v5] media: add imx319 camera sensor driver

2018-09-16 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the Sony imx319 image sensor. This is a camera sensor using the i2c bus for control and the csi-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support

[PATCH v5 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-06-18 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the i2c bus to control the focus position. ak7375 can write multiple bytes of data at a time. If more data is received instead of the stop condition after receiving one byte of data

[PATCH v5 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-06-18 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao Reviewed-by: Rob Herring --- Changes since v1: - add the MAINTAINERS change - correct

[PATCH v4 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-06-06 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao --- Changes since v1: - add the MAINTAINERS change - correct the vendor prefix from akm to asahi

[PATCH v4 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-06-06 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the i2c bus to control the focus position. ak7375 can write multiple bytes of data at a time. If more data is received instead of the stop condition after receiving one byte of data

[PATCH v3 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-06-04 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for asahi-kasei ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao --- Changes since v1: - add the MAINTAINERS change - correct the vendor prefix from akm

[PATCH v3 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-06-04 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the i2c bus to control the focus position. ak7375 can write multiple bytes of data at a time. If more data is received instead of the stop condition after receiving one byte of data

[PATCH v2] media: add imx355 camera sensor driver

2018-05-31 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the Sony imx355 image sensor. This is a camera sensor using the i2c bus for control and the csi-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support

[RESEND PATCH V2 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-05-25 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the I2C bus to control the focus position. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com>

[RESEND PATCH V2 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-05-25 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com> --- Changes s

[PATCH v2 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-05-25 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com> --- Changes s

[PATCH v2 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-05-25 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the I2C bus to control the focus position. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com>

[PATCH v3] media: imx319: Add imx319 camera sensor driver

2018-05-21 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the Sony IMX319 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Bingbu Cao <bingbu@intel.com> Signed-off-by: Tianshu Qiu <tian.sh

[PATCH v2] media: imx319: Add imx319 camera sensor driver

2018-05-21 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the Sony IMX319 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Bingbu Cao <bingbu@intel.com> Signed-off-by: Tianshu Qiu <tian.sh

[PATCH v2 1/3] media: dw9807: Add dw9807 vcm driver

2018-05-21 Thread bingbu . cao
From: Alan Chiang DW9807 is a 10 bit DAC from Dongwoon, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Andy Yeh Reviewed-by: Jacopo Mondi

[PATCH v2 2/3] media: imx258: Add imx258 camera sensor driver

2018-05-21 Thread bingbu . cao
From: Jason Chen Add a V4L2 sub-device driver for the Sony IMX258 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Andy Yeh Signed-off-by: Alan Chiang

[PATCH 1/3] dt-bindings: Add vendor prefix for AKM

2018-05-16 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Asahi Kasei Microdevices (AKM) offer a variety of advanced sensing devices based on compound semiconductor technology and sophisticated IC products featuring analog/digital mixed-signal technology. Signed-off-by: Bingbu Cao <bingbu@intel.co

[PATCH 2/3] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-05-16 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com> --- Docume

[PATCH 3/3] media: ak7375: Add ak7375 lens voice coil driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the I2C bus to control the focus position. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingbu@intel.com>

[PATCH] media: imx319: Add imx319 camera sensor driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the Sony IMX319 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Bingbu Cao <bingbu@intel.com> Signed-off-by: Tianshu Qiu <tian.sh

[PATCH] media: imx355: Add imx355 camera sensor driver

2018-05-16 Thread bingbu . cao
From: Bingbu Cao <bingbu@intel.com> Add a V4L2 sub-device driver for the Sony IMX355 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Tianshu Qiu <tian.shu@intel.com> Signed-off-by: Bingbu Cao <bingb