lkml.org 
[lkml]   [2021]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/3] Type C partner power supply and PDO support.
Date
Hi,

We'd like to expose the USB PD Power Source/Sink capabilities provided
by a partner (SOP) to userspace. Towards that end,
here is a short series which adds the capabilities to the power supply
class. We also add a function to the Type C connector class
to register a power supply device for a connected partner.

I'm sending this out as an RFC to get some initial feedback from the
relevant groups. Once we can settle on an approach, I can resend the
series with a sample implementation in the Chrome OS Type C port driver
(cros-ec-typec).

Thanks!

Prashant Malani (3):
usb: pd: Increase max PDO objects to 13
power: supply: Add support for PDOs props
usb: typec: Add partner power registration call

Documentation/ABI/testing/sysfs-class-power | 30 +++++++++++++++++++++
drivers/power/supply/power_supply_sysfs.c | 18 ++++++++++++-
drivers/usb/typec/class.c | 18 ++++++++++++-
drivers/usb/typec/class.h | 2 ++
include/linux/power_supply.h | 5 ++++
include/linux/usb/pd.h | 8 +++++-
include/linux/usb/typec.h | 5 ++++
7 files changed, 83 insertions(+), 3 deletions(-)

--
2.33.0.153.gba50c8fa24-goog

\
 
 \ /
  Last update: 2021-09-02 23:36    [W:0.135 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site