diff options
author | Andrei Kuchynski <akuchynski@chromium.org> | 2025-02-03 15:59:46 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2025-02-05 07:02:27 +0300 |
commit | e6a3215f78716d25ad60b002fd0585c04ffd5d01 (patch) | |
tree | c7c5324db58122dafef2249708f75e5bf7476ddc /lib/debugobjects.c | |
parent | d83c45aeec9b223fe6db4175e9d1c4f5699cc37a (diff) | |
download | linux-e6a3215f78716d25ad60b002fd0585c04ffd5d01.tar.xz |
platform/chrome: cros_ec_sysfs: Expose PD mux status
This adds sysfs attribute /sys/class/chromeos/cros_ec/usbpdmuxinfo
to expose the PD mux status for each Type-C port.
This allows user-space applications to easily determine
the current mux state without using ioctls.
Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Link: https://lore.kernel.org/r/20250203125947.2701106-2-akuchynski@chromium.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions