Re: [PATCH 4/6] drivers:misc: sources for Init manager module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcel Holtmann
Date: Wednesday, March 24, 2010 - 10:15 am

Hi Pavan,


So why are we not making the hci_ll into a generic driver that can
register besides Bluetooth also FM and GPS.

Then we can attach that driver to the TTY via line discipline on boot
and let the LL part handle the power management.

Registration of Bluetooth device, FM and GPS nodes are done via RFKILL
that the LL driver exports.


I think the driver should make sure it doesn't use the UART clocks if in
deep sleep. This has nothing to do with installing the line discipline
on boot via a userspace tool.

You do the power management for the hci_ll driver already today. So why
can't we do the same in this driver?

Another way to view this is that the LL driver has to create a virtual
bus for Bluetooth, FM and GPS devices. However RFKILL might be a bit
more suitable and simpler.

Regards

Marcel


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/6] drivers:misc: sources for Init manager module, Marcel Holtmann, (Wed Mar 24, 10:15 am)