public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* dvb-core: how should i2c subdev drivers be attached?
@ 2016-06-09 12:49 Akihiro TSUKADA
  2016-06-09 15:24 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 10+ messages in thread
From: Akihiro TSUKADA @ 2016-06-09 12:49 UTC (permalink / raw)
  To: linux-media, mchehab

Hi,
excuse me for taking up a very old post again,
but I'd like to know the status of the patch:
  https://patchwork.linuxtv.org/patch/27922/
, which provides helper code for defining/loading i2c DVB subdev drivers.

Was it rejected and 
each i2c demod/tuner drivers should provide its own version of "attach" code?
Or is it acceptable (with some modifications) ?

Although not many drivers currently use i2c binding model (and use dvb_attach()),
but I expect that coming DVB subdev drivers will have a similar attach code,
including module request/ref-counting, device creation,
(re-)using i2c_board_info.platformdata to pass around both config parameters
and the resulting i2c_client* & dvb_frontend*.

Since I have a plan to split out demod/tuner drivers from pci/pt1 dvb-usb/friio
integrated drivers (because those share the tc90522 demod driver with pt3, and
friio also shares the bridge chip with gl861),
it would be nice if I can use the helper code,
instead of re-iterating similar "attach" code.

--
akihiro

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

end of thread, other threads:[~2016-06-09 20:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 12:49 dvb-core: how should i2c subdev drivers be attached? Akihiro TSUKADA
2016-06-09 15:24 ` Mauro Carvalho Chehab
2016-06-09 15:41   ` Antti Palosaari
2016-06-09 16:18     ` Mauro Carvalho Chehab
2016-06-09 16:38       ` Antti Palosaari
2016-06-09 18:30         ` Mauro Carvalho Chehab
2016-06-09 19:14           ` Antti Palosaari
2016-06-09 19:35             ` Mauro Carvalho Chehab
2016-06-09 20:24               ` Antti Palosaari
2016-06-09 17:38   ` Akihiro TSUKADA

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