Re: [PATCH RFC v2 0/2] pxa_camera transition to v4l2 standalone device

2016-04-03 Thread Robert Jarzmik
Hans Verkuil writes: > Hi Robert, > > It's been a very busy time for me, and both Guennadi and myself are attending > the > ELC the coming week. Speaking for myself that means that it is unlikely I'll > have > time to review anything for the next two weeks. > > My own renesas driver conversion

Re: [PATCH v6 14/24] of/unittest: convert to use an explicit i2c mux core

2016-04-03 Thread Rob Herring
On Sun, Apr 03, 2016 at 10:52:44AM +0200, Peter Rosin wrote: > From: Peter Rosin > > Allocate an explicit i2c mux core to handle parent and child adapters > etc. Update the select op to be in terms of the i2c mux core instead > of the child adapter. > > Signed-off-by: Peter Rosin > --- > drive

cron job: media_tree daily build: ERRORS

2016-04-03 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Mon Apr 4 04:00:18 CEST 2016 git branch: test git hash: d3f5193019443ef8e556b64f3cd359773c4d377b gcc versi

[PATCH 1/2] v4l2-device.h: add v4l2_device_mask_ variants

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil The v4l2_device_call_* defines filter subdevs based on the grp_id value. But some drivers use a bitmask, so instead of filtering by grp_id == value, you want to filter by grp_id & value. Make variants of these defines to do this. The 'has_op' define has been extended to have

[PATCH 2/2] ivtv/cx18: use the new mask variants of the v4l2_device_call_* defines

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil Instead of rolling our own define, just use the new mask defines. Signed-off-by: Hans Verkuil --- drivers/media/pci/cx18/cx18-driver.h | 13 ++--- drivers/media/pci/ivtv/ivtv-driver.h | 13 ++--- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a

[PATCH 0/2] v4l2-device: add mask variants of v4l2_device_call_

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil It's a little thing that has annoyed me for, well, years, and since I had some time and I think it will be useful for an upcoming driver as well, I finally fixed this. Now we have variants of the v4l2_device_call_* defines that treat the grp_id as a bitmask. Updated ivtv and c

[PATCH 1/2] v4l2-rect.h: new header with struct v4l2_rect helper functions.

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil This makes it easier to share this code with any driver that needs to manipulate the v4l2_rect datastructure. Signed-off-by: Hans Verkuil --- Documentation/DocBook/device-drivers.tmpl | 1 + include/media/v4l2-rect.h | 175 ++ 2

[PATCH 2/2] vivid: use new v4l2-rect.h header

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil The v4l2_rect helper functions have been moved to include/media/v4l2-rect.h. Use this new header, dropping the functions from vivid. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-kthread-cap.c | 13 +-- drivers/media/platform/vivid/vivid-vid-cap.c |

[PATCH 0/2] v4l2-rect.h: struct v4l2_rect helper functions

2016-04-03 Thread Hans Verkuil
From: Hans Verkuil This patch series splits off the v4l2_rect helper functions from the vivid driver into a new v4l2-rect.h header. This makes them available for reuse in other drivers. Regards, Hans Hans Verkuil (2): v4l2-rect.h: new header with struct v4l2_rect helper functions.

Re: [PATCHv3] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-03 Thread Hans Verkuil
Hi Niklas, Some quick review comments... On 04/02/2016 10:52 AM, Niklas Söderlund wrote: A V4L2 driver for Renesas R-Car VIN driver that do not depend on soc_camera. The driver is heavily based on its predecessor and aims to replace it. Signed-off-by: Niklas Söderlund --- The driver is teste

Re: [PATCH 2/3] [media] adv7180: Add cropcap operation

2016-04-03 Thread Hans Verkuil
On 04/02/2016 10:42 AM, Niklas Söderlund wrote: Add support to get the pixel aspect ratio depending on the current standard (50 vs 60 Hz). Signed-off-by: Niklas Söderlund Acked-by: Hans Verkuil Thanks! Hans --- drivers/media/i2c/adv7180.c | 16 1 file change

Re: [PATCH 3/3] [media] adv7180: Add g_tvnorms operation

2016-04-03 Thread Hans Verkuil
On 04/02/2016 10:42 AM, Niklas Söderlund wrote: The ADV7180 supports NTSC, PAL and SECAM. Signed-off-by: Niklas Söderlund Acked-by: Hans Verkuil Thanks! Hans --- drivers/media/i2c/adv7180.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/m

Re: [PATCH 1/3] [media] adv7180: Add g_std operation

