summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAmit Sunil Dhamne <amitsd@google.com>2026-07-14 23:06:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-17 12:33:06 +0200
commit9277b3b2d5a990591e36ec391fe14682e460ab94 (patch)
tree1bcfcabc10f779e54ddac677a8edccca06f4acc8 /tools/perf/scripts/python/stackcollapse.py
parent6ffa37493898b0d70f72027790487451e00cd82b (diff)
usb: typec: tcpm: Add support for Battery Cap response message
Add support for responding to Get_Battery_Cap (extended) request with a a Battery_Capabilities (extended) msg. The requester will request Battery Cap for a specific battery using an index in Get_Battery_Cap. In case of failure to identify battery, TCPM shall reply with an appropriate message indicating so. As the Battery Cap Data Block size is 9 Bytes (lesser than MaxExtendedMsgChunkLen of 26B), only a single chunk is required to complete the AMS. Support for Battery_Capabilities message is required for sinks that contain battery as specified in USB PD Rev3.1 v1.8 ("Applicability of Data Messages" section). Signed-off-by: Amit Sunil Dhamne <amitsd@google.com> Reviewed-by: Badhri Jagan Sridharan <badhri@google.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://patch.msgid.link/20260714-batt-caps-upstream-v1-1-c86f0a7fbbda@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions