This patch adds the driver for the LM3646, dual LED Flash driver.
The LM3646 has two 1.5A sync. boost converter with dual white current source.
It is controlled via an I2C compatible interface.
Each flash brightness, torch brightness and enable/disable can be controlled.
UVLO, IVFM and NTC threshh
Hi, please find attached a scan table for au-Melbourne-Selby. This file
is very similar to the scan table file for au-Melbourne-Upwey (which I
was able to use until quite recently). However the fec_hi value of "2/3"
for SBS no longer works for me, and I need to use "AUTO" instead. I
don't know
> I suspect this is actually a different problem which out of dumb luck
> gets "fixed" by resetting the chip. Without more details on the
> specific behavior you are seeing though I cannot really advise on what
> the correct change is.
Tim,
It might be worth trying out the following patch series
On Mon, Jan 6, 2014 at 11:29 PM, Tim Mester wrote:
> The demodulator can get in a state in ATSC mode where just
> restarting the feed alone does not correct the corrupted stream. The
> demodulator reset in addition to the feed restart seems to correct
> the condition.
>
> The au8522 driver has be
Added command line parameter preallocate_big_buffers so that the digital
transfer buffers can be allocated when the driver is registered. They
do not have to be allocated every time a feed is started.
Signed-off-by: Tim Mester
---
linux/drivers/media/usb/au0828/au0828-core.c | 13 +---
linux
The demodulator can get in a state in ATSC mode where just
restarting the feed alone does not correct the corrupted stream. The
demodulator reset in addition to the feed restart seems to correct
the condition.
The au8522 driver has been modified so that when set_frontend() is
called with the same
Free what was allocated if there is a failure allocating
transfer buffers.
Stop the feed on a start feed error. The stop feed is not always called
if start feed fails. If the feed is not stopped on error, then the driver
will be stuck so that it can never start feeding again.
Signed-off-by: Tim
Hi Mauro,
Thanks for the reveiw.
On Fri, Jan 3, 2014 at 1:55 AM, Mauro Carvalho Chehab
wrote:
> Em Fri, 4 Oct 2013 17:56:32 +0530
> Shaik Ameer Basha escreveu:
>
>> This patch adds the core functionality for the SCALER driver.
>>
>> Signed-off-by: Shaik Ameer Basha
>> ---
>> drivers/media/pl
Hi Mauro,
Thanks for the review comments.
On Fri, Jan 3, 2014 at 1:48 AM, Mauro Carvalho Chehab
wrote:
> Em Fri, 4 Oct 2013 17:56:31 +0530
> Shaik Ameer Basha escreveu:
>
>> This patch adds support for SCALER device which is a new device
>> for scaling, blending, color fill and color space co
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: Tue Jan 7 04:00:27 CET 2014
git branch: test
git hash: 54a2a84ea9e8640b4f1df4e222e305d03bb64065
gcc versio
Hi,
There are still 5 slots open for the FOSDEM graphics DevRoom, and the
deadline is this friday, the 10th. Get a move on.
If you have requested an account reset with me before, but if you then
haven't bothered filing a talk, you do NOT have a slot. Please file a
talk ASAP to still secure a p
On Mon, Jan 6, 2014 at 9:42 PM, m silverstri
wrote:
> Thanks. I try the latest (I clone linux from
> https://github.com/torvalds/linux) and do 'make ARCH=arm
> CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- imx_v6_v7_defconfig' again,
> I see
>
> " CONFIG_V4L2_MEM2MEM_DEV=y" in the generated .config.
Thanks. I try the latest (I clone linux from
https://github.com/torvalds/linux) and do 'make ARCH=arm
CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- imx_v6_v7_defconfig' again,
I see
" CONFIG_V4L2_MEM2MEM_DEV=y" in the generated .config.
But when I try to add 'CONFIG_VIDEO_SAMSUNG_S5P_JPEG=y' to
imx_
Am 05.01.2014 16:18, schrieb Mauro Carvalho Chehab:
> Em Sun, 05 Jan 2014 10:56:33 -0200
> Mauro Carvalho Chehab escreveu:
>
>> Em Sun, 05 Jan 2014 11:47:00 +0100
>> Frank Schäfer escreveu:
>>
>>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
Now that all analog-specific code are at em
On Mon, Jan 6, 2014 at 7:22 PM, m silverstri
wrote:
> I have added 'CONFIG_V4L2_MEM2MEM_DEV=y' to my 'imx_v6_v7_defconfig'
> and do a "make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
> imx_v6_v7_defconfig", I don't see CONFIG_V4L2_MEM2MEM_DEV being set to
> 'y' in .config that was automat
Am 05.01.2014 15:40, schrieb Mauro Carvalho Chehab:
> Em Sun, 05 Jan 2014 11:26:14 +0100
> Frank Schäfer escreveu:
>
>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
>>> There are several init code inside em28xx-cards that are actually
>>> part of analog initialization. Move the code to em28
I have added 'CONFIG_V4L2_MEM2MEM_DEV=y' to my 'imx_v6_v7_defconfig'
and do a "make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
imx_v6_v7_defconfig", I don't see CONFIG_V4L2_MEM2MEM_DEV being set to
'y' in .config that was automatically generated.
I think I am making changes to the right '
Em Mon, 06 Jan 2014 18:44:02 +0100
Frank Schäfer escreveu:
> Am 05.01.2014 14:08, schrieb Mauro Carvalho Chehab:
> > Em Sun, 05 Jan 2014 11:55:34 +0100
> > Frank Schäfer escreveu:
> >
> >> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
> >>> Add a message with consistent prints before and a
Am 05.01.2014 14:10, schrieb Mauro Carvalho Chehab:
> Em Sun, 05 Jan 2014 12:03:51 +0100
> Frank Schäfer escreveu:
>
>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
>>> The I2C wait completion/timeout logic currently assumes that
>>> msleep(5) will wait exaclty 5 ms. This is not true at all
Am 05.01.2014 14:08, schrieb Mauro Carvalho Chehab:
> Em Sun, 05 Jan 2014 11:55:34 +0100
> Frank Schäfer escreveu:
>
>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
>>> Add a message with consistent prints before and after each
>>> extension initialization, and provide a better text for mod
Am 05.01.2014 13:56, schrieb Mauro Carvalho Chehab:
> Em Sun, 05 Jan 2014 11:47:00 +0100
> Frank Schäfer escreveu:
>
>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
>>> Now that all analog-specific code are at em28xx-video, convert
>>> it into an em28xx extension and load it as a separate m
The I2C wait completion/timeout logic currently assumes that
msleep(5) will wait exaclty 5 ms. This is not true at all,
as it depends on CONFIG_HZ.
Convert it to use jiffies, in order to not wait for more time
than needed.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/usb/em28xx/em28xx
Follow the error codes for I2C as described at Documentation/i2c/fault-codes.
In the case of the I2C status register (0x05), this is mapped into:
- ETIMEDOUT - when reg 05 returns 0x10
- ENXIO - when the device is not temporarily not responding
(e. g. reg 05 retu
In the lack of a better spec, let's assume the timeout
values compatible with SMBus spec:
http://smbus.org/specs/smbus110.pdf
at chapter 8 - Electrical Characteristics of SMBus devices
Ok, SMBus is a subset of I2C, and not all devices will be
following it, but the timeout value before thi
This macro is used by all em28xx devices, and not just em2800.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/usb/em28xx/em28xx-i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/media/usb/em28xx/em28xx-i2c.c
b/drivers/media/usb/em28xx/em28xx-i2c.c
i
If i2c_debug is enabled, we splicitly want to know when a
device fails with timeout.
If i2c_debug==2, this is already provided, for each I2C transfer
that fails.
However, most of the time, we don't need to go that far. We just
want to know that I2C transfers fail.
So, add such errors for normal
This is a series of cleanup patches for em28xx I2C. It was originally
part of a series of patches meant to split em28xx V4L2 module, but it
makes sense to submit as a separate patch set.
This series basically does:
- make em28xx compilant with standard I2C errors, as defined
at
The I2C output messages is too polluted. Clean it a little
bit, by:
- use the proper core support for memory dumps;
- hide most stuff under the i2c_debug umbrella;
- add the missing KERN_CONT where needed;
- use 2 levels or verbosity. Only the second one
wi
Em Sun, 05 Jan 2014 19:25:57 -0200
Mauro Carvalho Chehab escreveu:
> Em Sun, 05 Jan 2014 22:02:40 +0100
> Frank Schäfer escreveu:
>
> > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
> > > From: Mauro Carvalho Chehab
> > Is this line still correct ? ;)
> >
> > > Instead of allocating/dea
Em Mon, 06 Jan 2014 08:01:31 -0200
Mauro Carvalho Chehab escreveu:
> When xc2028/3028 is powered down, it won't response to any command, until
> a firmware is loaded. That means that reading frontend status will fail
> with a timeout.
>
> Also, any trial to put the device to sleep twice will fai
On 01/06/2014 03:30 PM, Tom wrote:
> Hello,
>
> I want to add some driver specific ctrls to my ctrl-handler which are not
> defined in the "/include/uapi/linux/v4l2-controls.h".
> I read that I would need the "V4L2_CID_PRIVATE_BASE" to define the new IDs,
> but I don't get how I can add them to my
Tom gmx.net> writes:
sorry I forgot to tell that I am using linux version 3.10.
Best Regards, Tom
--
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
Hello,
I want to add some driver specific ctrls to my ctrl-handler which are not
defined in the "/include/uapi/linux/v4l2-controls.h".
I read that I would need the "V4L2_CID_PRIVATE_BASE" to define the new IDs,
but I don't get how I can add them to my ctrl-handler so that they are
accessible by ca
Oops, forgot to mention that the git tree containing these patches can be found
here:
http://git.linuxtv.org/hverkuil/media_tree.git/shortlog/refs/heads/propapi6
Regards,
Hans
On 01/06/2014 03:20 PM, Hans Verkuil wrote:
> This patch series adds support for properties, matrices and confi
From: Hans Verkuil
Add a new struct and ioctl to extend the amount of information you can
get for a control/property.
It allows you to query controls in a specific configuration store, it
gives back a unit string, the range is now a s64 type, and the matrix
and element size can be reported throu
From: Hans Verkuil
In order to implement stores we need to have more generic copy
routines. The v4l2_ctrl_ptr union was designed for this.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 129 +++
1 file changed, 56 insertions(+), 73 deleti
From: Hans Verkuil
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1 +
drivers/media/v4l2-core/v4l2-dev.c| 2 ++
drivers/media/v4l2-core/v4l2-ioctl.c | 31 +++
drivers/media/v4l2-core/v4l2-subdev.c | 3 +++
From: Hans Verkuil
The upcoming VIDIOC_QUERY_EXT_CTRL adds support for a unit string. This
allows userspace to show the unit belonging to a particular control.
This patch adds support for the unit string to the control framework.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-co
From: Hans Verkuil
Properties are controls that are not shown in GUIs and can be used for
compound and array types.
This allows for more complex datastructures to be used with the
control framework.
Properties will have the V4L2_CTRL_FLAG_PROPERTY flag set. The existing
V4L2_CTRL_FLAG_NEXT_CTRL
From: Hans Verkuil
Controls/properties that have a configuration store will set this flag.
Signed-off-by: Hans Verkuil
---
include/uapi/linux/videodev2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 2dda52d..0803da9 1
From: Hans Verkuil
Add support for a selection property and for u8 and u16 matrices.
Signed-off-by: Hans Verkuil
---
include/uapi/linux/videodev2.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index afa335d..
From: Hans Verkuil
Add core support for matrices.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 57 +++-
include/media/v4l2-ctrls.h | 8 +++--
2 files changed, 41 insertions(+), 24 deletions(-)
diff --git a/drivers/media/v4l2
From: Hans Verkuil
This target can be used to set the frame size for devices that do not
support S_STD or S_DV_TIMINGS.
Signed-off-by: Hans Verkuil
---
include/uapi/linux/v4l2-common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/v4l2-common.h b/include/uapi/linux/v
From: Hans Verkuil
Add a class for properties (for demonstration purposes only, will need to be
renamed) and capture/output crop/compose and motion detection matrix
properties.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 3 +++
include/uapi/linux/v4l2-controls.h |
From: Hans Verkuil
Instead of having to maintain the 'cur' union this patch replaces it by
a v4l2_ctrl_ptr union to be consistent with configuration stores, which
also use that union. The number of drivers that use 'cur' is fairly small,
so it is easy enough to convert them all.
Unfortunately, t
From: Hans Verkuil
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 30 ++
include/media/v4l2-ctrls.h | 3 +++
2 files changed, 33 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2-core/v4l2-ctrls.
From: Hans Verkuil
Signed-off-by: Hans Verkuil
---
drivers/media/platform/vivi.c | 312 ++
1 file changed, 286 insertions(+), 26 deletions(-)
diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c
index 2ec8511..0532d2b 100644
--- a/d
From: Hans Verkuil
When queuing buffers allow for passing the configuration store ID that
should be associated with this buffer. Use the 'reserved2' field for this.
Signed-off-by: Hans Verkuil
---
drivers/media/usb/cpia2/cpia2_v4l.c | 2 +-
drivers/media/v4l2-core/v4l2-compat-ioctl32
From: Hans Verkuil
Drivers need to be able to select a specific store. Add a new function that can
be used to apply a given store.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 67
include/media/v4l2-ctrls.h | 2 ++
2 fil
From: Hans Verkuil
Codingstyle fix.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2-core/v4l2-ctrls.c
index bb63d2a..
This patch series adds support for properties, matrices and configuration
stores to the control framework.
See this RFCv2 for a more detailed discussion:
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/71822
Changes since that RFCv2 are:
- I dropped the 'property' bit
From: Hans Verkuil
Finish the userspace-facing matrix support.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 106 ---
1 file changed, 61 insertions(+), 45 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v
From: Hans Verkuil
While VIDIOC_QUERYCTRL is limited to 32 bit min/max/step/def values
for controls, the upcoming VIDIOC_QUERY_EXT_CTRL isn't. So increase
the internal representation to 64 bits in preparation.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-common.c | 6 ++-
From: Hans Verkuil
Add cols and rows fields to the core control structures in preparation
for matrix support.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 24
include/media/v4l2-ctrls.h | 6 ++
2 files changed, 22 insertions(+),
From: Hans Verkuil
The ctrl_class is fairly pointless when used with drivers that use the control
framework: you can just fill in 0 and it will just work fine. There are still
some old unconverted drivers that do not support 0 and instead want the control
class there. The idea being that all cont
From: Hans Verkuil
Extend the control type operations to handle matrix elements.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 40
1 file changed, 22 insertions(+), 18 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
From: Hans Verkuil
Since properties can have non-standard types we need to be able to do
type-specific
checks etc. In order to make that easy type operations are added. There are four
operations:
- equal: check if two values are equal
- init: initialize a value
- log: log the value
- validate:
From: Hans Verkuil
When setting a control the control's new value is compared to the current
value twice: once by new_to_store(), once by cluster_changed(). Not a big
deal when dealing with simple values, but it can be a problem when dealing
with compound types or matrices. So fix this: cluster_c
From: Hans Verkuil
Add support for multiple configuration stores. Three new fields are added to
v4l2_ctrl:
nstores: the number of stores for this control
store: the current store: for use by the control ops
cur_store: the store associated with the current value. Normally 0, but
it can be
From: Hans Verkuil
This patch implements initial support for simple properties.
For the most part the changes are fairly obvious (basic support for is_ptr
types, the type_is_int function is replaced by a is_int bitfield, and
v4l2_query_ext_ctrl is added), but one change needs more explanation:
From: Hans Verkuil
Require that 'new' string and pointer values are accessed through the 'new'
field instead of through the union. This reduces the union to just val and
val64.
Signed-off-by: Hans Verkuil
---
drivers/media/radio/si4713/si4713.c| 4 ++--
drivers/media/v4l2-core/
From: Hans Verkuil
The current control event is not able to handle the 64-bit ranges or the
config_store. Add a new extended event that is able to handle this.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-ctrls.c | 61 ++--
include/uapi/linux/vid
Only send a power down command for the device if it is not already
in power down state. That prevents a timeout when trying to talk
with the device.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/tuners/tuner-xc2028.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-
When xc2028/3028 is powered down, it won't response to any command, until
a firmware is loaded. That means that reading frontend status will fail
with a timeout.
Also, any trial to put the device to sleep twice will fail.
This small series fix those two bugs.
Mauro Carvalho Chehab (2):
tuner-x
That removes those timeout errors:
[ 3675.930940] xc2028 19-0061: Device is Xceive 3028 version 1.0, firmware
version 2.7
[ 3676.060487] xc2028 19-0061: divisor= 00 00 8d d0 (freq=567.250)
[ 3676.349449] xc2028 19-0061: Putting xc2028/3028 into poweroff mode.
[ 3698.247645] xc2028 19-0061: xc2028
Em Mon, 30 Dec 2013 14:37:58 +0100
Frank Schäfer escreveu:
> xc2028 power state handling is broken.
> I2C read/write operations fail when the device is powered down at that moment,
> which causes the get_rf_strength and get_rf_strength callbacks (and probably
> others, too) to fail.
> I don't kno
A few devices (em2860) use a separate interface for audio only
Audio Vendor Class USB. That interface should not be used by
Remote Controller, Analog TV or Digital TV.
Prevents initializing all non-audio extensions for the audio
only interface.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/m
For devices with a separated audio-only interface (em2860), call
em28xx_init_extension() only once.
That fixes a bug with Kworld 305U:
[ 658.730715] em2860 #0: V4L2 video device registered as video1
[ 658.730728] em2860 #0: V4L2 VBI device registered as vbi0
[ 658.736907] em2860 #0
Driver probing for em2860 is broken, causing an oops and making the audio
module to be probed forever.
Fixes it.
Tested with a KWorld 305U (USB ID: eb1a:e305). Note:
the board silkscreen of this device says that it is a PVR-310U-Dongle ver. A.
Mauro Carvalho Chehab (2):
em28xx: prevent registe
On 24 December 2013 17:12, Sachin Kamat wrote:
> Fixes the following warnings:
> drivers/media/i2c/s5k5baf.c: In function 's5k5baf_fw_parse':
> drivers/media/i2c/s5k5baf.c:362:3: warning:
> format '%d' expects argument of type 'int', but argument 3 has type 'size_t'
> [-Wformat=]
> drivers/media/
Em Sun, 05 Jan 2014 21:49:57 +0100
Frank Schäfer escreveu:
> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
> > -ENODEV reports a permanent condition where a device is not found,
> > and used only during device probing or device removal, as stated
> > at the V4L2 spec:
> > http://linuxt
Le 03/01/2014 12:30, Enrico a écrit :
On Wed, Dec 18, 2013 at 11:09 AM, Enrico wrote:
On Tue, Dec 17, 2013 at 2:11 PM, Florian Vaussard
wrote:
So I converted the iommu to DT (patches just sent), used pdata quirks
for the isp / mtv9032 data, added a few patches from other people
(mainly clk t
Em Sun, 05 Jan 2014 21:40:38 +0100
Frank Schäfer escreveu:
> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab:
> > The proper error code for I2C errors are EREMOTEIO. The em28xx driver
> > is using EIO instead.
> >
> > Replace all occurrences of EIO at em28xx-i2c, in order to fix it.
> >
> > Si
73 matches
Mail list logo