Add SDR specific notes to G_MODULATOR / S_MODULATOR documentation.
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.xml
b/Documentation
Add brief description for tuner RF gain control.
Acked-by: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/DocBook/media/v4l/v4l2.xml | 1 +
3 files
has integrated LNA/RF
amplifier in any case.
Acked-by: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2
se transmitter device even receiver is active and other way
around, just streaming is blocked to single node.
* Removed V4L2_CID_RF_TUNER_RF_GAIN_AUTO control as it was not used.
* Changed RF gain documentation.
Antti Palosaari (13):
v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
v4l2: add RF
On 08/31/2015 09:04 PM, CIJOML CIJOMLovic wrote:
Hello guys,
please find out down this email patch to support EVOLVEO XtraTV stick.
This tuner is for android phones with microusb connecter, however with
reduction it works perfectly with linux kernel:
The device identify itself at USB bus as Bus
On 08/12/2015 01:39 AM, Mauro Carvalho Chehab wrote:
Otherwise, it will break on 32 bits archs.
Look good!
Antti
Signed-off-by: Mauro Carvalho Chehab
diff --git a/drivers/media/dvb-frontends/tda10071.c
b/drivers/media/dvb-frontends/tda10071.c
index ee6653124618..119d47596ac8 100644
--- a
On 08/11/2015 01:20 PM, Mauro Carvalho Chehab wrote:
Em Thu, 9 Jul 2015 07:06:29 +0300
Antti Palosaari escreveu:
Use jiffies to set timeout for firmware command status polling.
It is more elegant solution than poll X times with sleep.
/* wait cmd execution terminate */
- for
On 08/10/2015 12:41 PM, Hans Verkuil wrote:
On 07/31/2015 04:10 AM, Antti Palosaari wrote:
It is VIDIOC_G_FREQUENCY which does not use type to identify tuner,
not VIDIOC_S_FREQUENCY. VIDIOC_S_FREQUENCY uses both tuner and type
fields. One of these V4L API weirdness...
Actually, that'
On 08/11/2015 12:46 AM, poma wrote:
Furthermore, to fix this issue - AF9015 DVB-T USB2.0 stick brokenness - is the
responsibility of developers.
I am here only proven tester.
I hope we understand each other, and this problem will be resolved in good
faith.
Your patches are implemented wrong.
Moikka!
On 07/31/2015 05:43 PM, Sakari Ailus wrote:
Terve,
On Wed, Jul 29, 2015 at 06:29:05PM +0300, Antti Palosaari wrote:
commit ce0eff016f7272faa6dc6eec722b1ca1970ff9aa
[media] vb2: allow requeuing buffers while streaming
That commit causes buf_queue() called on infinity loop when
Add documentation for V4L SDR transmitter (output) devices.
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml| 30 +++---
Documentation/DocBook/media/v4l
Add type field to that struct like it counterpart v4l2_tuner
already has. We need type field to distinguish different tuner
types from each others for transmitter too.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-ioctl.c | 18 +-
include/uapi
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/hackrf/hackrf.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-dev.c | 14
-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 12
Documentation/DocBook/media/v4l/dev-sdr.xml | 6 +++---
Documentation/DocBook/media/v4l/v4l2.xml| 7 +++
drivers/media/v4l2-core/v4l2-ioctl.c| 6 +++---
include/uapi/linux/videodev2.h
Implement single funtion, hackrf_set_params(), which handles all
needed settings. Controls and other IOCTLs are just wrappers to that
function. That way we can get easily better control what we could do
on different device states - sleeping, receiving, transmitting.
Signed-off-by: Antti Palosaari
Add brief description for tuner RF gain control.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/DocBook/media/v4l/v4l2.xml | 1 +
3 files changed
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
It is VIDIOC_G_FREQUENCY which does not use type to identify tuner,
not VIDIOC_S_FREQUENCY. VIDIOC_S_FREQUENCY uses both tuner and type
fields. One of these V4L API weirdness...
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/common.xml | 2 +-
1 file
Add V4L2_TUNER_SDR and V4L2_TUNER_RF to supported tuner types to
table.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-tuner.xml
b
Add new modulator type field to documentation.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.xml
b
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
index f4b5606
has integrated LNA/RF
amplifier in any case.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2-core
V4L2_CID_RF_TUNER_RF_GAIN_AUTO control as it was not used.
* Changed RF gain documentation.
Antti Palosaari (13):
v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
v4l2: add RF gain control
DocBook: document tuner RF gain control
v4l2: add support for SDR transmitter
DocBook: document SDR
commit ce0eff016f7272faa6dc6eec722b1ca1970ff9aa
[media] vb2: allow requeuing buffers while streaming
That commit causes buf_queue() called on infinity loop when
start_streaming() returns error. On that case resources are eaten
quickly and machine crashes.
Cc: Hans Verkuil
Signed-off-by: Antti
On 07/28/2015 10:06 AM, Hans Verkuil wrote:
On 07/28/2015 02:50 AM, Antti Palosaari wrote:
On 07/27/2015 11:38 PM, Hans Verkuil wrote:
On 07/27/2015 10:21 PM, Antti Palosaari wrote:
On 07/17/2015 05:43 PM, Hans Verkuil wrote:
On 07/16/2015 09:04 AM, Antti Palosaari wrote:
HackRF SDR device
On 07/27/2015 11:38 PM, Hans Verkuil wrote:
On 07/27/2015 10:21 PM, Antti Palosaari wrote:
On 07/17/2015 05:43 PM, Hans Verkuil wrote:
On 07/16/2015 09:04 AM, Antti Palosaari wrote:
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot
On 07/17/2015 05:43 PM, Hans Verkuil wrote:
On 07/16/2015 09:04 AM, Antti Palosaari wrote:
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
On 07/17/2015 05:15 PM, Hans Verkuil wrote:
On 07/16/2015 09:04 AM, Antti Palosaari wrote:
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
2505ec5f7a1bb40fa1a86184779884c32a619473:
tda10071: implement DVBv5 statistics (2015-07-27 14:32:23 +0300)
Antti Palosaari (12):
em28xx: remove unused a8293 SEC config
a8293: remove legacy media attach
a8293: use
Add configuration parameter to split long i2c writes as some I2C
adapters cannot write 10 bytes used as a one go.
Signed-off-by: Antti Palosaari
---
drivers/media/tuners/mt2060.c | 21 +
drivers/media/tuners/mt2060.h | 3 +++
drivers/media/tuners/mt2060_priv.h
aving price ticket near 100 euros. Since
then it has been on my drawer waiting for some spare time...
Antti
Antti Palosaari (6):
mt2060: add i2c bindings
mt2060: add param to split long i2c writes
zd1301_demod: ZyDAS ZD1301 DVB-T demodulator driver
MAINTAINERS: add zd1301_demod driver
z
Add proper i2c driver model bindings.
Signed-off-by: Antti Palosaari
---
drivers/media/tuners/mt2060.c | 83 ++
drivers/media/tuners/mt2060.h | 20 +
drivers/media/tuners/mt2060_priv.h | 2 +
3 files changed, 105 insertions(+)
diff --git a
ZyDAS ZD1301 is chip having USB interface and DVB-T demodulator
integrated. This driver is for demodulator part.
Driver is very reduced, just basic demodulator functionality, no
statistics at all. It registers as a platform driver to driver core.
Signed-off-by: Antti Palosaari
---
drivers/media
DVB USB interface driver for ZyDAS ZD1301 chip.
Signed-off-by: Antti Palosaari
---
MAINTAINERS | 10 ++
1 file changed, 10 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d5d92ef..7bbcff5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11405,6 +11405,16 @@ T: git git
DVB-T demodulator driver for ZyDAS ZD1301 chip.
Signed-off-by: Antti Palosaari
---
MAINTAINERS | 10 ++
1 file changed, 10 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2bb989b..d5d92ef 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11395,6 +11395,16 @@ L: zd1211-d
ZyDAS ZD1301 is chip having USB interface and DVB-T demodulator
integrated. This driver is for USB interface part.
Device has USB ID 0ace:13a1. Used tuner is MT2060.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-core/dvb-usb-ids.h | 1 +
drivers/media/usb/dvb-usb-v2/Kconfig | 8
On 07/20/2015 08:14 PM, Steven Toth wrote:
On Mon, Jul 20, 2015 at 12:54 PM, Antti Palosaari wrote:
On 07/20/2015 07:45 PM, Devin Heitmueller wrote:
Look at the em28xx driver and you will probably see why it does not work
as
expected. For my eyes, according to em28xx driver, it looks like
On 07/20/2015 07:45 PM, Devin Heitmueller wrote:
Look at the em28xx driver and you will probably see why it does not work as
expected. For my eyes, according to em28xx driver, it looks like that bus
control is aimed for bridge driver. You or em28xx is wrong.
Neither are wrong. In some cases th
On 07/20/2015 06:00 PM, Steven Toth wrote:
On Mon, Jul 20, 2015 at 10:30 AM, Antti Palosaari wrote:
On 07/19/2015 01:21 AM, Steven Toth wrote:
http://git.linuxtv.org/cgit.cgi/stoth/hvr1275.git/log/?h=hvr-1275
Patches above are available for test.
Antti, note the change to SI2168 to add
On 07/19/2015 01:21 AM, Steven Toth wrote:
http://git.linuxtv.org/cgit.cgi/stoth/hvr1275.git/log/?h=hvr-1275
Patches above are available for test.
Antti, note the change to SI2168 to add support for enabling and
disabling the SI2168 transport bus dynamically.
I've tested with a combo card, swi
On 06/08/2015 12:03 PM, Hans Verkuil wrote:
On 06/06/2015 02:03 PM, Antti Palosaari wrote:
Add new RF tuner gain control named RF gain. That is aimed for
external LNA (amplifier) chip just right after antenna connector.
I don't follow. Do you mean:
This feeds into the external LNA...
B
Moikka!
On 06/08/2015 12:26 PM, Hans Verkuil wrote:
Hi Antti,
I've got one comment:
On 06/06/2015 02:03 PM, Antti Palosaari wrote:
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex oper
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/hackrf/hackrf.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
drivers/media/v4l2-core/v4l2-dev.c | 14
Add brief description for tuner RF gain control.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/DocBook/media/v4l/v4l2.xml | 1 +
3 files changed
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
index
Implement single funtion, hackrf_set_params(), which handles all
needed settings. Controls and other IOCTLs are just wrappers to that
function. That way we can get easily better control what we could do
on different device states - sleeping, receiving, transmitting.
Signed-off-by: Antti Palosaari
.
regards
Antti
Antti Palosaari (9):
v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
v4l2: add RF gain control
DocBook: document tuner RF gain control
v4l2: add support for SDR transmitter
DocBook: document SDR transmitter
hackrf: add control for RF amplifier
hackrf: switch to single
Add documentation for V4L SDR transmitter (output) devices.
Signed-off-by: Antti Palosaari
Acked-by: Hans Verkuil
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml| 30 +++---
Documentation/DocBook/media/v4l
-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 12
Documentation/DocBook/media/v4l/dev-sdr.xml | 6 +++---
Documentation/DocBook/media/v4l/v4l2.xml| 7 +++
drivers/media/v4l2-core/v4l2-ioctl.c| 6 +++---
include/uapi/linux/videodev2.h
has integrated LNA/RF
amplifier in any case.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2-core
Use regmap API for I2C operations.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/Kconfig | 1 +
drivers/media/dvb-frontends/tda10071.c | 263 +---
drivers/media/dvb-frontends/tda10071_priv.h | 2 +
3 files changed, 87 insertions(+), 179
As driver is now proper I2C client driver, we could use correct
functions for I2C I/O. Also rename state from priv to dev. Fix
logging too.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/a8293.c | 80 +
1 file changed, 18 insertions(+), 62
Implement DVBv5 CNR, signal strength, BER and block errors.
Wrap legacy DVBv3 statistics to DVBv5 internally.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 258 ++--
drivers/media/dvb-frontends/tda10071_priv.h | 7 +-
2 files changed
All users are now using I2C binding and old attach could be removed.
Use I2C client for proper logging at the same.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 275 ++--
drivers/media/dvb-frontends/tda10071.h | 63
Rename device state struct from 'priv' to 'dev'.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 268 ++--
drivers/media/dvb-frontends/tda10071_priv.h | 2 +-
2 files changed, 135 insertions(+), 135 deletions(-)
There should be clearly some lock in order to make sure firmware
command in execution is not disturbed by another command. It has
worked as callbacks are serialized somehow pretty well and command
execution happens usually without any delays.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb
This is a bit hack, but returning error when driver is not tuned yet
causes DVBv5 zap stop polling DVBv5 statistics. Thus return 0 even
callback is called during invalid device state.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 2 +-
1 file changed, 1 insertion
Remove legacy media attach as all users are on I2C bindings now.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/a8293.c | 63 +
drivers/media/dvb-frontends/a8293.h | 18 ---
2 files changed, 1 insertion(+), 80 deletions(-)
diff --git
Use jiffies to set timeout for firmware command status polling.
It is more elegant solution than poll X times with sleep.
Shorten timeout to 30ms as all commands seems to be executed under
10ms.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 15 +--
1
On power-on LNB power supply voltage is disabled, due to that no
need to disable it during probe. Tone is supply is hard-coded as
external tone coming from the demodulator. Program both voltage
and tone on set_voltage(). Use register cache to prevent unneeded
programming.
Signed-off-by: Antti
Devices that were using a8293 SEC are converted to I2C platform data
thus that old config structure is left unused.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/em28xx/em28xx-dvb.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c
b/drivers
Remove FSF address from license. Indent parameter correctly.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/a8293.c | 6 +-
drivers/media/dvb-frontends/a8293.h | 4
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/media/dvb-frontends/a8293.c
b
66baf807b9d4bfe2b7c246058bbffd8592e0abb8:
lmedm04: Enable dont_poll for TS2020 tuner. (2015-06-10 12:38:58 +0300)
Antti Palosaari (7):
ts2020: re-implement PLL calculations
ts2020: improve filter limit calc
ts2020
On 06/09/2015 01:14 AM, Unembossed Name wrote:
First of all, unfortunately I don't any other chip revisions than B40,
but these sniffs I found somewhere on my logs (replies to command 0x02):
Si2168 40 "\x80\x42\x44\x34\x30\x02\x00\x00\x00\x00\x00\x00\x01"
Si2168 20 "\x80\x41\x44\x33\x30\x02\x0
On 06/06/2015 08:03 AM, Unembossed Name wrote:
Information below was given by a hardware vendor, who uses these
demodulators on their dvb-t2 products. As an explanation on our
questions for Si2168 Linux driver development.
I think it can give more clue with Part, Revision and ROM detection
algori
Moikka!
On 06/08/2015 01:21 AM, Doug Lung wrote:
Hello! this is my first post here, although I've benefited from all
the work of the contributors over the year. Thanks!
I'm looking for help getting similar signal statistics from the new
Hauppauge HVR955Q (Si2157, LGDT3306A, CX23102) USB ATSC tu
On 06/06/2015 11:02 PM, Unembossed Name wrote:
Anybody want to test it? Unfortunately, I can not do it myself, because
I do not own hardware with B40 revision.
That does not even download. It looks like 17 byte chunk format, but
it does not divide by 17. Probably there is some bytes missing or
On 06/06/2015 06:28 AM, Unembossed Name wrote:
Hi,
Yesterday I extracted a new firmware for Si2168 B40 rev. from Windows
driver.
It's designed for ROM version 4.0.2 and has a version build 4.0.19
Here is a name of
file:dvb-demod-si2168-b40-rom4_0_2-patch-build4_0_19.fw.tar.gz
And a link for down
antenna or the stick, after
reinstalling
the dvbsky-driver, it found all four T2-muxes on the first try.
On 04.06.2015 21:28, Antti Palosaari wrote:
On 06/04/2015 08:36 PM, Hurda wrote:
How can I enable debug-output to get the log-messages like
http://git.linuxtv.org/cgit.cgi/media_tree.git/t
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-dev.c | 14
Add brief description for tuner RF gain control.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 19 +++
Documentation/DocBook/media/v4l/v4l2.xml | 1 +
3 files
Implement single funtion, hackrf_set_params(), which handles all
needed settings. Controls and other IOCTLs are just wrappers to that
function. That way we can get easily better control what we could do
on different device states - sleeping, receiving, transmitting.
Signed-off-by: Antti Palosaari
-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 12
Documentation/DocBook/media/v4l/dev-sdr.xml | 6 +++---
Documentation/DocBook/media/v4l/v4l2.xml| 7 +++
drivers/media/v4l2-core/v4l2-ioctl.c| 6 +++---
include/uapi/linux/videodev2.h
Add new RF tuner gain control named RF gain. That is aimed for
external LNA (amplifier) chip just right after antenna connector.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
drivers/media/v4l2-core/v4l2-ctrls.c | 4
include/uapi/linux/v4l2-controls.h | 2 ++
2 files changed, 6
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
index 6ad6937..1f9483d 100644
--- a
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/hackrf/hackrf.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a
Add documentation for V4L SDR transmitter (output) devices.
Cc: Hans Verkuil
Signed-off-by: Antti Palosaari
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml| 30 +++---
Documentation/DocBook/media/v4l/io.xml
* We don't need calculate channel bandwidth from symbol rate as it
is calculated by DVB core.
* Use clamp() to force upper/lower limit of filter 3dB frequency.
Upper limit should never exceeded 40MHz (80MHz BW) in any case,
though...
Signed-off-by: Antti Palosaari
---
drivers/medi
-by: Antti Palosaari
---
drivers/media/dvb-frontends/ts2020.c | 73
drivers/media/dvb-frontends/ts2020.h | 7 +++-
2 files changed, 30 insertions(+), 50 deletions(-)
diff --git a/drivers/media/dvb-frontends/ts2020.c
b/drivers/media/dvb-frontends/ts2020.c
index
ed in ts2020_probe() and this is only
called ts2020_attach()'s stack frame exists.
Signed-off-by: David Howells
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/ts2020.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/dvb-frontends/ts2020.c
b/drivers
Use regmap to cover I2C register access.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/Kconfig | 3 +-
drivers/media/dvb-frontends/ts2020.c | 260 ---
2 files changed, 124 insertions(+), 139 deletions(-)
diff --git a/drivers/media/dvb
Use I2C client binding for demod and SEC.
Signed-off-by: Antti Palosaari
---
drivers/media/usb/em28xx/em28xx-dvb.c | 136 +-
1 file changed, 83 insertions(+), 53 deletions(-)
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c
b/drivers/media/usb/em28xx/em28xx
Used frequency synthesizer is simple Integer-N PLL, with configurable
reference divider, output divider and of course N itself. Old
calculations were working fine, but not so easy to understand.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/ts2020.c | 76
Use regmap for I2C register access.
Remove own I2C repeated mutex as it should not be needed. I2C adapter
lock is already taken when I2C mux adapter is called, no need for
double locking.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/Kconfig | 1 +
drivers/media/dvb
Rename driver state from priv to dev.
Use I2C client for correct logging.
Use adapter and address from I2C client structure where needed.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/Kconfig | 2 +-
drivers/media/dvb-frontends/m88ds3103.c | 538
atus when probe() fails (2015-06-06
14:15:34 +0300)
----
Antti Palosaari (2):
tda10071: add missing error status when probe() fails
fc2580: add missing error status when probe() fails
Dan Carpenter (1):
m88ds3103: a co
We must return -ENODEV error on case probe() fails to detect chip.
Signed-off-by: Antti Palosaari
---
drivers/media/dvb-frontends/tda10071.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/drivers/media/dvb-frontends/tda10071.c
b/drivers/media/dvb
We must return -ENODEV error on case probe() fails to detect chip.
Signed-off-by: Antti Palosaari
---
drivers/media/tuners/fc2580.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/tuners/fc2580.c b/drivers/media/tuners/fc2580.c
index db21902..12f916e 100644
--- a/drivers/media
: Antti Palosaari
Antti
---
drivers/media/pci/saa7164/saa7164-api.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/drivers/media/pci/saa7164/saa7164-api.c
b/drivers/media/pci/saa7164/saa7164-api.c
index e807703..e7e586c 100644
--- a/drivers/media/pci/saa7164
On 06/06/2015 10:44 AM, Olli Salonen wrote:
The i2c_reg_len for Si2168 should be 0 for correct I2C communication.
Signed-off-by: Olli Salonen
Reviewed-by: Antti Palosaari
PS. As I mentioned few times already, that kind I2C client register map
layout information does not belongs to adapter
On 06/05/2015 04:40 PM, Olli Salonen wrote:
Hi Steven,
It seems to me that that part of the code is identical to your driver, no?
The media_tree driver:
retval = saa7164_api_i2c_read(bus,
msgs[i].addr,
0 /* reglen */,
NULL /* re
On 06/05/2015 12:50 PM, Hans Verkuil wrote:
Hi Antti,
FYI: don't use ATTN as prefix: patchwork doesn't pick that up as a patch,
and if it doesn't appear there, then it is likely to be forgotten.
Can you repost it with the correct prefix? It's so much easier to process
for me if it ends up in pa
'module si2168 =pft' >
/sys/kernel/debug/dynamic_debug/control
Antti
Am 28.05.2015 07:26, schrieb Antti Palosaari:
On 05/28/2015 01:27 AM, Hurda wrote:
Hello.
I think I came across a bug in either of the drivers si2168 and dvbsky
regarding
blind-scanning DVB-T2-frequencies.
HW
ring that Antti points
out. I do have Si2168 devices that have the A20, A30 and B40
firmwares. Also, for all these chips I can find some references in the
internet. There's nothing regarding a Si2168-D40 (which is not a
conclusive proof that one would not exist, of course).
Cheers,
-olli
On 06/04/2015 03:38 PM, Steven Toth wrote:
We're seeing a mix of SI2168 demodulators appearing on HVR2205 and
HVR2215 cards, the chips are stamped with different build dates,
verified on my cards.
The si2168 driver detects some cards fine, others not at all. I can
reproduce the working and non-w
On 06/03/2015 10:08 PM, Olli Salonen wrote:
I cold booted my number cruncher after a hiatus of a couple of weeks,
applied a couple of extra dev_dbg printouts in the si2168_cmd_execute
and installed the newly built module. The results:
[ 663.147757] si2168 2-0066: Silicon Labs Si2168 successfull
301 - 400 of 3603 matches
Mail list logo