dvb-usb-gl861, tc90522: remove device-specific i2c algo
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- include change to demod driver (tc90522)
In the previous version, I omitted this, but it was wrong.
This change IS required even now,
as the tuner driver of Friio device (dvb-pll) issues a read on probe. I made mistakes in building my test environment again,
missed that some modules were not of the right version during the tests of v1. sorry for my hasty v1 post.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dvb-usb-v2/gl861: remove device-specific i2c algodrivers/ | +26 | 0 replies | |
| 2/4 | dvb-usb-v2/gl861: remove an un-used header filedrivers/ drivers/ | +1 | 0 replies | |
| 3/4 | dvb-frontends/tc90522: extend i2c algo to support some devicesdrivers/ drivers/ | +27 | 0 replies | |
| 4/4 | dvb-usb-gl861: support I2C read from tuner via demoddrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] dvb-usb-gl861, tc90522: remove device-specific i2c algo
From: Akihiro Tsukada <[email protected]>
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 integration,
users of this i2c algo (in this case, i2c adapter in demod tc90522) must be modified to divide each tuner read transaction into two. I had implemented this modification (and the config option to enable it) in tc90522 (and in gl861, to use the config option), and tested it, which verified that a Friio device can properly read tuner status, (and write/set frequency as well) without problems.
Although there was a concern over small in-compatibility
of the generic i2c algo with the old devcie-specific algo in tuner reads, (as described in https://patchwork.linuxtv.org/patch/58340/#111873 ) it had been cleared by the testing.
Changes since v1:
- include change to demod driver (tc90522)
In the previous version, I omitted this, but it was wrong.
This change IS required even now,
as the tuner driver of Friio device (dvb-pll) issues a read on probe. I made mistakes in building my test environment again,
missed that some modules were not of the right version during the tests of v1. sorry for my hasty v1 post.
Akihiro Tsukada (4):
dvb-usb-v2/gl861: remove device-specific i2c algo dvb-usb-v2/gl861: remove un-used header file dvb-frontends/tc90522: extend i2c algo to support some devices dvb-usb-v2/gl861: support I2C read from tuner via demod
drivers/media/dvb-frontends/tc90522.c | 25 ++- drivers/media/dvb-frontends/tc90522.h | 3 + drivers/media/usb/dvb-usb-v2/gl861.c | 237 +++----------------------- drivers/media/usb/dvb-usb-v2/gl861.h | 14 -- 4 files changed, 55 insertions(+), 224 deletions(-) delete mode 100644 drivers/media/usb/dvb-usb-v2/gl861.h
Signature · 1 line
2.23.0