usb: typec: tps6598x: Export some power supply properties
authorGuido Günther <agx@sigxcpu.org>
Sat, 5 Dec 2020 11:13:26 +0000 (12:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Dec 2020 14:28:04 +0000 (15:28 +0100)
commit10eb0b6ac63a15b80e4e9ae8b85668827a747350
treeeca84c119cb78399a6cd0e1688a014c31b9139fe
parentff62d08fd6242a3ef5aa0a7bcae6a0b0136a60ed
usb: typec: tps6598x: Export some power supply properties

This allows downstream supplies and userspace to detect
whether external power is supplied.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Link: https://lore.kernel.org/r/2c8e81d9da9ff05b065f66edba915edd11f74065.1607166657.git.agx@sigxcpu.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/Kconfig
drivers/usb/typec/tps6598x.c