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

From: Xin Ji
Date: Mon Mar 07 2022 - 00:58:52 EST


On Fri, Mar 04, 2022 at 02:28:40PM +0200, Heikki Krogerus wrote:
> On Fri, Mar 04, 2022 at 10:29:36AM +0800, Xin Ji wrote:
> > 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?
>
> I would prefer that you just introduce the global header for them.
Hi heikki, I'll try to move the tcpci.h as global header.

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