]> asedeno.scripts.mit.edu Git - linux.git/commit
typec: tcpm: Add core support for sink side PPS
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Mon, 23 Apr 2018 14:10:56 +0000 (15:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 12:16:00 +0000 (14:16 +0200)
commit2eadc33f40d4c59dd0649f8b6958872d85ad05d7
tree82a229c6a0243c9416caa1af2c1324864bfb55f0
parent7eced58dbf1056e6a25153ab2d5c068442e33446
typec: tcpm: Add core support for sink side PPS

This commit adds code to handle requesting of PPS APDOs. Switching
between standard PDOs and APDOs, and re-requesting an APDO to
modify operating voltage/current will be triggered by an
external call into TCPM.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm.c
include/linux/usb/pd.h
include/linux/usb/tcpm.h