mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
4381a36abd
POWER-Z is a series of devices to monitor power characteristics of USB-C connections and display those on a on-device display. Some of the devices, notably KM002C and KM003C, contain an additional port which exposes the measurements via USB. This is a driver for this monitor port. It was developed and tested with the KM003C. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20230902-powerz-v4-1-7ec2c1440687@weissschuh.net [groeck: Release urb after hwmon registration error; Move priv->status initialization to correct place before reinit_completion ] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
31 lines
672 B
ReStructuredText
31 lines
672 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Kernel driver POWERZ
|
|
====================
|
|
|
|
Supported chips:
|
|
|
|
* ChargerLAB POWER-Z KM003C
|
|
|
|
Prefix: 'powerz'
|
|
|
|
Addresses scanned: -
|
|
|
|
Author:
|
|
|
|
- Thomas Weißschuh <linux@weissschuh.net>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver implements support for the ChargerLAB POWER-Z USB-C power testing
|
|
family.
|
|
|
|
The device communicates with the custom protocol over USB.
|
|
|
|
The channel labels exposed via hwmon match the labels used by the on-device
|
|
display and the official POWER-Z PC software.
|
|
|
|
As current can flow in both directions through the tester the sign of the
|
|
channel "curr1_input" (label "IBUS") indicates the direction.
|