mbox series

[resend,00/12] staging: typec: tcpci: move out of staging

Message ID 1506398723-19359-1-git-send-email-jun.li@nxp.com
Headers show
Series staging: typec: tcpci: move out of staging | expand

Message

Jun Li Sept. 26, 2017, 4:05 a.m. UTC
This patch set attempts to move the tcpci driver out of staging by fix
some tcpci driver issues and verified on NXP PTN5110, which is a standard
tcpci typec port controller device with power delivery support, tested
power source and sink with drp config.

Li Jun (12):
  usb: typec: add API to get port type and preferred role
  usb: typec: add basic typec properties
  staging: typec: tcpci: add documentation for tcpci
  staging: typec: tcpci: support port config passed via dt
  staging: typec: tcpci: register port before request irq
  staging: typec: tcpci: enable vbus detection
  typec: tcpm: add starting value for drp toggling
  staging: typec: tcpci: correct drp toggling
  usb: typec: tcpm: only drives the connected cc line when attached
  staging: typec: tcpci: update set_cc for different state
  staging: typec: tcpci: Only touch target bit when enable vconn
  staging: typec: tcpci: move tcpci driver out of staging

 .../devicetree/bindings/usb/typec-tcpci.txt        |  36 ++++
 Documentation/devicetree/bindings/usb/typec.txt    |  46 +++++
 drivers/staging/Kconfig                            |   2 -
 drivers/staging/Makefile                           |   1 -
 drivers/staging/typec/Kconfig                      |  14 --
 drivers/staging/typec/Makefile                     |   1 -
 drivers/staging/typec/TODO                         |   5 -
 drivers/usb/typec/Kconfig                          |   7 +
 drivers/usb/typec/Makefile                         |   1 +
 drivers/{staging => usb}/typec/tcpci.c             | 185 ++++++++++++++++-----
 drivers/{staging => usb}/typec/tcpci.h             |   0
 drivers/usb/typec/tcpm.c                           |  22 ++-
 drivers/usb/typec/typec.c                          |  45 +++++
 include/linux/usb/tcpm.h                           |   9 +-
 include/linux/usb/typec.h                          |   2 +
 15 files changed, 306 insertions(+), 70 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/typec-tcpci.txt
 create mode 100644 Documentation/devicetree/bindings/usb/typec.txt
 delete mode 100644 drivers/staging/typec/Kconfig
 delete mode 100644 drivers/staging/typec/Makefile
 delete mode 100644 drivers/staging/typec/TODO
 rename drivers/{staging => usb}/typec/tcpci.c (73%)
 rename drivers/{staging => usb}/typec/tcpci.h (100%)

Comments

Guenter Roeck Oct. 27, 2017, 12:42 a.m. UTC | #1
What happened with this series ? Did we all drop the ball ?

Guenter

On 09/25/2017 09:05 PM, Li Jun wrote:
> This patch set attempts to move the tcpci driver out of staging by fix
> some tcpci driver issues and verified on NXP PTN5110, which is a standard
> tcpci typec port controller device with power delivery support, tested
> power source and sink with drp config.
> 
> Li Jun (12):
>    usb: typec: add API to get port type and preferred role
>    usb: typec: add basic typec properties
>    staging: typec: tcpci: add documentation for tcpci
>    staging: typec: tcpci: support port config passed via dt
>    staging: typec: tcpci: register port before request irq
>    staging: typec: tcpci: enable vbus detection
>    typec: tcpm: add starting value for drp toggling
>    staging: typec: tcpci: correct drp toggling
>    usb: typec: tcpm: only drives the connected cc line when attached
>    staging: typec: tcpci: update set_cc for different state
>    staging: typec: tcpci: Only touch target bit when enable vconn
>    staging: typec: tcpci: move tcpci driver out of staging
> 
>   .../devicetree/bindings/usb/typec-tcpci.txt        |  36 ++++
>   Documentation/devicetree/bindings/usb/typec.txt    |  46 +++++
>   drivers/staging/Kconfig                            |   2 -
>   drivers/staging/Makefile                           |   1 -
>   drivers/staging/typec/Kconfig                      |  14 --
>   drivers/staging/typec/Makefile                     |   1 -
>   drivers/staging/typec/TODO                         |   5 -
>   drivers/usb/typec/Kconfig                          |   7 +
>   drivers/usb/typec/Makefile                         |   1 +
>   drivers/{staging => usb}/typec/tcpci.c             | 185 ++++++++++++++++-----
>   drivers/{staging => usb}/typec/tcpci.h             |   0
>   drivers/usb/typec/tcpm.c                           |  22 ++-
>   drivers/usb/typec/typec.c                          |  45 +++++
>   include/linux/usb/tcpm.h                           |   9 +-
>   include/linux/usb/typec.h                          |   2 +
>   15 files changed, 306 insertions(+), 70 deletions(-)
>   create mode 100644 Documentation/devicetree/bindings/usb/typec-tcpci.txt
>   create mode 100644 Documentation/devicetree/bindings/usb/typec.txt
>   delete mode 100644 drivers/staging/typec/Kconfig
>   delete mode 100644 drivers/staging/typec/Makefile
>   delete mode 100644 drivers/staging/typec/TODO
>   rename drivers/{staging => usb}/typec/tcpci.c (73%)
>   rename drivers/{staging => usb}/typec/tcpci.h (100%)
> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jun Li Oct. 27, 2017, 1:17 a.m. UTC | #2
Hi Guenter,

