Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCHv2 0/9] dvb core: add basic support for the media controller
@ 2015-01-03 14:49 Mauro Carvalho Chehab
  2015-01-03 14:49 ` [PATCHv2 1/9] media: Fix DVB representation at media controller API Mauro Carvalho Chehab
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Mauro Carvalho Chehab @ 2015-01-03 14:49 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Mauro Carvalho Chehab, Linux Media Mailing List,
	Mauro Carvalho Chehab

This patch series adds basic support for the media controller at the
DVB core: it creates one media entity per DVB devnode, if the media
device is passed as an argument to the DVB structures.

The cx231xx driver was modified to pass such argument for DVB NET,
DVB frontend and DVB demux.

-

version 2:
- Now the PADs are created for all nodes
- Instead of using entity->flags for subtypes, create separate
  MEDIA_ENT_T_DEVNODE_DVB_foo for each DVB devtype
- The API change patch was split from the DVB core changes

TODO:
- Create links
- Update media API for the DVB media controller changes
- Add the new devnodes at media-ctl at v4l-utils

Results of the media controller, using the modified version found at:
	http://git.linuxtv.org/cgit.cgi/mchehab/experimental-v4l-utils.git/log/?h=dvb-media-ctl

Media controller API version 0.1.1

Media device information
------------------------
driver          cx231xx
model           Pixelview PlayTV USB Hybrid
serial          CIR000000000001
bus info        4
hw revision     0x4001
driver version  3.19.0

Device topology
- entity 1: cx25840 19-0044 (0 pad, 0 link)
            type V4L2 subdev subtype Unknown flags 0

- entity 2: tuner 21-0060 (0 pad, 0 link)
            type V4L2 subdev subtype Unknown flags 0

- entity 3: cx231xx #0 video (0 pad, 0 link)
            type Node subtype V4L flags 0
            device node name /dev/video0

- entity 4: cx231xx #0 vbi (0 pad, 0 link)
            type Node subtype V4L flags 0
            device node name /dev/vbi0

- entity 5: Fujitsu mb86A20s (1 pad, 0 link)
            type Node subtype DVB FE flags 0
            device node name /dev/dvb/adapter0/frontend0
	pad0: Source

- entity 6: demux (2 pads, 0 link)
            type Node subtype DVB DEMUX flags 0
            device node name /dev/dvb/adapter0/demux0
	pad0: Source
	pad1: Sink

- entity 7: dvr (1 pad, 0 link)
            type Node subtype DVB DVR flags 0
            device node name /dev/dvb/adapter0/dvr0
	pad0: Sink

- entity 8: dvb net (0 pad, 0 link)
            type Node subtype DVB NET flags 0
            device node name /dev/dvb/adapter0/net0

Mauro Carvalho Chehab (9):
  media: Fix DVB representation at media controller API
  media: add new types for DVB devnodes
  dvb core: add support for media controller at dvbdev
  dvb core: add media controller support for DVB frontend
  dvb core: add support for demux/dvr nodes at media controller
  dvb core: add support for CA node at the media controller
  dvb core: add support for DVB net node at the media controller
  cx231xx: add media controller support
  dvbdev: add pad for the DVB devnodes

 drivers/media/dvb-core/dmxdev.c           | 34 ++++++-----
 drivers/media/dvb-core/dmxdev.h           |  6 ++
 drivers/media/dvb-core/dvb_ca_en50221.c   | 19 +++---
 drivers/media/dvb-core/dvb_ca_en50221.h   |  6 ++
 drivers/media/dvb-core/dvb_frontend.c     |  8 ++-
 drivers/media/dvb-core/dvb_frontend.h     |  7 +++
 drivers/media/dvb-core/dvb_net.c          | 18 +++---
 drivers/media/dvb-core/dvb_net.h          |  6 ++
 drivers/media/dvb-core/dvbdev.c           | 96 ++++++++++++++++++++++++++++++-
 drivers/media/dvb-core/dvbdev.h           | 11 ++++
 drivers/media/usb/cx231xx/cx231xx-cards.c | 60 +++++++++++++++++--
 drivers/media/usb/cx231xx/cx231xx-dvb.c   |  4 ++
 drivers/media/usb/cx231xx/cx231xx.h       |  4 ++
 include/media/media-entity.h              |  5 +-
 include/uapi/linux/media.h                | 16 +++++-
 15 files changed, 257 insertions(+), 43 deletions(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-01-11 14:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-03 14:49 [PATCHv2 0/9] dvb core: add basic support for the media controller Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 1/9] media: Fix DVB representation at media controller API Mauro Carvalho Chehab
2015-01-11 13:50   ` Laurent Pinchart
2015-01-11 13:58     ` Mauro Carvalho Chehab
2015-01-11 14:05       ` Laurent Pinchart
2015-01-11 14:34         ` Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 2/9] media: add new types for DVB devnodes Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 3/9] dvb core: add support for media controller at dvbdev Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 4/9] dvb core: add media controller support for DVB frontend Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 5/9] dvb core: add support for demux/dvr nodes at media controller Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 6/9] dvb core: add support for CA node at the " Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 7/9] dvb core: add support for DVB net " Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 8/9] cx231xx: add media controller support Mauro Carvalho Chehab
2015-01-03 14:49 ` [PATCHv2 9/9] dvbdev: add pad for the DVB devnodes Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox