linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] usb: typec: tps6598x: Export some power supply properties
@ 2020-11-25 17:55 Guido Günther
  2020-11-25 17:55 ` [PATCH v1 1/1] " Guido Günther
  0 siblings, 1 reply; 4+ messages in thread
From: Guido Günther @ 2020-11-25 17:55 UTC (permalink / raw)
  To: Heikki Krogerus, Greg Kroah-Hartman, linux-usb, linux-kernel

This allows downstream supplies and userspace to detect whether external power
is supplied.

The Librem 5 has the tp65982 in front of bq25980 charge controller.  Since that
is capable of sinking and sourcing power the online property helps to decide
what to do. It also makes upower happy.

There will be follow up patches providing more properties but these need some
more time to cook and i wanted to check if this is the right way to go?

Guido Günther (1):
  usb: typec: tps6598x: Export some power supply properties

 drivers/usb/typec/tps6598x.c | 97 ++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)

-- 
2.29.2


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

end of thread, other threads:[~2020-11-26 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 17:55 [PATCH v1 0/1] usb: typec: tps6598x: Export some power supply properties Guido Günther
2020-11-25 17:55 ` [PATCH v1 1/1] " Guido Günther
2020-11-26 12:35   ` Heikki Krogerus
2020-11-26 17:05     ` Guido Günther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).