sysfs-class-usb_power_delivery 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. What: /sys/class/usb_power_delivery
  2. Date: May 2022
  3. Contact: Heikki Krogerus <[email protected]>
  4. Description:
  5. Directory for USB Power Delivery devices.
  6. What: /sys/class/usb_power_delivery/.../revision
  7. Date: May 2022
  8. Contact: Heikki Krogerus <[email protected]>
  9. Description:
  10. File showing the USB Power Delivery Specification Revision used
  11. in communication.
  12. What: /sys/class/usb_power_delivery/.../version
  13. Date: May 2022
  14. Contact: Heikki Krogerus <[email protected]>
  15. Description:
  16. This is an optional attribute file showing the version of the
  17. specific revision of the USB Power Delivery Specification. In
  18. most cases the specification version is not known and the file
  19. is not available.
  20. What: /sys/class/usb_power_delivery/.../source-capabilities
  21. Date: May 2022
  22. Contact: Heikki Krogerus <[email protected]>
  23. Description:
  24. The source capabilities message "Source_Capabilities" contains a
  25. set of Power Data Objects (PDO), each representing a type of
  26. power supply. The order of the PDO objects is defined in the USB
  27. Power Delivery Specification. Each PDO - power supply - will
  28. have its own device, and the PDO device name will start with the
  29. object position number as the first character followed by the
  30. power supply type name (":" as delimiter).
  31. /sys/class/usb_power_delivery/.../source_capabilities/<position>:<type>
  32. What: /sys/class/usb_power_delivery/.../sink-capabilities
  33. Date: May 2022
  34. Contact: Heikki Krogerus <[email protected]>
  35. Description:
  36. The sink capability message "Sink_Capabilities" contains a set
  37. of Power Data Objects (PDO) just like with source capabilities,
  38. but instead of describing the power capabilities, these objects
  39. describe the power requirements.
  40. The order of the objects in the sink capability message is the
  41. same as with the source capabilities message.
  42. Fixed Supplies
  43. What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply
  44. Date: May 2022
  45. Contact: Heikki Krogerus <[email protected]>
  46. Description:
  47. Devices containing the attributes (the bit fields) defined for
  48. Fixed Supplies.
  49. The device "1:fixed_supply" is special. USB Power Delivery
  50. Specification dictates that the first PDO (at object position
  51. 1), and the only mandatory PDO, is always the vSafe5V Fixed
  52. Supply Object. vSafe5V Object has additional fields defined for
  53. it that the other Fixed Supply Objects do not have and that are
  54. related to the USB capabilities rather than power capabilities.
  55. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_power
  56. Date: May 2022
  57. Contact: Heikki Krogerus <[email protected]>
  58. Description:
  59. This file contains boolean value that tells does the device
  60. support both source and sink power roles.
  61. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/usb_suspend_supported
  62. Date: May 2022
  63. Contact: Heikki Krogerus <[email protected]>
  64. Description:
  65. This file shows the value of the USB Suspend Supported bit in
  66. vSafe5V Fixed Supply Object. If the bit is set then the device
  67. will follow the USB 2.0 and USB 3.2 rules for suspend and
  68. resume.
  69. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/unconstrained_power
  70. Date: May 2022
  71. Contact: Heikki Krogerus <[email protected]>
  72. Description:
  73. This file shows the value of the Unconstrained Power bit in
  74. vSafe5V Fixed Supply Object. The bit is set when an external
  75. source of power, powerful enough to power the entire system on
  76. its own, is available for the device.
  77. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/usb_communication_capable
  78. Date: May 2022
  79. Contact: Heikki Krogerus <[email protected]>
  80. Description:
  81. This file shows the value of the USB Communication Capable bit in
  82. vSafe5V Fixed Supply Object.
  83. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_data
  84. Date: May 2022
  85. Contact: Heikki Krogerus <[email protected]>
  86. Description:
  87. This file shows the value of the Dual-Role Data bit in vSafe5V
  88. Fixed Supply Object. Dual role data means ability act as both
  89. USB host and USB device.
  90. What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/unchunked_extended_messages_supported
  91. Date: May 2022
  92. Contact: Heikki Krogerus <[email protected]>
  93. Description:
  94. This file shows the value of the Unchunked Extended Messages
  95. Supported bit in vSafe5V Fixed Supply Object.
  96. What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply/voltage
  97. Date: May 2022
  98. Contact: Heikki Krogerus <[email protected]>
  99. Description:
  100. The voltage the supply supports in millivolts.
  101. What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/maximum_current
  102. Date: May 2022
  103. Contact: Heikki Krogerus <[email protected]>
  104. Description:
  105. Maximum current of the fixed source supply in milliamperes.
  106. What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/operational_current
  107. Date: May 2022
  108. Contact: Heikki Krogerus <[email protected]>
  109. Description:
  110. Operational current of the sink in milliamperes.
  111. What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/fast_role_swap_current
  112. Date: May 2022
  113. Contact: Heikki Krogerus <[email protected]>
  114. Description:
  115. This file contains the value of the "Fast Role Swap USB Type-C
  116. Current" field that tells the current level the sink requires
  117. after a Fast Role Swap.
  118. 0 - Fast Swap not supported"
  119. 1 - Default USB Power"
  120. 2 - 1.5A@5V"
  121. 3 - 3.0A@5V"
  122. Variable Supplies
  123. What: /sys/class/usb_power_delivery/.../<capability>/<position>:variable_supply
  124. Date: May 2022
  125. Contact: Heikki Krogerus <[email protected]>
  126. Description:
  127. Variable Power Supply PDO.
  128. What: /sys/class/usb_power_delivery/.../<capability>/<position>:variable_supply/maximum_voltage
  129. Date: May 2022
  130. Contact: Heikki Krogerus <[email protected]>
  131. Description:
  132. Maximum Voltage in millivolts.
  133. What: /sys/class/usb_power_delivery/.../<capability>/<position>:variable_supply/minimum_voltage
  134. Date: May 2022
  135. Contact: Heikki Krogerus <[email protected]>
  136. Description:
  137. Minimum Voltage in millivolts.
  138. What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:variable_supply/maximum_current
  139. Date: May 2022
  140. Contact: Heikki Krogerus <[email protected]>
  141. Description:
  142. The maximum current in milliamperes that the source can supply
  143. at the given Voltage range.
  144. What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:variable_supply/operational_current
  145. Date: May 2022
  146. Contact: Heikki Krogerus <[email protected]>
  147. Description:
  148. The operational current in milliamperes that the sink requires
  149. at the given Voltage range.
  150. Battery Supplies
  151. What: /sys/class/usb_power_delivery/.../<capability>/<position>:battery
  152. Date: May 2022
  153. Contact: Heikki Krogerus <[email protected]>
  154. Description:
  155. Battery PDO.
  156. What: /sys/class/usb_power_delivery/.../<capability>/<position>:battery/maximum_voltage
  157. Date: May 2022
  158. Contact: Heikki Krogerus <[email protected]>
  159. Description:
  160. Maximum Voltage in millivolts.
  161. What: /sys/class/usb_power_delivery/.../<capability>/<position>:battery/minimum_voltage
  162. Date: May 2022
  163. Contact: Heikki Krogerus <[email protected]>
  164. Description:
  165. Minimum Voltage in millivolts.
  166. What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:battery/maximum_power
  167. Date: May 2022
  168. Contact: Heikki Krogerus <[email protected]>
  169. Description:
  170. Maximum allowable Power in milliwatts.
  171. What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:battery/operational_power
  172. Date: May 2022
  173. Contact: Heikki Krogerus <[email protected]>
  174. Description:
  175. The operational power that the sink requires at the given
  176. voltage range.
  177. Standard Power Range (SPR) Programmable Power Supplies
  178. What: /sys/class/usb_power_delivery/.../<capability>/<position>:programmable_supply
  179. Date: May 2022
  180. Contact: Heikki Krogerus <[email protected]>
  181. Description:
  182. Programmable Power Supply (PPS) Augmented PDO (APDO).
  183. What: /sys/class/usb_power_delivery/.../<capability>/<position>:programmable_supply/maximum_voltage
  184. Date: May 2022
  185. Contact: Heikki Krogerus <[email protected]>
  186. Description:
  187. Maximum Voltage in millivolts.
  188. What: /sys/class/usb_power_delivery/.../<capability>/<position>:programmable_supply/minimum_voltage
  189. Date: May 2022
  190. Contact: Heikki Krogerus <[email protected]>
  191. Description:
  192. Minimum Voltage in millivolts.
  193. What: /sys/class/usb_power_delivery/.../<capability>/<position>:programmable_supply/maximum_current
  194. Date: May 2022
  195. Contact: Heikki Krogerus <[email protected]>
  196. Description:
  197. Maximum Current in milliamperes.
  198. What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:programmable_supply/pps_power_limited
  199. Date: May 2022
  200. Contact: Heikki Krogerus <[email protected]>
  201. Description:
  202. The PPS Power Limited bit indicates whether or not the source
  203. supply will exceed the rated output power if requested.