Files
linux/include/linux
Amit Sunil Dhamne 9277b3b2d5 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>
2026-07-17 12:33:06 +02:00
..
2026-06-17 11:32:14 +01:00
2026-05-28 21:24:54 -07:00
2026-06-16 08:53:53 -07:00
2026-06-07 10:03:01 -07:00
2026-05-28 17:45:46 -07:00
2026-06-05 00:34:55 -04:00
2026-05-28 11:36:59 -04:00
2026-06-05 17:46:17 -07:00
2026-05-28 21:24:43 -07:00
2026-07-01 15:26:47 +02:00
2026-06-10 10:42:55 -04:00
2026-06-26 22:18:34 -04:00
2026-05-26 11:02:01 +02:00
2026-07-13 07:09:28 +02:00
2026-06-06 15:22:44 +02:00