Re: [PATCH v6 2/2] usb: typec: anx7411: Add Analogix PD ANX7411 support

From: Xin Ji
Date: Thu Mar 03 2022 - 21:29:51 EST


On Thu, Mar 03, 2022 at 03:13:33PM +0200, Heikki Krogerus wrote:
> On Thu, Mar 03, 2022 at 10:47:57AM +0800, Xin Ji wrote:
> > On Wed, Mar 02, 2022 at 02:03:18PM +0200, Heikki Krogerus wrote:
> > > Hi,
> > >
> > > This does not apply on top of Greg's latest usb-next branch. You need
> > > to rebase this. There are also a few more nitpicks below.
> >
> > Hi, I didn't found tcpci.h in include/linux/usb/
>
> I'm asking you to create the file.
>
> So create a separate patch where you move the register definitions and
> command definitions from drivers/usb/typec/tcpm/tcpci.h to
> include/linux/usb/tcpci.h
Hi heikki, I'm confused, do you mean move total tcpci.h to
include/linux/usb/ directory or just move our driver patch used register
definitions and command to "include/linux/usb/tcpci.h"?

And I think the other way is, our driver patch just include
"tcpm/tcpci.h" is better(no need to create new file). What do you think?

Thanks,
Xin
>
> thanks,
>
> --
> heikki