[PATCH v9 1/3] usb: typec: tcpci: move tcpci.h to include/linux/usb/

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Jun 10 03:17:54 PDT 2022


On Wed, Mar 09, 2022 at 10:34:01AM +0800, Xin Ji wrote:
> 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.
> 
> Signed-off-by: Xin Ji <xji at analogixsemi.com>
> 
> ---
> V8 -> V9: Add more commit message
> V7 -> V8: Fix Guanter's comment, remove unnecessary explain
> 
> Signed-off-by: Xin Ji <xji at analogixsemi.com>
> ---
>  drivers/usb/typec/tcpm/tcpci.c                        | 3 +--
>  drivers/usb/typec/tcpm/tcpci_maxim.c                  | 3 +--
>  drivers/usb/typec/tcpm/tcpci_mt6360.c                 | 3 +--
>  drivers/usb/typec/tcpm/tcpci_rt1711h.c                | 2 +-
>  {drivers/usb/typec/tcpm => include/linux/usb}/tcpci.h | 1 +
>  5 files changed, 5 insertions(+), 7 deletions(-)
>  rename {drivers/usb/typec/tcpm => include/linux/usb}/tcpci.h (99%)

I need an ack by the typec maintainers/developers before I can take this
(hint...)

thanks,

greg k-h



More information about the Linux-mediatek mailing list