]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Wed, 6 Sep 2023 20:28:40 +0000 (21:28 +0100)
commit403b2e940910452e141754280df02eac2eb91d56
tree4e4fd735778d017e4adab7fefde7f5a176a39dfa
parentf29483873e241c397b48f4bc47e2f916d2353889
usb: typec: tcpci: move tcpci.h to include/linux/usb/

commit 7963d4d710112bc457f99bdb56608211e561190e upstream.

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
Stable-dep-of: 23e60c8daf5e ("usb: typec: tcpci: clear the fault status bit")
Signed-off-by: Fabio Estevam <festevam@denx.de>
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]