Re: [PATCH v2] staging: typec: handle vendor defined part and modify drp toggling flow

From: Greg KH
Date: Wed Feb 14 2018 - 07:57:25 EST


On Wed, Feb 14, 2018 at 08:45:34PM +0800, ShuFanLee wrote:
> From: ShuFanLee <shufan_lee@xxxxxxxxxxx>
>
> Handle vendor defined behavior in tcpci_init, tcpci_set_vconn and export tcpci_irq.
> More operations can be extended in tcpci_data if needed.
> According to TCPCI specification, 4.4.5.2 ROLE_CONTROL,
> TCPC shall not start DRP toggling until subsequently the TCPM
> writes to the COMMAND register to start DRP toggling.
> DRP toggling flow is chagned as following:
> - Write DRP = 0 & Rd/Rd
> - Write DRP = 1
> - Set LOOK4CONNECTION command
>
> Signed-off-by: ShuFanLee <shufan_lee@xxxxxxxxxxx>
> ---
> drivers/staging/typec/tcpci.c | 111 ++++++++++++++++++++++++++++++++++--------
> drivers/staging/typec/tcpci.h | 13 +++++
> 2 files changed, 103 insertions(+), 21 deletions(-)

What changed from v1?

And I have to ask, are there no ' ' characters in your name?

thanks,

greg k-h