lkml.org 
[lkml]   [2020]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/1] usb: typec: tps6598x: Export some power supply properties
Date
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

\
 
 \ /
  Last update: 2020-11-25 18:57    [W:0.681 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site