public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question about userspace-consumer
@ 2009-08-10 20:05 Felipe Balbi
  2009-08-10 21:58 ` Mark Brown
  0 siblings, 1 reply; 26+ messages in thread
From: Felipe Balbi @ 2009-08-10 20:05 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Mike Rapoport, linux-kernel

Hi all,

I was reading userspace-consumer file ad was wondering whether would be
possible to use that in order to implement what SBS-IF [1] proposes
using sbs-enabled devices.

For doing that, probably userspace-consumer would have to be able to
set_voltage/get_voltage, set/get_current_limit and so on. So I was
thinking on changing userspace-consumer to use regulator_get() instead
of regulator_bulk_get() and make each instance of userspace-consumer to
talk to only and only one regulator.

I didn't put down any code but that seems quite plausible if we attach
userspace-consumer to the proper regulator(s) on board-file.

For doing the implementation and test part, I was thinking on getting
a bq2084evm [2] and sniffing the usb-i2c bus in order to write down some
code to use that under linux, but that's just implementation details.

Anyways, how do you guys feel about it ?

[1] http://www.sbs-forum.org
[2] http://focus.ti.com/docs/toolsw/folders/print/bq2084evm-001.html

-- 
balbi

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

end of thread, other threads:[~2009-08-23  9:08 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 20:05 Question about userspace-consumer Felipe Balbi
2009-08-10 21:58 ` Mark Brown
2009-08-11  5:44   ` Felipe Balbi
2009-08-11  9:40     ` Mark Brown
2009-08-11 10:30       ` Liam Girdwood
2009-08-11 20:49         ` Smart Battery System Design (was: Re: Question about userspace-consumer) Felipe Balbi
2009-08-11 20:59           ` Felipe Balbi
2009-08-11 22:36           ` Mark Brown
2009-08-12  6:47             ` Felipe Balbi
2009-08-12 10:05               ` Mark Brown
2009-08-12 19:07                 ` Felipe Balbi
2009-08-12 22:53                   ` Mark Brown
2009-08-14 16:32             ` Pavel Machek
2009-08-15 16:43               ` Mark Brown
2009-08-15 22:34                 ` Pavel Machek
2009-08-16  9:18                   ` Mark Brown
2009-08-22  9:28                     ` Pavel Machek
2009-08-22 10:16                       ` Mark Brown
2009-08-21 14:01                         ` Pavel Machek
2009-08-22 14:16                           ` Mark Brown
2009-08-22 19:35                             ` Pavel Machek
2009-08-23  9:08                               ` Mark Brown
2009-08-11 12:09     ` Question about userspace-consumer Mike Rapoport
2009-08-11 12:56       ` Mark Brown
2009-08-11 20:40         ` Felipe Balbi
2009-08-14 16:31     ` Pavel Machek

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