On 11/01/2018 03:30 PM, Tomasz Figa wrote:
> On Thu, Nov 1, 2018 at 11:03 PM Laurent Pinchart
> wrote:
>>
>> Hi Alexandru,
>>
>> On Thursday, 18 October 2018 20:28:06 EET Alexandru M Stan wrote:
>>> On Wed, Oct 17, 2018 at 9:31 PM, Tomasz Figa wrote:
On Thu, Oct 18, 2018 at 5:50 AM Laurent Pi
On 02/12/2018 07:11 PM, Kieran Bingham wrote:
[...]
> + /*
> + * The adv75xx resets its addresses to defaults during low power power
> + * mode. Because we have two ADV7513 devices on the same bus, we must
> + * change both of them away from the defaults so that they do not
> +
On 01/22/2018 01:50 PM, Kieran Bingham wrote:
> The ADV7511 has four 256-byte maps that can be accessed via the main I²C
> ports. Each map has it own I²C address and acts as a standard slave
> device on the I²C bus.
>
> Allow a device tree node to override the default addresses so that
> address c
settings to the power-on-reset value of the
device when probing through devicetree to avoid this issue.
Fixes: 0e158be0162b ("adv7604: Add DT support")
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7604.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/i2c/a
ield
> mode via I2P, set the field mode to V4L2_FIELD_ALTERNATE.
>
> Signed-off-by: Steve Longerbeam
> Signed-off-by: Niklas Söderlund
Acked-by: Lars-Peter Clausen
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a mess
On 08/03/2016 06:55 PM, Steve Longerbeam wrote:
> On 08/03/2016 06:21 AM, Niklas Söderlund wrote:
>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote:
>>> [...]
>>>> diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
>>>> index
On 08/03/2016 04:42 PM, Ian Arkver wrote:
> On 03/08/16 15:23, Lars-Peter Clausen wrote:
>> On 08/03/2016 04:11 PM, Hans Verkuil wrote:
>>>
>>> On 08/03/2016 03:21 PM, Niklas Söderlund wrote:
>>>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote:
>&g
On 08/03/2016 04:11 PM, Hans Verkuil wrote:
>
>
> On 08/03/2016 03:21 PM, Niklas Söderlund wrote:
>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote:
>>> [...]
>>>> diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
>>>>
On 08/03/2016 04:23 PM, Lars-Peter Clausen wrote:
> On 08/03/2016 04:11 PM, Hans Verkuil wrote:
>>
>>
>> On 08/03/2016 03:21 PM, Niklas Söderlund wrote:
>>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote:
>>>> [...]
>>>>> diff --git
[...]
> diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
> index a8b434b..c6fed71 100644
> --- a/drivers/media/i2c/adv7180.c
> +++ b/drivers/media/i2c/adv7180.c
> @@ -680,10 +680,13 @@ static int adv7180_set_pad_format(struct v4l2_subdev
> *sd,
> switch (format->format.
On 07/20/2016 02:03 AM, Steve Longerbeam wrote:
> Replace hard-coded addresses with new register macro defines. No
> functional changes.
>
> Signed-off-by: Steve Longerbeam
Acked-by: Lars-Peter Clausen
--
To unsubscribe from this list: send the line "unsubscribe linux-media&
On 07/20/2016 02:03 AM, Steve Longerbeam wrote:
> Some targets control the ADV7180 power pin via a gpio, so add
> optional support for "powerdown" pin control.
>
> Signed-off-by: Steve Longerbeam
> Tested-by: Tim Harvey
> Acked-by: Tim Harvey
> Cc: Lars-Pet
On 07/09/2016 11:36 PM, Steve Longerbeam wrote:
>
>
> On 07/09/2016 02:10 PM, Steve Longerbeam wrote:
>>
>>
>> On 07/09/2016 11:59 AM, Steve Longerbeam wrote:
>>>
>>>
>>> On 07/07/2016 07:52 AM, Lars-Peter Clausen wrote:
>>>>
On 07/07/2016 12:59 AM, Steve Longerbeam wrote:
> Autodetect was likely broken only because access to the
> interrupt registers were broken, so there were no standard
> change interrupts. After fixing that, and reverting this,
> autodetect seems to work just fine on an i.mx6q SabreAuto.
>
> This r
teve Longerbeam
Looks good, thanks.
Acked-by: Lars-Peter Clausen
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
> @@ -1190,6 +1207,20 @@ out_unlock:
> return ret;
> }
>
> +static int adv7180_of_parse(struct adv7180_state *state)
Since there is nothing of specific in here anymore the name should be
changed, or maybe just inline the code directly in probe.
> +{
> + struct i2c_client *client = st
On 07/07/2016 12:59 AM, Steve Longerbeam wrote:
> Define and load register tables that conform to Analog Device's
> recommended register settings. It loads the default single-ended
> CVBS on Ain1 configuration for both ADV7180 and ADV7182 chips.
The driver should already setup the recommended conf
ke the Renesas vin driver, which is used in
combination with the adv7180 on some boards, uses the return value from
enum_mbus_code to setup the video pipeline. Adding Niklas to Cc, maybe he
can help to test this.
But otherwise
Acked-by: Lars-Peter Clausen
> ---
> drivers/media/i2c/adv7
On 07/07/2016 12:59 AM, Steve Longerbeam wrote:
> Add a device tree boolean property "bt656-4" to allow setting
> the ITU-R BT.656-4 compatible bit.
>
> Signed-off-by: Steve Longerbeam
Hi,
Thanks for the patch.
> ---
> drivers/media/i2c/adv7180.c | 18 +-
> 1 file changed, 17
On 06/15/2016 12:49 AM, Steve Longerbeam wrote:
> This driver is based on adv7180.c from Freescale imx_3.10.17_1.0.0_beta
> branch, modified heavily for code cleanup and converted from int-device
> to subdev.
We already have a driver for the adv7180 upstream, also using the subdev
API. Is there an
On 06/15/2016 12:49 AM, Steve Longerbeam wrote:
> + usleep_range(5000, 5001);
That's kind of not how usleep_range() (the emphasis is on range) is supposed
to be used. You typically dont care too much about the upper limit here so
something like maybe 1 is more appropriate.
> +sta
lays will be 10 ms.
> The RESET pin can be tied high, so the GPIO is optional.
>
> Signed-off-by: Dragos Bogdan
Patch looks OK. One comment about the commit message, usually this should be
line-wrapped at around 75 characters.
Reviewed-by: Lars-Peter Clausen
Thanks.
--
To unsubscribe
On 05/03/2016 05:06 PM, Shuah Khan wrote:
> On 05/02/2016 04:16 AM, Lars-Peter Clausen wrote:
>> On 04/30/2016 12:37 AM, Shuah Khan wrote:
>> [...]
>>> diff --git a/include/media/media-devnode.h b/include/media/media-devnode.h
>>> index 5bb3b0e..ce9b051 100
On 04/30/2016 12:37 AM, Shuah Khan wrote:
[...]
> diff --git a/include/media/media-devnode.h b/include/media/media-devnode.h
> index 5bb3b0e..ce9b051 100644
> --- a/include/media/media-devnode.h
> +++ b/include/media/media-devnode.h
> @@ -72,6 +72,7 @@ struct media_file_operations {
> * @fops:
On 04/27/2016 11:56 PM, Shuah Khan wrote:
>>> dev_dbg(mdev->dev, "Media device unregistered\n");
>>> }
>>> diff --git a/drivers/media/media-devnode.c b/drivers/media/media-devnode.c
>>> index 29409f4..9af9ba1 100644
>>> --- a/drivers/media/media-devnode.c
>>> +++ b/drivers/media/media-devnode.
Looks mostly good, a few comments.
On 04/27/2016 05:08 AM, Shuah Khan wrote:
[...]
> @@ -428,7 +428,7 @@ static long media_device_ioctl(struct file *filp,
> unsigned int cmd,
> unsigned long arg)
> {
> struct media_devnode *devnode = media_devnode_data(filp);
>
s the interrupt, then when it detects a standard
> change it will signal that by sending the V4L2_EVENT_SOURCE_CHANGE
> event.
>
> With these changes this driver now behaves like all other video
> receivers.
>
> Signed-off-by: Hans Verkuil
> Cc: Niklas Söderlund
> Cc:
.
Patch was generated using the following semantic patch:
//
@@
expression irq;
@@
-synchronize_irq(irq);
free_irq(irq, ...);
//
Signed-off-by: Lars-Peter Clausen
---
drivers/media/pci/dm1105/dm1105.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/pci/dm1105/dm1105.c
b/drivers
On 11/12/2015 12:10 AM, Laurent Pinchart wrote:
> Hi Ulrich,
>
> (CC'ing Lars-Peter Clausen)
>
> Thank you for the patch.
>
> On Tuesday 10 November 2015 14:39:00 Ulrich Hecht wrote:
>> Initialization of the ADV7180 chip fails on the Renesas R8A7790-based
>
Added Hans, who's working a lot on the HDMI transmitter drivers (including
audio support) as well as the media list to Cc.
On 10/07/2015 10:19 AM, Arnaud Pouliquen wrote:
>
>
>>> My approach is the reverse: DRM driver does not need to know anything
>>> about audio side. As ALSA is the client of
On 08/13/2015 03:49 PM, Marek Szyprowski wrote:
> Hello,
>
> On 2015-08-13 14:40, Lars-Peter Clausen wrote:
>> On 08/12/2015 11:58 AM, Marek Szyprowski wrote:
>>> If device has no DMA max_seg_size set, we assume that there is no limit
>>> and it is safe to fo
On 08/12/2015 11:58 AM, Marek Szyprowski wrote:
> If device has no DMA max_seg_size set, we assume that there is no limit
> and it is safe to force it to use DMA_BIT_MASK(32) as max_seg_size to
> let DMA-mapping API always create contiguous mappings in DMA address
> space. This is essential for all
On 07/28/2015 09:14 AM, Hans Verkuil wrote:
On 07/28/2015 07:39 AM, Mike Looijmans wrote:
Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2").
This fixes the driver failing to load when built as module:
imageon_bridge: module license 'unspecified' taints kernel.
imageon_bridg
rs and
software, I2C addresses are in 7-bit notation, so it's better
to stick to that. Remove the "<<1" in a few places where it
logs the I2C address.
Signed-off-by: Mike Looijmans
Looks ok to me.
Acked-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7604.c | 8 +
On 07/13/2015 11:02 AM, Hans Verkuil wrote:
+static int adv76xx_subscribe_event(struct v4l2_subdev *sd,
+ struct v4l2_fh *fh,
+ struct v4l2_event_subscription *sub)
+{
+ switch (sub->type) {
+ case V4L2_EVENT_SOURCE_CHA
Cc: ALSA ML
On 07/08/2015 01:16 PM, Mauro Carvalho Chehab wrote:
> Hi,
>
> As discussed on our IRC #v4l channel at Freenode, we'll be running a 3-day
> Media Controller workshop in Helsinki between July 29-31.
>
> The main goal of this workshop is to fixup the problems with the Media
> Control
On 06/25/2015 12:21 PM, Sakari Ailus wrote:
Hi Lars-Peter,
On Wed, Jun 24, 2015 at 06:50:30PM +0200, Lars-Peter Clausen wrote:
Use the new v4l2_subdev_notify_event() helper function to deliver the
resolution change event to userspace via the v4l2 subdev event queue as
well as to the bridge
On 06/25/2015 11:47 AM, Sakari Ailus wrote:
Hi Lars-Peter,
On Wed, Jun 24, 2015 at 06:50:29PM +0200, Lars-Peter Clausen wrote:
Add a new helper function called v4l2_subdev_notify_event() which will
deliver the specified event to both the v4l2 subdev event queue as well as
to the notify
On 06/25/2015 11:12 AM, Sakari Ailus wrote:
Hi Hans,
On Tue, Jun 23, 2015 at 11:20:23AM +0200, Hans Verkuil wrote:
If the vdev pointer == NULL, then just return.
This makes it easier for subdev drivers to use this function without having to
check if the sd->devnode pointer is NULL or not.
Do
often necessary for video pipelines where there is no direct
1-to-1 relationship between the subdevice converter and the video capture
device and hence it does not make sense to directly forward the event to
the video capture device node.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c
Allow userspace applications to subscribe to control change events. This
can e.g. be used to monitor the 5V detect control to be notified when a
source is connected or disconnected.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7842.c | 5 -
1 file changed, 4 insertions(+), 1
often necessary for video pipelines where there is no direct
1-to-1 relationship between the subdevice converter and the video capture
device and hence it does not make sense to directly forward the event to
the video capture device node.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c
drivers. Combining both into the same function avoids boilerplate
code in subdev drivers.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/v4l2-core/v4l2-subdev.c | 18 ++
include/media/v4l2-subdev.h | 4
2 files changed, 22 insertions(+)
diff --git a/drivers/media
Allow userspace applications to subscribe to control change events. This
can e.g. be used to monitor the 5V detect control to be notified when a
source is connected or disconnected.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7604.c | 5 -
1 file changed, 4 insertions(+), 1
On 06/16/2015 10:38 AM, Pablo Anton wrote:
This is a preliminary patch in order to add support for ALSA.
It replaces all current i2c access with regmap.
Looks pretty good.
#define ADV76XX_REG(page, offset) (((page) << 8) | (offset))
@@ -633,13 +618,15 @@ static int adv76xx_read_reg(stru
On 05/27/2015 06:22 AM, Dylan Reid wrote:
On Tue, May 26, 2015 at 1:14 PM, Mark Brown wrote:
On Tue, May 26, 2015 at 08:43:34PM +0200, Lars-Peter Clausen wrote:
On 05/25/2015 07:15 PM, Mark Brown wrote:
I think it solves the 90% case well enough for simple-card (which is to
the main target
On 02/26/2015 07:19 PM, Lad Prabhakar wrote:
From: "Lad, Prabhakar"
this patch makes sure we unregister the subdev by calling
v4l2_device_unregister_subdev() on remove callback.
This was just removed a while ago, see commit 632f2b0db9da ("[media]
adv7180: Remove duplicate unregister call")[1
On 02/03/2015 04:24 PM, Hans Verkuil wrote:
On 02/03/15 16:22, Laurent Pinchart wrote:
Hi Hans,
On Monday 02 February 2015 11:09:27 Hans Verkuil wrote:
On 02/02/2015 11:01 AM, Laurent Pinchart wrote:
On Sunday 01 February 2015 12:26:11 Guennadi Liakhovetski wrote:
On a second thought:
On Su
On 02/01/2015 11:08 AM, Jean-Michel Hautbois wrote:
Looks mostly good, some things in addition to what Hans already said.
[...]
-
-static s32 adv_smbus_write_byte_data(struct adv7604_state *state,
-enum adv7604_page page, u8 command,
-
On 02/02/2015 09:33 PM, Wolfram Sang wrote:
Ok, this may eventually work ok for now, but a further change at the I2C
core could easily break it. So, we need to double check about such
patch with the I2C maintainer.
Jean,
Are you ok with such patch? If so, please ack.
Jean handed over I2C to
On 02/02/2015 02:36 PM, Mauro Carvalho Chehab wrote:
Em Fri, 23 Jan 2015 16:52:22 +0100
Lars-Peter Clausen escreveu:
Use a inline function instead of a macro for the container_of helper for
getting the driver's state struct from a control. A inline function has the
advantage that it is
the format.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 156 +---
1 file changed, 148 insertions(+), 8 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 868a677
format is configured slightly differs between some devices.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 187 ++--
1 file changed, 130 insertions(+), 57 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b
Reset the device when initializing it so it is in a good known state and the
assumed register settings matche the actual register settings.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
We have basically the same code to set the video standard in init_device()
and adv7180_s_std(). Factor this out into a common helper function.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 67 ++---
1 file
This patch adds support for the adv7280/adv7281/adv7282 devices to the
adv7180 driver. They are very similar to the adv7182, the main difference
from the drivers point of view are some different tuning constants for
improved video performance.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans
Add myself as the maintainer for the adv7180 video subdev driver.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4318f34..22bb77e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
need to
register a dummy device for it.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 170 +++-
1 file changed, 154 insertions(+), 16 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c
either enable or disable fast switch mode.
Signed-off-by: Lars-Peter Clausen
--
Changes since v1:
* Reserve private control range and use it for the fast switch control
* Changed control name from "Fast switch" to "Fast Switch"
---
drivers/media/i2c/a
t the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so it is
possible to create a subdevice device node.
Since the driver now depends on VIDEO_V4L2_SUBDEV_API all drivers which
select the driver need to depend on that symbol as well.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Ve
means that a register access is not a single atomic
i2c_smbus_write_byte_data() or i2c_smbus_read_byte_data() call and we need
to make sure that concurrent register access does not race against each
other.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c
This patch adds support for the adv7182 to the adv7180 driver. The adv7182
is similar to the adv7180, the main difference from the driver's point of
view is how the video input and how the input format are selected.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/medi
Consistently prefix register defines with ADV7180_REG. Also remove the "ADI"
from register names, the ADV7180 prefix should provide enough of a namespace
separation.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv71
Most IRQ controllers support different types of interrupts. The adv7180
generates falling edge interrupts, so make sure to pass IRQF_TRIGGER_FALLING
to request_threaded_irq() so the IRQ controller is configured for the
correct mode.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
.
The first half of this series contains fixes and cleanups while the second
half adds new features and support for new chips
Lars-Peter Clausen (15):
[media] adv7180: Do not request the IRQ again during resume
[media] adv7180: Pass correct flags to request_threaded_irq()
[media] adv7180
Use a inline function instead of a macro for the container_of helper for
getting the driver's state struct from a control. A inline function has the
advantage that it is more typesafe and nicer in general.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7
requested once.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index bffe6eb..172e4a2 100644
--- a/drivers/media/i2c
On 12/16/2014 05:49 PM, Fabio Estevam wrote:
There is no need to jump to the 'err' label as we can simply return the error
code directly and make the code shorter.
Signed-off-by: Fabio Estevam
Acked-by: Lars-Peter Clausen
--
To unsubscribe from this list: send the line "un
On 01/13/2015 02:04 PM, Hans Verkuil wrote:
Hi Lars,
On 01/13/15 13:01, Lars-Peter Clausen wrote:
The adv7180 is part of a larger family of chips which all implement
different features from a feature superset. This patch series step by step
extends the current adv7180 with features from the
On 01/13/2015 01:55 PM, Mats Randgaard (matrandg) wrote:
On 01/13/2015 01:01 PM, Lars-Peter Clausen wrote:
Add myself as the maintainer for the adv7180 video subdev driver.
>
> Signed-off-by: Lars-Peter Clausen --- MAINTAINERS |
> 7 +++ 1 file changed, 7 insertions(+)
>
Reset the device when initializing it so it is in a good known state and the
assumed register settings matches the actual register settings.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a
means that a register access is not a single atomic
i2c_smbus_write_byte_data() or i2c_smbus_read_byte_data() call and we need
to make sure that concurrent register access does not race against each
other.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 206
t the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so it is
possible to create a subdevice device node.
Since the driver now depends on VIDEO_V4L2_SUBDEV_API all drivers which
select the driver need to depend on that symbol as well.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/Kc
need to
register a dummy device for it.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 170 +++-
1 file changed, 154 insertions(+), 16 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index ea6695c
the format.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 156 +---
1 file changed, 148 insertions(+), 8 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 868a677..4d789c7 100644
--- a/drivers
* Free Running Color: Allows to select the color of the pattern
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 125 ++--
1 file changed, 122 insertions(+), 3 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180
either enable or disable fast switch mode.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 4d789c7..82c8296 100644
--- a/drivers/media
This patch adds support for the adv7280/adv7281/adv7282 devices to the
adv7180 driver. They are very similar to the adv7182, the main difference
from the drivers point of view are some different tuning constants for
improved video performance.
Signed-off-by: Lars-Peter Clausen
---
drivers/media
Consistently prefix register defines with ADV7180_REG. Also remove the "ADI"
from register names, the ADV7180 prefix should provide enough of a namespace
separation.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 105 ++
Add myself as the maintainer for the adv7180 video subdev driver.
Signed-off-by: Lars-Peter Clausen
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4318f34..22bb77e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -659,6 +659,13 @@ L
.
The first half of this series contains fixes and cleanups while the second
half adds new features and support for new chips.
- Lars
Lars-Peter Clausen (16):
[media] adv7180: Do not request the IRQ again during resume
[media] adv7180: Pass correct flags to request_threaded_irq()
[media
Use a inline function instead of a macro for the container_of helper for
getting the driver's state struct from a control. A inline function has the
advantage that it is more typesafe and nicer in general.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 13 +++
format is configured slightly differs between some devices.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 187 ++--
1 file changed, 130 insertions(+), 57 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180
We have basically the same code to set the video standard in init_device()
and adv7180_s_std(). Factor this out into a common helper function.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 67 ++---
1 file changed, 32 insertions
requested once.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index bffe6eb..172e4a2 100644
--- a/drivers/media/i2c/adv7180.c
+++ b/drivers
This patch adds support for the adv7182 to the adv7180 driver. The adv7182
is similar to the adv7180, the main difference from the driver's point of
view is how the video input and how the input format are selected.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7180.c
Most IRQ controllers support different types of interrupts. The adv7180
generates falling edge interrupts, so make sure to pass IRQF_TRIGGER_FALLING
to request_threaded_irq() so the IRQ controller is configured for the
correct mode.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c
On 12/19/2014 11:58 AM, Antti Palosaari wrote:
On 12/18/2014 11:34 PM, Lars-Peter Clausen wrote:
On 12/18/2014 10:05 PM, Antti Palosaari wrote:
lockdep complains recursive locking and deadlock when two different
regmap instances are called in a nested order. That happen easily
for example when
On 12/18/2014 10:05 PM, Antti Palosaari wrote:
lockdep complains recursive locking and deadlock when two different
regmap instances are called in a nested order. That happen easily
for example when both I2C client and muxed/repeater I2C adapter are
using regmap. As a solution, pass regmap name fo
Adding V4L folks to Cc for more input.
On 12/08/2014 03:10 PM, Baluta, Teodora wrote:
Hello,
On Vi, 2014-12-05 at 02:15 +, Jonathan Cameron wrote:
On 04/12/14 13:00, Teodora Baluta wrote:
This patchset adds support for fingerprint sensors through the IIO interface.
This way userspace appl
On 12/16/2014 05:49 PM, Fabio Estevam wrote:
The macro SIMPLE_DEV_PM_OPS already takes care of the CONFIG_PM_SLEEP=n case.
I guess that's kind of debatable. The purpose of ifdef-ing stuff out is to
decrease the driver size if PM support is disabled. With this change you are
adding a rather la
On 11/16/2014 08:59 AM, Pavel Machek wrote:
[...]
+ adp1653: adp1653@30 {
+ compatible = "ad,adp1653";
The Analog Devices vendor prefix is adi.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
Mo
On 10/14/2014 04:58 PM, Shuah Khan wrote:
[...]
switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
+ err = media_get_audio_tkn(&subs->dev->dev);
+ if (err == -EBUSY) {
+ dev_info(&subs->dev->dev, "%s device is busy\n",
+
On 08/29/2014 05:15 PM, Jean-Michel Hautbois wrote:
This patch uses DT in order to parse addresses for dummy devices of adv7604.
The ADV7604 has thirteen 256-byte maps that can be accessed via the main
I²C ports. Each map has it own I²C address and acts
as a standard slave device on the I²C bus.
On 08/29/2014 05:15 PM, Jean-Michel Hautbois wrote:
This is based on reg and reg-names in DT.
Example:
reg = <0x10 0x20 0x30>;
reg-names = "main", "io", "test";
This function will create dummy devices io and test
with addresses 0x20 and 0x30 respectively.
Signed-off-by: Jean-Michel Hautbois
On 08/29/2014 05:15 PM, Jean-Michel Hautbois wrote:
This is based on reg and reg-names in DT.
Example:
reg = <0x10 0x20 0x30>;
reg-names = "main", "io", "test";
This function will create dummy devices io and test
with addresses 0x20 and 0x30 respectively.
Signed-off-by: Jean-Michel Hautbois
On 08/27/2014 03:03 PM, Hans Verkuil wrote:
On 08/27/14 14:53, jean-michel.hautb...@vodalys.com wrote:
From: Jean-Michel Hautbois
This patch adds support for DT parsing of register maps adresses.
This allows multiple adv76xx devices on the same bus.
Signed-off-by: Jean-Michel Hautbois
---
enhance performance
in some cases.
Signed-off-by: Lars-Peter Clausen
---
drivers/media/i2c/adv7604.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c
index 1778d32..d4fa213 100644
--- a/drivers/media/i2c/adv7604.c
+++ b
On 06/06/2014 05:49 PM, Ben Dooks wrote:
On 05/06/14 13:55, Mauro Carvalho Chehab wrote:
Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
topic/adv76xx
For adv7604 driver updates, including DT support.
Can we use the adv7611 for the adv7612 with
On 05/30/2014 07:33 PM, David Daney wrote:
On 05/30/2014 04:39 AM, Geert Uytterhoeven wrote:
On Fri, May 30, 2014 at 1:30 PM, abdoulaye berthe
wrote:
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1263,10 +1263,9 @@ static void gpiochip_irqchip_remove(struct
gpio_chip *gpiochip)
1 - 100 of 142 matches
Mail list logo