[PATCH v2 4/4] dvb-usb-gl861: support I2C read from tuner via demod

2019-08-29 Thread tskd08
From: Akihiro Tsukada Support Friio devices to read from tuner via demod tc90522, by enabling the config option. Signed-off-by: Akihiro Tsukada --- drivers/media/usb/dvb-usb-v2/gl861.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/media/usb

[PATCH v2 0/4] dvb-usb-gl861, tc90522: remove device-specific i2c algo

2019-08-29 Thread tskd08
From: Akihiro Tsukada This patch series removes and integrates the device(Friio)-specific i2c algo with the other, generic one that was recently patched ( https://patchwork.linuxtv.org/patch/58340/ ) to support the i2c messages used in Friio, for reading/writing to tuner. To fully complete the i

[PATCH v2 3/4] dvb-frontends/tc90522: extend i2c algo to support some devices

2019-08-29 Thread tskd08
From: Akihiro Tsukada This demod implements an i2c adapter for attached tuner and relays i2c messages from users (dvb adapters / bridge chips). Some of them, such as Friio dvb card using gl861, require each pair of i2c messages for one read to be issued as two separate transactions. This patch ad

[PATCH v2 1/4] dvb-usb-v2/gl861: remove device-specific i2c algo

2019-08-29 Thread tskd08
From: Akihiro Tsukada For Friio dvb cards, a dintinct I2C algo was provided to support some "long" I2C messages used in relaying tuner I2C via demod. Since the other (generic) i2c algo in this module has been patched to support those messages in a more generic way, this patch replaces and integra

[PATCH v2 2/4] dvb-usb-v2/gl861: remove an un-used header file

2019-08-29 Thread tskd08
From: Akihiro Tsukada The header contained just internal definitions and they are not used anymore. Signed-off-by: Akihiro Tsukada --- drivers/media/usb/dvb-usb-v2/gl861.c | 2 +- drivers/media/usb/dvb-usb-v2/gl861.h | 14 -- 2 files changed, 1 insertion(+), 15 deletions(-) delet

[PATCH 2/2] dvb-usb-v2/gl861: remove un-used header file

2019-08-27 Thread tskd08
From: Akihiro Tsukada The header contained just internal definitions and they are not used anymore. Signed-off-by: Akihiro Tsukada --- drivers/media/usb/dvb-usb-v2/gl861.c | 2 +- drivers/media/usb/dvb-usb-v2/gl861.h | 14 -- 2 files changed, 1 insertion(+), 15 deletions(-) delet

[PATCH 1/2] dvb-usb-v2/gl861: remove device-specific i2c algo

2019-08-27 Thread tskd08
From: Akihiro Tsukada For Friio dvb cards, a dintinct I2C algo was provided to support some "long" I2C messages used in relaying tuner I2C via demod. Since the other (generic) i2c algo in this module has been patched to support those messages in a more generic way, this patch replaces and integra

[PATCH 0/2] dvb-usb-gl861: remove device-specific i2c algo

2019-08-27 Thread tskd08
From: Akihiro Tsukada This patch series removes and integrates the device(Friio)-specific i2c algo with the other, generic one that was recently patched ( https://patchwork.linuxtv.org/patch/58340/ ) to support the i2c messages used in Friio, for reading/writing to tuner. To fully complete the i

[PATCH] media: dvb/earth-pt1: fix wrong initialization for demod blocks

2019-01-10 Thread tskd08
From: Akihiro Tsukada earth-pt1 driver was decomposed/restructured by the commit: b732539efdba ("media: dvb: earth-pt1: decompose pt1 driver into sub drivers"), but it introduced a problem regarding concurrent streaming: Opening a new terrestial stream stops the reception of an existing, already-

[PATCH] MAINTAINERS: add entries for several media drivers

2018-06-10 Thread tskd08
From: Akihiro Tsukada add entries for the following drivers: - earth_pt{1,3} DVB adapter drivers - mxl301rf DVB tuner drivers - qm1d1{b0004, c0042} DVB tuner drivers - tc90522 DVB demod driver Signed-off-by: Akihiro Tsukada --- MAINTAINERS | 36 1 file chan

[PATCH] pci/pt1: suppress compiler warning in xtensa arch

2018-06-10 Thread tskd08
From: Akihiro Tsukada Found and reported by kbuild test robot: Message ID: <201805052003.mc007f9h%fengguang...@intel.com> and holding an address of an empty struct in .driver.pm does no harm when CONFIG_PM_SLEEP is not defined. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/pt1.c | 2

[PATCH] dvb-frontends/dvb-pll: fix module ref-counting

2018-06-10 Thread tskd08
From: Akihiro Tsukada dvb-pll module was 'put' twice on exit: once by dvb_frontend_detach() and another by dvb_module_release(). Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/dvb-pll.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/media/dvb-frontends

[PATCH v7] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-06-10 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH v3 2/5] tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner

2018-04-08 Thread tskd08
From: Akihiro Tsukada The tuner is used in Earthsoft PT1/PT2 DVB boards, and the driver was extraced from (the former) va1j5jf8007s.c of PT1. it might contain PT1 specific configs. Signed-off-by: Akihiro Tsukada --- Changes since v2: - none Changes since v1: - none drivers/media/tuners/Kcon

[PATCH v3 1/5] dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc

2018-04-08 Thread tskd08
From: Akihiro Tsukada This patch adds a PLL "description" of Philips TDA6651 for ISDB-T. It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1, thus the desc might include PT1 specific configs. Signed-off-by: Akihiro Tsukada --- Changes since v2: - do not #define chip name constant

[PATCH v3 3/5] dvb: earth-pt1: decompose pt1 driver into sub drivers

2018-04-08 Thread tskd08
From: Akihiro Tsukada earth-pt1 was a monolithic module and included demod/tuner drivers. This patch removes those FE parts and attach demod/tuner i2c drivers. Signed-off-by: Akihiro Tsukada --- Changes since v2: - specify tuner chip name literally Changes since v1: - use i2c_board_info.name

[PATCH v3 4/5] dvb: earth-pt1: add support for suspend/resume

2018-04-08 Thread tskd08
From: Akihiro Tsukada Without this patch, re-loading of the module was required after resume. Signed-off-by: Akihiro Tsukada --- Changes since v2: - none Changes since v1: - none drivers/media/pci/pt1/pt1.c | 107 +++- 1 file changed, 105 insertions(+), 2 dele

[PATCH v3 5/5] dvb: earth-pt1: replace schedule_timeout with usleep_range

2018-04-08 Thread tskd08
From: Akihiro Tsukada As described in Document/timers/timers-howto.txt, hrtimer-based delay should be used for small sleeps. Signed-off-by: Akihiro Tsukada --- Changes since v2: - none Changes since v1: - none drivers/media/pci/pt1/pt1.c | 34 +++--- 1 file change

[PATCH v3 0/5] dvb/pci/pt1: decompose earth-pt1 into sub drivers

2018-04-08 Thread tskd08
From: Akihiro Tsukada Changes since v2: - dvb-pll,pt1: do not #define chip name constants and use string literals Changes since v1: - use new style of specifying pll_desc of the terrestrial tuner Akihiro Tsukada (5): dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc tuners: add new i2c dri

[PATCH v5 4/5] dvb-usb-v2/gl861: use usleep_range() for short delay

2018-04-08 Thread tskd08
From: Akihiro Tsukada As the kernel doc "timers-howto.txt" reads, short delay with msleep() can take much longer. In a case of raspbery-pi platform where CONFIG_HZ_100 was set, it actually affected the init of Friio devices since it issues lots of i2c transactions with short delay. Signed-off-by

[PATCH v5 1/5] dvb-frontends/dvb-pll: add i2c driver support

2018-04-08 Thread tskd08
From: Akihiro Tsukada registers the module as an i2c driver, but keeps dvb_pll_attach() untouched for compatibility. Signed-off-by: Akihiro Tsukada --- Changes since v4: - do not #define chip name constants Changes since v3: - use standard i2c_device_id instead of dvb_pll_config drivers/medi

[PATCH v5 5/5] dvb-usb-v2/gl861: ensure USB message buffers DMA'able

2018-04-08 Thread tskd08
From: Akihiro Tsukada i2c message buf might be on stack. Signed-off-by: Akihiro Tsukada --- Changes since v4: - none drivers/media/usb/dvb-usb-v2/gl861.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/m

[PATCH v5 2/5] dvb-frontends/dvb-pll: add tua6034 ISDB-T tuner used in Friio

2018-04-08 Thread tskd08
From: Akihiro Tsukada This driver already contains tua6034-based device settings, but they are not for ISDB-T and have different parameters. Signed-off-by: Akihiro Tsukada --- Changes since v4: - do not #define chip name constant Changes since v3: - rebase on the new style of specifying pll_de

[PATCH v6 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-04-08 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH v5 0/5] dvb-usb-friio: decompose friio and merge with gl861

2018-04-08 Thread tskd08
From: Akihiro Tsukada This series decomposes dvb-usb-friio into sub drivers and merge the bridge driver with dvb-usb-gl861. As to the demod & tuner drivers, existing drivers are re-used. Changes since v4: - dvb-pll,gl861: do not #define chip name constants - i2c algo of gl861 is not (yet?) chang

[PATCH v2 3/5] dvb: earth-pt1: decompose pt1 driver into sub drivers

2018-03-28 Thread tskd08
From: Akihiro Tsukada earth-pt1 was a monolithic module and included demod/tuner drivers. This patch removes those FE parts and attach demod/tuner i2c drivers. Signed-off-by: Akihiro Tsukada --- Changes since v1: - use i2c_board_info.name to specify pll_desc of the tuner drivers/media/pci/pt

[PATCH v2 5/5] dvb: earth-pt1: replace schedule_timeout with usleep_range

2018-03-28 Thread tskd08
From: Akihiro Tsukada As described in Document/timers/timers-howto.txt, hrtimer-based delay should be used for small sleeps. Signed-off-by: Akihiro Tsukada --- Changes since v1: - none drivers/media/pci/pt1/pt1.c | 34 +++--- 1 file changed, 23 insertions(+), 11 de

[PATCH v2 2/5] tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner

2018-03-28 Thread tskd08
From: Akihiro Tsukada The tuner is used in Earthsoft PT1/PT2 DVB boards, and the driver was extraced from (the former) va1j5jf8007s.c of PT1. it might contain PT1 specific configs. Signed-off-by: Akihiro Tsukada --- Changes since v1: - none drivers/media/tuners/Kconfig | 7 + drivers/

[PATCH v2 1/5] dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc

2018-03-28 Thread tskd08
From: Akihiro Tsukada This patch adds a PLL "description" of Philips TDA6651 for ISDB-T. It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1, thus the desc might include PT1 specific configs. Signed-off-by: Akihiro Tsukada --- Changes since v1: - use new style of specifying pll_d

[PATCH v2 0/5] dvb/pci/pt1: decompose earth-pt1 into sub drivers

2018-03-28 Thread tskd08
From: Akihiro Tsukada Changes since v1: - use new style of specifying pll_desc of the terrestrial tuner Akihiro Tsukada (5): dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner dvb: earth-pt1: decompose pt1 driver into sub driver

[PATCH v2 4/5] dvb: earth-pt1: add support for suspend/resume

2018-03-28 Thread tskd08
From: Akihiro Tsukada Without this patch, re-loading of the module was required after resume. Signed-off-by: Akihiro Tsukada --- Changes since v1: - none drivers/media/pci/pt1/pt1.c | 107 +++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --g

[PATCH v4 2/5] dvb-frontends/dvb-pll: add tua6034 ISDB-T tuner used in Friio

2018-03-28 Thread tskd08
From: Akihiro Tsukada This driver already contains tua6034-based device settings, but they are not for ISDB-T and have different parameters. Signed-off-by: Akihiro Tsukada --- Changes since v3: - rebase on the new style of specifying pll_desc Changes since v2: (patch #27927 dvb: tua6034: add a

[PATCH v4 4/5] dvb-usb-v2/gl861: use usleep_range() for short delay

2018-03-28 Thread tskd08
From: Akihiro Tsukada As the kernel doc "timers-howto.txt" reads, short delay with msleep() can take much longer. In a case of raspbery-pi platform where CONFIG_HZ_100 was set, it actually affected the init of Friio devices since it issues lots of i2c transactions with short delay. Signed-off-by

[PATCH v4 5/5] dvb-usb-v2/gl861: ensure USB message buffers DMA'able

2018-03-28 Thread tskd08
From: Akihiro Tsukada i2c message buf might be on stack. Signed-off-by: Akihiro Tsukada --- Changes since v3: - none drivers/media/usb/dvb-usb-v2/gl861.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/m

[PATCH v5 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-28 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH v4 1/5] dvb-frontends/dvb-pll: add i2c driver support

2018-03-28 Thread tskd08
From: Akihiro Tsukada registers the module as an i2c driver, but keeps dvb_pll_attach() untouched for compatibility. Signed-off-by: Akihiro Tsukada --- Changes since v3: - use standard i2c_device_id instead of dvb_pll_config drivers/media/dvb-frontends/dvb-pll.c | 67 +

[PATCH v4 0/5] dvb-usb-friio: decompose friio and merge with gl861

2018-03-28 Thread tskd08
From: Akihiro Tsukada This series decomposes dvb-usb-friio into sub drivers and merge the bridge driver with dvb-usb-gl861. As to the demod & tuner drivers, existing drivers are re-used. Changes since v3: - dvb-pll,gl681: use i2c_device_id/i2c_board_info to specify pll_desc Changes since v2: -

[PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-27 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH 2/4] dvb/pci/pt3: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 11 +-- drivers/media/pci/pt3/pt3.h | 11 +-- drivers/media/pci/pt3/pt3_dma.c | 11 +-- drivers/media/pci/pt3/pt3_i2c.c | 11 +-- 4 files changed, 4 insertions(+), 40 d

[PATCH 1/4] dvb-frontends/tc90522: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 11 +-- drivers/media/dvb-frontends/tc90522.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-fro

[PATCH 3/4] tuners/mxl301rf: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 11 +-- drivers/media/tuners/mxl301rf.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tuners/mxl301rf.c index 15

[PATCH 0/4] dvb: pt3 etc.: SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada use SPDX License Identifier in the drivers that I wrote initially. Akihiro Tsukada (4): dvb-frontends/tc90522: use SPDX License Identifier dvb/pci/pt3: use SPDX License Identifier tuners/mxl301rf: use SPDX License Identifier tuners/qm1d1c0042: use SPDX License Ident

[PATCH 4/4] tuners/qm1d1c0042: use SPDX License Identifier

2018-03-27 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 11 +-- drivers/media/tuners/qm1d1c0042.h | 11 +-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media/tuners/qm1d1c0042.c

[PATCH] dvb-core/dvb_frontend: set better default for ISDB-T

2018-03-27 Thread tskd08
From: Akihiro Tsukada DTV_ISDBT_LAYER_ENABLED parameter should be set to "All" by default, instead of "None", as described in the API document. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/m

[PATCH] dvb-frontends/tc90522: fix bit shift mistakes

2018-03-27 Thread tskd08
From: Akihiro Tsukada they were obviously wrong. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index 5572b39614d..04

[PATCH 4/5] dvb: earth-pt1: add support for suspend/resume

2018-03-27 Thread tskd08
From: Akihiro Tsukada Without this patch, re-loading of the module was required after resume. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/pt1.c | 107 +++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/pt1

[PATCH 2/5] tuners: add new driver for Sharp qm1d1b0004 ISDB-S tuner

2018-03-27 Thread tskd08
From: Akihiro Tsukada The tuner is used in Earthsoft PT1/PT2 DVB boards, and the driver was extraced from (the former) va1j5jf8007s.c of PT1. it might contain PT1 specific configs. Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile

[PATCH 1/5] dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc

2018-03-27 Thread tskd08
From: Akihiro Tsukada This patch adds a PLL "description" of Philips TDA6651 for ISDB-T. It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1, thus the desc might include PT1 specific configs. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/dvb-pll.c | 23 +

[PATCH 3/5] dvb: earth-pt1: decompose pt1 driver into sub drivers

2018-03-27 Thread tskd08
From: Akihiro Tsukada earth-pt1 was a monolithic module and included demod/tuner drivers. This patch removes those FE parts and attach demod/tuner i2c drivers. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/Kconfig| 3 + drivers/media/pci/pt1/Makefile | 3 +- drive

[PATCH 5/5] dvb: earth-pt1: replace schedule_timeout with usleep_range

2018-03-27 Thread tskd08
From: Akihiro Tsukada As described in Document/timers/timers-howto.txt, hrtimer-based delay should be used for small sleeps. Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt1/pt1.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/d

[PATCH 0/5] dvb/pci/pt1: decompose earth-pt1 into sub drivers

2018-03-27 Thread tskd08
From: Akihiro Tsukada Akihiro Tsukada (5): dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner dvb: earth-pt1: decompose pt1 driver into sub drivers dvb: earth-pt1: add support for suspend/resume dvb: earth-pt1: replace schedul

[PATCH v3 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio

2018-03-26 Thread tskd08
From: Akihiro Tsukada Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses exist

[PATCH v3 4/5] dvb-usb-v2/gl861: use usleep_range() for short delay

2018-03-26 Thread tskd08
From: Akihiro Tsukada As the kernel doc "timers-howto.txt" reads, short delay with msleep() can take much longer. In a case of raspbery-pi platform where CONFIG_HZ_100 was set, it actually affected the init of Friio devices since it issues lots of i2c transactions with short delay. Signed-off-by

[PATCH v3 5/5] dvb-usb-v2/gl861: ensure USB message buffers DMA'able

2018-03-26 Thread tskd08
From: Akihiro Tsukada i2c message buf might be on stack. Signed-off-by: Akihiro Tsukada --- drivers/media/usb/dvb-usb-v2/gl861.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/gl861.c b/drivers/media/usb/dvb-usb-v2/gl861.

[PATCH v3 0/5] dvb-usb-friio: decompose friio and merge with gl861

2018-03-26 Thread tskd08
From: Akihiro Tsukada This series decomposes dvb-usb-friio into sub drivers and merge the bridge driver with dvb-usb-gl861. As to the demod & tuner drivers, existing drivers are re-used. Changes since v2 - used the new i2c binding helpers instead of my own one - extends dvb-pll instead of creati

[PATCH v3 2/5] dvb-frontends/dvb-pll: add tua6034 ISDB-T tuner used in Friio

2018-03-26 Thread tskd08
From: Akihiro Tsukada This driver already contains tua6034-based device settings, but they are not for ISDB-T and have different parameters. Signed-off-by: Akihiro Tsukada --- Changes since v2: (patch #27927 dvb: tua6034: add a new driver for Infineon tua6034 tuner) - extends dvb-pll instead of

[PATCH v3 1/5] dvb-frontends/dvb-pll: add i2c driver support

2018-03-26 Thread tskd08
From: Akihiro Tsukada registers the module as an i2c driver, but keeps dvb_pll_attach() untouched for compatibility. Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/dvb-pll.c | 49 +++ drivers/media/dvb-frontends/dvb-pll.h | 6 + 2 files chan

[PATCH v5] media/dvb: earth-pt3: use the new i2c binding helper

2018-03-19 Thread tskd08
From: Akihiro Tsukada This patch slightly simplifies the binding code by introducing commit 8f569c0b4e6b ("media: dvb-core: add helper functions for I2C binding"). Signed-off-by: Akihiro Tsukada --- Changes since v4 - pci/pt3/pt3.c: removed redundant request_module() at line 390 Changes since

[PATCH v4] media/dvb: earth-pt3: use the new i2c binding helper

2018-03-14 Thread tskd08
From: Akihiro Tsukada This patch slightly simplifies the binding code by introducing commit 8f569c0b4e6b ("media: dvb-core: add helper functions for I2C binding"). Signed-off-by: Akihiro Tsukada --- Changes since v3 - earth-pt3: replaced the old helper functions (proposed by patch #27922)

[PATCH] media/dvb: earth-pt3: fix hang-up in a rare case

2017-07-10 Thread tskd08
From: Akihiro Tsukada When a user starts and stops filtering at a demux device too quickly in a very short interval, the user process hangs in uninterruptible sleep, due to an inconsistency of kthread status in the driver. The kthread can be stopped before it starts running its thread function, b

[PATCH] v4l-utils/contrib/gconv: fix build error with glibc 2.21+

2015-06-30 Thread tskd08
From: Akihiro Tsukada Building this gconv module with glibc > 2.21 failed with errors. It has copies of glibc's iconv module files, and #includes them as the base of implemententation, which is the same impl. pattern as the other internal iconv modules. But those base files depend on the interna

[PATCH] v4l-utils/contrib/gconv: fix wrong conversion to ARIB-STD-B24

2015-06-30 Thread tskd08
From: Akihiro Tsukada Some symbol characters were not encoded correctly, though decoding was OK. Since v4l-utils/libdvbv5 does not use encoding into ARIB-STD-B24, the bug should not affect libdvbv5, but this fix supports some other applications. Signed-off-by: Akihiro Tsukada --- contrib/gconv

[PATCH v2 1/2] dvb: tua6034: add a new driver for Infineon tua6034 tuner

2015-01-16 Thread tskd08
From: Akihiro Tsukada this 3-band tuner is used in Friio (dvb-usb-friio), and it was buried in friio-fe.c. Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile | 1 + drivers/media/tuners/tua6034.c | 464 +++

[PATCH v2 2/2] dvb-usb-friio: split and merge into dvb-usbv2-gl861

2015-01-16 Thread tskd08
From: Akihiro Tsukada A Friio device consists of a GL861 adapter/bridge chip, a TC90522 demod chip and a TUA6034 tuner chip, but the friio driver was implemented as one combined driver. This patch separates off the each chip drivers and re-uses the existing modules: dvb-usbv2-gl861,tc90522. It a

[PATCH v2 0/2] split dvb-usb-friio into parts

2015-01-16 Thread tskd08
From: Akihiro Tsukada This patch series decomposes the friio driver which was monolithic into adapter,demod,tuner modules. Changes in v2: - dvb-usbv2-gl861: adapt to i2c template patch v3, fe_i2c_client was moved from dvb_frontend* to priv Akihiro Tsukada (2): dvb: tua6034: add a new dri

[PATCH v3 3/4] dvb: tc90522: use dvb-core i2c binding model template

2015-01-16 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 64 --- drivers/media/dvb-frontends/tc90522.h | 8 ++--- 2 files changed, 34 insertions(+), 38 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/dr

[PATCH v3 4/4] dvb: earth-pt3: use dvb-core i2c binding model template

2015-01-16 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 85 ++--- drivers/media/pci/pt3/pt3.h | 11 +++--- 2 files changed, 32 insertions(+), 64 deletions(-) diff --git a/drivers/media/pci/pt3/pt3.c b/drivers/media/pci/pt3/

[PATCH v3 1/4] dvb: qm1d1c0042: use dvb-core i2c binding model template

2015-01-16 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 60 +-- drivers/media/tuners/qm1d1c0042.h | 2 -- 2 files changed, 19 insertions(+), 43 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media

[PATCH v3 2/4] dvb: mxl301rf: use dvb-core i2c binding model template

2015-01-16 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 50 +++-- drivers/media/tuners/mxl301rf.h | 2 +- 2 files changed, 14 insertions(+), 38 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tune

[PATCH v3 0/4] modify earth-pt3 and its dependees to use i2c template

2015-01-16 Thread tskd08
From: Akihiro Tsukada This patch series depends on the previous patch: "[PATCH v3]dvb-core: add template code for i2c binding model" The adapter(earth-pt3), its demod (tc90522) and tuners (mxl301rf, qm1d1c0042) are ported to dvb-core i2c template. Changes in v3: - tc90522,earth-pt3: adapt to i2

[PATCH v3] dvb-core: add template code for i2c binding model

2015-01-16 Thread tskd08
From: Akihiro Tsukada Define a standard interface for demod/tuner i2c driver modules. A module client calls dvb_i2c_attach_{fe,tuner}(), and a module driver defines struct dvb_i2c_module_param and calls DEFINE_DVB_I2C_MODULE() macro. This template provides implicit module requests and ref-counti

[PATCH 1/2] dvb: tua6034: add a new driver for Infineon tua6034 tuner

2015-01-07 Thread tskd08
From: Akihiro Tsukada this digital tuner chip is used in Friio (dvb-usb-friio), and its driver code was buried in friio-fe.c. Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile | 1 + drivers/media/tuners/tua6034.c | 464

[PATCH 2/2] dvb-usb-friio: split and merge into dvb-usbv2-gl861

2015-01-07 Thread tskd08
From: Akihiro Tsukada A Friio device consists of a GL861 adapter/bridge chip, a TC90522 demod chip and a TUA6034 tuner chip, but the friio driver was implemented as one combined driver. This patch separates off the each chip drivers and re-uses the existing modules: dvb-usbv2-gl861,tc90522. It a

[PATCH 0/2] split dvb-usb-friio into parts

2015-01-07 Thread tskd08
From: Akihiro Tsukada a This patch series decomposes the friio driver which was monolithic into adapter,demod,tuner modules. Akihiro Tsukada (2): dvb: tua6034: add a new driver for Infineon tua6034 tuner dvb-usb-friio: split and merge into dvb-usbv2-gl861 drivers/media/tuners/Kconfig

[PATCH v2 4/4] dvb: earth-pt3: use dvb-core i2c binding model template

2015-01-07 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 89 ++--- drivers/media/pci/pt3/pt3.h | 12 +++--- 2 files changed, 33 insertions(+), 68 deletions(-) diff --git a/drivers/media/pci/pt3/pt3.c b/drivers/media/pci/pt3/

[PATCH v2 3/4] dvb: tc90522: use dvb-core i2c binding model template

2015-01-07 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 143 ++ drivers/media/dvb-frontends/tc90522.h | 8 +- 2 files changed, 63 insertions(+), 88 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/driv

[PATCH v2 2/4] dvb: mxl301rf: use dvb-core i2c binding model template

2015-01-07 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 50 +++-- drivers/media/tuners/mxl301rf.h | 2 +- 2 files changed, 14 insertions(+), 38 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tune

[PATCH v2 1/4] dvb: qm1d1c0042: use dvb-core i2c binding model template

2015-01-07 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 60 +-- drivers/media/tuners/qm1d1c0042.h | 2 -- 2 files changed, 19 insertions(+), 43 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media

[PATCH v2 0/4] modify earth-pt3 and its dependees to use i2c template

2015-01-07 Thread tskd08
From: Akihiro Tsukada This patch series depends on the previous patch: "[PATCH v2]dvb-core: add template code for i2c binding model" <1420635900-32221-1-git-send-email-tsk...@gmail.com> The adapter(earth-pt3), its demod (tc90522) and tuners (mxl301rf, qm1d1c0042) are ported to dvb-core i2c templ

[PATCH v2] dvb-core: add template code for i2c binding model

2015-01-07 Thread tskd08
From: Akihiro Tsukada Changes in v2: - rename some varibles for consistency and readability - (registering of tuner subdev media_entity is NOT implemented yet). Define a standard interface for demod/tuner i2c driver modules. A module client calls dvb_i2c_attach_{fe,tuner}(), and a module driver

[PATCH] dvb: tc90522: re-add symbol-rate report

2014-12-26 Thread tskd08
From: Akihiro Tsukada symbol-rate report was wrongly removed off by the commit:906aaf5a . Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c

[PATCH 3/5] dvb: tc90522: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 56 --- drivers/media/dvb-frontends/tc90522.h | 8 ++--- 2 files changed, 29 insertions(+), 35 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/dr

[PATCH 4/5] dvb: tc90522: remove a redundant state variable

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 91 ++- 1 file changed, 36 insertions(+), 55 deletions(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index 0f4ddd7..

[PATCH 5/5] dvb: pci/pt3: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/pci/pt3/pt3.c | 89 ++--- drivers/media/pci/pt3/pt3.h | 12 +++--- 2 files changed, 33 insertions(+), 68 deletions(-) diff --git a/drivers/media/pci/pt3/pt3.c b/drivers/media/pci/pt3/

[PATCH 2/5] dvb: mxl301rf: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/mxl301rf.c | 50 +++-- drivers/media/tuners/mxl301rf.h | 2 +- 2 files changed, 14 insertions(+), 38 deletions(-) diff --git a/drivers/media/tuners/mxl301rf.c b/drivers/media/tune

[PATCH 1/5] dvb: qm1d1c0042: use dvb-core i2c binding model template

2014-12-05 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/qm1d1c0042.c | 61 +-- drivers/media/tuners/qm1d1c0042.h | 2 -- 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/drivers/media/tuners/qm1d1c0042.c b/drivers/media

[PATCH 0/5] ports to dvb-core i2c template code

2014-12-05 Thread tskd08
From: Akihiro Tsukada These patches are example ports of earth-pt3 (adapter), tc90522 (demod), qm1d1c0042,mxl301rf (tuners) drivers using the i2c template code in dvb-core. Akihiro Tsukada (5): dvb: qm1d1c0042: use dvb-core i2c binding model template dvb: mxl301rf: use dvb-core i2c binding m

[RFC/PATCH] dvb-core: add template code for i2c binding model

2014-12-05 Thread tskd08
From: Akihiro Tsukada Define a standard interface for demod/tuner i2c driver modules. A module client calls dvb_i2c_attach_{fe,tuner}(), and a module driver defines struct dvb_i2c_module_param and calls DEFINE_DVB_I2C_MODULE() macro. This template provides implicit module requests and ref-counti

[PATCH] v4l-utils/libdvbv5: fix memory leak in dvb_guess_user_country()

2014-11-02 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- lib/libdvbv5/countries.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libdvbv5/countries.c b/lib/libdvbv5/countries.c index 7acdcc7..9e68ea6 100644 --- a/lib/libdvbv5/countries.c +++ b/lib/libdvbv5/countri

[PATCH] v4l-utils/libdvbv5: restore deleted functions to keep API/ABI compatible

2014-11-02 Thread tskd08
From: Akihiro Tsukada dvb_new_freq_is_needed() was integrated to dvb_new_entry_is_needed(), and dvb_scan_add_entry() was added a new parameter. As those changes broke API/ABI compatibility, restore the original functions. Signed-off-by: Akihiro Tsukada --- lib/include/libdvbv5/dvb-scan.h | 21

[PATCH v4] v4l-utils/libdvbv5: add gconv module for the text conversions of ISDB-S/T.

2014-11-01 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- Changes from v3 * added lib/gconv/Makefile configure.ac|9 + lib/Makefile.am |6 +- lib/gconv/Makefile | 24 + lib/gconv/arib-std-b24.c| 1592 +++

[PATCH v2] dvb:tc90522: fix stats report

2014-10-31 Thread tskd08
From: Akihiro Tsukada * report the fixed per-transponder symbolrate instead of per-TS ones * add output TS-ID report Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/media/dvb-f

[PATCH v2] dvb:tc90522: fix always-false expression

2014-10-31 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-frontends/tc90522.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index d9905fb..bca81ef 100644 --- a/drivers/media/dvb

[PATCH v2] dvb-core: set default properties of ISDB-S

2014-10-31 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- drivers/media/dvb-core/dvb_frontend.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index c862ad7..95d6296 100644 --- a/drivers/media/dvb-core/dvb_

[PATCH v3 4/7] v4l-utils/libdvbv5: add support for ISDB-S tuning

2014-10-31 Thread tskd08
From: Akihiro Tsukada Added LNB support for Japanese satellites. Currently tested with dvbv5-zap, dvb-fe-tool. At least the charset conversion and the parser of extended event descriptors are not implemented now, as they require some ISDB-S(/T) specific modification. Signed-off-by: Akihiro Tsuka

[PATCH v3 7/7] v4l-utils/libdvbv5: add gconv module for the text conversions of ISDB-S/T.

2014-10-31 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- configure.ac|9 + lib/Makefile.am |6 +- lib/gconv/arib-std-b24.c| 1592 +++ lib/gconv/en300-468-tab00.c | 564 +++ lib/gconv/gconv-modules |

[PATCH v3 6/7] v4l-utils/dvb: add COUNTRY property

2014-10-31 Thread tskd08
From: Akihiro Tsukada to distinguish country variants of delivery systems like ISDB-T. Signed-off-by: Akihiro Tsukada --- configure.ac | 4 + lib/include/libdvbv5/countries.h | 307 +++ lib/include/libdvbv5/dvb-fe.h | 14 ++ lib/include/libd

[PATCH v3 5/7] v4l-utils/libdvbv5: add support for ISDB-S scanning

2014-10-31 Thread tskd08
From: Akihiro Tsukada added NIT scan for ISDB-S. Signed-off-by: Akihiro Tsukada --- lib/libdvbv5/dvb-fe.c | 2 ++ lib/libdvbv5/dvb-file.c| 14 ++ lib/libdvbv5/dvb-scan.c| 58 -- lib/libdvbv5/parse_string.c| 8 +-

[PATCH v3 0/7] v4l-utils/libdvbv5,dvb: add support for ISDB-S

2014-10-31 Thread tskd08
From: Akihiro Tsukada This patch series adds tuning and scanning features for ISDB-S, and required modifications to libdvbv5 and utils/dvb to support it. Other features of the libdvbv5 API may not work for ISDB-S. Changes from v2: * rebased to the recent master (db6a15ad) * removed the unneces

[PATCH v3 2/7] v4l-utils/libdvbv5: add as many channels as possible in scanning DVB-T2

2014-10-31 Thread tskd08
From: Akihiro Tsukada Signed-off-by: Akihiro Tsukada --- lib/libdvbv5/dvb-scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c index 31eb78f..690e393 100644 --- a/lib/libdvbv5/dvb-scan.c +++ b/lib/libdvbv5/dvb-scan.c @@ -92

  1   2   >