OSDN Git Service

usb: typec: tcpci: move tcpci.h to include/linux/usb/
authorXin Ji <xji@analogixsemi.com>
Wed, 6 Jul 2022 08:34:31 +0000 (16:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:51:16 +0000 (14:51 +0200)
commit7963d4d710112bc457f99bdb56608211e561190e
treeae3401376f9c5b0f64d646d3b4a76ec45947a67c
parent04cb742d4d8f30dc2e83b46ac317eec09191c68e
usb: typec: tcpci: move tcpci.h to include/linux/usb/

USB PD controllers which consisting of a microcontroller (acting as the TCPM)
and a port controller (TCPC) - may require that the driver for the PD
controller accesses directly also the on-chip port controller in some cases.

Move tcpci.h to include/linux/usb/ is convenience access TCPC registers.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Xin Ji <xji@analogixsemi.com>
Link: https://lore.kernel.org/r/20220706083433.2415524-1-xji@analogixsemi.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c
drivers/usb/typec/tcpm/tcpci_maxim.c
drivers/usb/typec/tcpm/tcpci_mt6360.c
drivers/usb/typec/tcpm/tcpci_rt1711h.c
include/linux/usb/tcpci.h [moved from drivers/usb/typec/tcpm/tcpci.h with 99% similarity]