Re: Removal of regulator framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 23, 2014 at 10:57 AM, Mauro Carvalho Chehab
<m.chehab@xxxxxxxxxxx> wrote:
> Em Wed, 23 Jul 2014 10:13:28 -0700
> "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> escreveu:
>
>> On Sat, Jul 19, 2014 at 9:19 AM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
>> > Maintaining the regulator drivers in backports costs some time and I do
>> > not need them. Is anybody using the regulator drivers from backports? I
>> > would like to remove them.
>>
>> That came simply from collateral of backporting media drivers,
>> eventually I started running into device drivers that used the
>> regulator framework. Since we have tons of media drivers perhaps the
>> more sensible thing to do is to white list a set of media divers that
>> people actually care and then we just nuke both regulator and media
>> drivers that no one cares for. For that though I'd like to ask media
>> folks.
>
> Hi Luis,
>
> The drivers that currently use regulators are mostly the ones at
> drivers/media/platform, plus the corresponding I2C drivers for their
> webcam sensors, under drivers/media/i2c.
>
> I think that there's one exception though: em28xx. This driver can use
> some sensor drivers, as it supports a few webcams. This is one of
> the most used USB media driver, as there are lots of USB supported
> on it, supporting 4 types of devices on it: analog TV, capture card,
> digital TV and webcam.
>
> The webcam part of em28xx is not that relevant, as there are very few
> models using it. However, currently, it is not possible to just
> disable webcam support. It shouldn't be hard to make webcam support
> optional on it, as it has already sub-drivers for V4L2, DVB, ALSA and
> remote controller. One additional driver for webcam, that could be
> disabled at the backport tree shouldn't be hard to do. If you want it,
> patches are welcome.

Thanks for the details Mauro, are you aware of current or future uses
of backports for media at this point? Adding media drivers was more of
an experiment to see how hard or easy it would be to add a new
unrelated subsystem, we carry it now and as collateral also carry some
regulator drivers but its not clear the value in terms of users, so
hence Hauke's question of removal of the regulator drivers. It'd be
good to limit the drivers we carry to what folks actually use and care
about.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux