hwmon: add POWER-Z driver
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>
Showing
- Documentation/hwmon/index.rst 1 addition, 0 deletionsDocumentation/hwmon/index.rst
- Documentation/hwmon/powerz.rst 30 additions, 0 deletionsDocumentation/hwmon/powerz.rst
- MAINTAINERS 7 additions, 0 deletionsMAINTAINERS
- drivers/hwmon/Kconfig 10 additions, 0 deletionsdrivers/hwmon/Kconfig
- drivers/hwmon/Makefile 1 addition, 0 deletionsdrivers/hwmon/Makefile
- drivers/hwmon/powerz.c 274 additions, 0 deletionsdrivers/hwmon/powerz.c
Please register or sign in to comment