2016-04-03 Thread Hans Verkuil
On 04/02/2016 10:42 AM, Niklas Söderlund wrote: Add support to get the standard to the adv7180 driver. Signed-off-by: Niklas Söderlund Acked-by: Hans Verkuil Thanks! Hans --- drivers/media/i2c/adv7180.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/

Re: [PATCH RFC v2 0/2] pxa_camera transition to v4l2 standalone device

2016-04-03 Thread Hans Verkuil
Hi Robert, Thanks for the patches! On 04/02/2016 07:26 AM, Robert Jarzmik wrote: Hi Hans and Guennadi, This is the second opus of this RFC. The goal is still to see how close our ports are to see if there are things we could either reuse of change. From RFCv1, the main change is cleaning up

WE NEED YOUR HELP URGENTLY.

2016-04-03 Thread Tema williams
Dear Sir/madam, With due respect and to the glory of Almighty God whom we worship I call upon you to assist my family. Please Permit me to inform you of my desire of going into business relationship with you. My name is Tema Williams,The only Son of late Chief PATRICK WILLIAMS. My father was a ve

Re: [PATCH v6 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
On 2016-04-03 12:51, Jonathan Cameron wrote: > On 03/04/16 09:52, Peter Rosin wrote: >> From: Peter Rosin >> >> Allocate an explicit i2c mux core to handle parent and child adapters >> etc. Update the select/deselect ops to be in terms of the i2c mux core >> instead of the child adapter. >> >> Sig

Re: [PATCH v6 19/24] i2c-mux: document i2c muxes and elaborate on parent-/mux-locked muxes

2016-04-03 Thread Jonathan Cameron
On 03/04/16 09:52, Peter Rosin wrote: > From: Peter Rosin > > Signed-off-by: Peter Rosin Very nice, one typo that I could see. > --- > Documentation/i2c/i2c-topology | 370 > + > MAINTAINERS| 1 + > 2 files changed, 371 insertions(

Re: [PATCH v6 20/24] iio: imu: inv_mpu6050: change the i2c gate to be mux-locked

2016-04-03 Thread Jonathan Cameron
On 03/04/16 09:52, Peter Rosin wrote: > From: Peter Rosin > > The root i2c adapter lock is then no longer held by the i2c mux during > accesses behind the i2c gate, and such accesses need to take that lock > just like any other ordinary i2c accesses do. > > So, declare the i2c gate mux-locked, a

Re: [PATCH v6 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-03 Thread Jonathan Cameron
On 03/04/16 09:52, Peter Rosin wrote: > From: Peter Rosin > > Allocate an explicit i2c mux core to handle parent and child adapters > etc. Update the select/deselect ops to be in terms of the i2c mux core > instead of the child adapter. > > Signed-off-by: Peter Rosin I'm mostly fine with this (

[PATCH v6 05/24] i2c: i2c-mux-pca9541: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pca9541.c | 55 -

[PATCH v6 01/24] i2c-mux: add common data for every i2c-mux instance

2016-04-03 Thread Peter Rosin
From: Peter Rosin All i2c-muxes have a parent adapter and one or many child adapters. A mux also has some means of selection. Previously, this was stored per child adapter, but it is only needed to keep track of this per mux. Add an i2c mux core, that keeps track of this consistently. Also add

[PATCH v6 11/24] [media] rtl2832: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/rtl2832.c |

[PATCH v6 09/24] [media] m88ds3103: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/m88ds3103.c | 18

[PATCH v6 10/24] [media] rtl2830: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/rtl2830.c | 17 ++

[PATCH v6 04/24] i2c: i2c-arb-gpio-challenge: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 47 +-

[PATCH v6 00/24] i2c mux cleanup and locking update

2016-04-03 Thread Peter Rosin
From: Peter Rosin Hi! I have a pair of boards with this i2c topology: GPIO ---| -- BAT1 | v / I2C -+--B---+ MUX | \ EEPROM -- BAT2 (B denotes the bound

[PATCH v6 20/24] iio: imu: inv_mpu6050: change the i2c gate to be mux-locked

2016-04-03 Thread Peter Rosin
From: Peter Rosin The root i2c adapter lock is then no longer held by the i2c mux during accesses behind the i2c gate, and such accesses need to take that lock just like any other ordinary i2c accesses do. So, declare the i2c gate mux-locked, and zap the code that makes the unlocked i2c accesses

[PATCH v6 23/24] [media] rtl2832_sdr: get rid of empty regmap wrappers

2016-04-03 Thread Peter Rosin
From: Peter Rosin Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/rtl2832_sdr.c | 302 +- 1 file changed, 132 insertions(+), 170 deletions(-) diff --git a/drivers/media/dvb-frontends/rtl2832_sdr.c b/drivers/media/dvb-fronten

[PATCH v6 24/24] [media] rtl2832: regmap is aware of lockdep, drop local locking hack

2016-04-03 Thread Peter Rosin
From: Peter Rosin Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/rtl2832.c | 30 -- drivers/media/dvb-frontends/rtl2832_priv.h | 1 - 2 files changed, 31 deletions(-) diff --git a/drivers/media/dvb-frontends/rtl2832.c

[PATCH v6 15/24] i2c-mux: drop old unused i2c-mux api

2016-04-03 Thread Peter Rosin
From: Peter Rosin All i2c mux users are using an explicit i2c mux core, drop support for implicit i2c mux cores. Signed-off-by: Peter Rosin --- drivers/i2c/i2c-mux.c | 59 - include/linux/i2c-mux.h | 15 - 2 files changed, 74 deleti

[PATCH v6 14/24] of/unittest: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/of/unittest.c | 40 +++- 1 file changed,

[PATCH v6 18/24] i2c-mux: relax locking of the top i2c adapter during mux-locked muxing

2016-04-03 Thread Peter Rosin
From: Peter Rosin With a i2c topology like the following GPIO ---| -- BAT1 | v / I2C -+--+ MUX | \ EEPROM -- BAT2 there is a locking problem with the GPIO c

[PATCH v6 13/24] [media] cx231xx: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/media/usb/cx231xx/cx231xx-core.c | 6 ++-- drivers/media/usb/cx231xx/cx231x

[PATCH v6 17/24] i2c: muxes always lock the parent adapter

2016-04-03 Thread Peter Rosin
From: Peter Rosin Instead of checking for i2c parent adapters for every lock/unlock, simply override the locking for muxes to always lock/unlock the parent adapter directly. Signed-off-by: Peter Rosin --- drivers/i2c/i2c-core.c | 21 +++-- drivers/i2c/i2c-mux.c | 27 ++

[PATCH v6 19/24] i2c-mux: document i2c muxes and elaborate on parent-/mux-locked muxes

2016-04-03 Thread Peter Rosin
From: Peter Rosin Signed-off-by: Peter Rosin --- Documentation/i2c/i2c-topology | 370 + MAINTAINERS| 1 + 2 files changed, 371 insertions(+) create mode 100644 Documentation/i2c/i2c-topology diff --git a/Documentation/i2c/i2c-topo

[PATCH v6 21/24] [media] si2168: change the i2c gate to be mux-locked

2016-04-03 Thread Peter Rosin
From: Antti Palosaari The root i2c adapter lock is then no longer held by the i2c mux during accesses behind the i2c gate, and such accesses need to take that lock just like any other ordinary i2c accesses do. So, declare the i2c gate mux-locked, and zap the code that makes the i2c accesses unlo

[PATCH v6 22/24] [media] rtl2832: change the i2c gate to be mux-locked

2016-04-03 Thread Peter Rosin
From: Peter Rosin The root i2c adapter lock is then no longer held by the i2c mux during accesses behind the i2c gate, and such accesses need to take that lock just like any other ordinary i2c accesses do. So, declare the i2c gate mux-locked, and zap the regmap overrides that makes the i2c acces

[PATCH v6 16/24] i2c: allow adapter drivers to override the adapter locking

2016-04-03 Thread Peter Rosin
From: Peter Rosin Add i2c_lock_bus() and i2c_unlock_bus(), which call the new lock_bus and unlock_bus ops in the adapter. These funcs/ops take an additional flags argument that indicates for what purpose the adapter is locked. There are two flags, I2C_LOCK_ADAPTER and I2C_LOCK_SEGMENT, but they

[PATCH v6 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 2 +- drivers/iio/imu/inv_mp

[PATCH v6 12/24] [media] si2168: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Reviewed-by: Antti Palosaari Signed-off-by: Peter Rosin --- drivers/media/dvb-frontends/si2168.c |

[PATCH v6 07/24] i2c: i2c-mux-reg: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-reg.c | 63 -

[PATCH v6 03/24] i2c: i2c-mux-pinctrl: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pinctrl.c | 86 +

[PATCH v6 02/24] i2c: i2c-mux-gpio: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-gpio.c | 54

[PATCH v6 06/24] i2c: i2c-mux-pca954x: convert to use an explicit i2c mux core

2016-04-03 Thread Peter Rosin
From: Peter Rosin Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Add a mask to handle the case where not all child adapters should cause a mux deselect to happen, now that