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

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

[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

[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

[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

[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

[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 +--

[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

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

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 ---

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

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

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

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

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 +

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

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

[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 |

[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

[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

[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 ---

[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 ---

[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 ---

[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

[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

[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

[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(-)

[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

[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

[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

[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

[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 +++--

[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

[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

[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

[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

[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 ---

[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

[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 |

[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