diff options
author | Benson Leung <bleung@chromium.org> | 2021-01-29 09:14:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-01 17:31:34 +0300 |
commit | 1ed8459d8f1060c87c7d66fe2d3cbbe4bc9cdd24 (patch) | |
tree | af7328342941359b5ff9c5c6c3226464a08ce9db /include/linux/usb/audio-v3.h | |
parent | 3c648d3deb0f95c360c9b91f49c0f313db0cef31 (diff) | |
download | linux-1ed8459d8f1060c87c7d66fe2d3cbbe4bc9cdd24.tar.xz |
usb: typec: Standardize PD Revision format with Type-C Revision
The Type-C Revision was in a specific BCD format "0120H" for 1.2.
USB PD revision numbers follow a similar pattern with "0300H" for 3.0.
Standardizes the sysfs format for usb_power_delivery_revision
to align with the BCD format used for usb_typec_revision.
Example values:
- "2.0": USB Power Delivery Release 2.0
- "3.0": USB Power Delivery Release 3.0
- "3.1": USB Power Delivery Release 3.1
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20210129061406.2680146-2-bleung@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/audio-v3.h')
0 files changed, 0 insertions, 0 deletions