RFC mb96a20s:use DVB core I2C binding and add media controller support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 of 5 patches 0 repliesNew
4 of 5 patches are in this archive. The cover letter announces 5.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mb86a20s: remove unused debug modprobe parameterdrivers/ | +0 | 0 replies | |
| 2/5 | mb86a20s: convert it to I2C binding modeldrivers/ drivers/ drivers/ +3 more | +70 | 0 replies | |
| 3/5 | mb86a20s: remove two uneeded macrosdrivers/ | +9 | 0 replies | |
| 5/5 | cx231xx: add media controller support for mb86a20s boardsdrivers/ | +51 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] mb96a20s:use DVB core I2C binding and add media controller support
Those patches are currently experimental and they depend on this patch:
https://patchwork.linuxtv.org/patch/27329/
There are 2 cleanup patches here for mb86a20s, and one patch that converts it to use the new I2C binding helper routines added at the DVB core.
The next patch extends the DVB core I2C binding routines to add media controller support for the DVB demod.
The final patch makes cx231xx to register to the media controller, if the device has a mb86a20s.
Please notice that the current media controller support is actually too poor and not complete, as it doesn't create and pads to the demod entity. More work is needed, in order to add the demod pads to it.
That would require some changes at the dvb core, for it to be media controller aware, and to create the nodes for the DVR and for the other elements of the DVB graph.
For now, all it shows is:
Media controller API version 0.1.1
Media device information
------------------------
driver cx231xx model Pixelview PlayTV USB Hybrid serial CIR000000000001 bus info 1.2 hw revision 0x4001 driver version 3.19.0
Device topology
- entity 1: mb86a20s (0 pad, 0 link)
type Node subtype DVB flags 20005
Mauro Carvalho Chehab (5):
mb86a20s: remove unused debug modprobe parameter
mb86a20s: convert it to I2C binding model
mb86a20s: remove two uneeded macros
dvb core: add media controller support for the demod
cx231xx: add media controller support for mb86a20s boards
drivers/media/dvb-core/dvb_frontend.h | 7 +++ drivers/media/dvb-core/dvb_i2c.c | 30 ++++++++++- drivers/media/dvb-core/dvb_i2c.h | 3 +- drivers/media/dvb-frontends/mb86a20s.c | 90 +++++++++++++++------------------ drivers/media/dvb-frontends/mb86a20s.h | 19 ------- drivers/media/pci/cx23885/cx23885-dvb.c | 13 +++-- drivers/media/pci/saa7134/saa7134-dvb.c | 13 +++-- drivers/media/usb/cx231xx/cx231xx-dvb.c | 64 ++++++++++++++++++++--- drivers/media/usb/em28xx/em28xx-dvb.c | 13 +++-- include/uapi/linux/media.h | 4 +- 10 files changed, 165 insertions(+), 91 deletions(-)
Signature · 1 line
2.1.0