[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210902213500.3795948-1-pmalani@chromium.org>
Date: Thu, 2 Sep 2021 14:34:56 -0700
From: Prashant Malani <pmalani@...omium.org>
To: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
linux-pm@...r.kernel.org, bleung@...omium.org,
heikki.krogerus@...ux.intel.com, badhri@...gle.com
Cc: Prashant Malani <pmalani@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sebastian Reichel <sre@...nel.org>
Subject: [RFC PATCH 0/3] Type C partner power supply and PDO support.
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
Powered by blists - more mailing lists