> -----Original Message-----

> From: Guenter Roeck [mailto:groeck7@gmail.com] On Behalf Of Guenter Roeck

> Sent: Friday, October 27, 2017 8:43 AM

> To: Jun Li <jun.li@nxp.com>; gregkh@linuxfoundation.org; robh+dt@kernel.org;

> mark.rutland@arm.com; heikki.krogerus@linux.intel.com

> Cc: yueyao@google.com; o_leveque@orange.fr; Peter Chen

> <peter.chen@nxp.com>; A.s. Dong <aisheng.dong@nxp.com>; linux-

> usb@vger.kernel.org; devicetree@vger.kernel.org

> Subject: Re: [PATCH resend 00/12] staging: typec: tcpci: move out of staging

> 

> What happened with this series ? Did we all drop the ball ?

> 


In [1] Rob needs the typec related dt bindings and properties should be more complete
and based on USB connector definition[2](which is still in discussion), so this series is
dependent on that, I am busy recently, I will check [2] to see how to move forward on
this, any comments/thought much appreciated.

[1] https://www.spinics.net/lists/linux-usb/msg161412.html
[2] http://www.spinics.net/lists/devicetree/msg197601.html
 
Thanks
Li Jun

> Guenter

> 

> On 09/25/2017 09:05 PM, Li Jun wrote:

> > This patch set attempts to move the tcpci driver out of staging by fix

> > some tcpci driver issues and verified on NXP PTN5110, which is a

> > standard tcpci typec port controller device with power delivery

> > support, tested power source and sink with drp config.

> >

> > Li Jun (12):

> >    usb: typec: add API to get port type and preferred role

> >    usb: typec: add basic typec properties

> >    staging: typec: tcpci: add documentation for tcpci

> >    staging: typec: tcpci: support port config passed via dt

> >    staging: typec: tcpci: register port before request irq

> >    staging: typec: tcpci: enable vbus detection

> >    typec: tcpm: add starting value for drp toggling

> >    staging: typec: tcpci: correct drp toggling

> >    usb: typec: tcpm: only drives the connected cc line when attached

> >    staging: typec: tcpci: update set_cc for different state

> >    staging: typec: tcpci: Only touch target bit when enable vconn

> >    staging: typec: tcpci: move tcpci driver out of staging

> >

> >   .../devicetree/bindings/usb/typec-tcpci.txt        |  36 ++++

> >   Documentation/devicetree/bindings/usb/typec.txt    |  46 +++++

> >   drivers/staging/Kconfig                            |   2 -

> >   drivers/staging/Makefile                           |   1 -

> >   drivers/staging/typec/Kconfig                      |  14 --

> >   drivers/staging/typec/Makefile                     |   1 -

> >   drivers/staging/typec/TODO                         |   5 -

> >   drivers/usb/typec/Kconfig                          |   7 +

> >   drivers/usb/typec/Makefile                         |   1 +

> >   drivers/{staging => usb}/typec/tcpci.c             | 185 ++++++++++++++++-----

> >   drivers/{staging => usb}/typec/tcpci.h             |   0

> >   drivers/usb/typec/tcpm.c                           |  22 ++-

> >   drivers/usb/typec/typec.c                          |  45 +++++

> >   include/linux/usb/tcpm.h                           |   9 +-

> >   include/linux/usb/typec.h                          |   2 +

> >   15 files changed, 306 insertions(+), 70 deletions(-)

> >   create mode 100644 Documentation/devicetree/bindings/usb/typec-tcpci.txt

> >   create mode 100644 Documentation/devicetree/bindings/usb/typec.txt

> >   delete mode 100644 drivers/staging/typec/Kconfig

> >   delete mode 100644 drivers/staging/typec/Makefile

> >   delete mode 100644 drivers/staging/typec/TODO

> >   rename drivers/{staging => usb}/typec/tcpci.c (73%)

> >   rename drivers/{staging => usb}/typec/tcpci.h (100%)

> >