From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Jun Subject: [PATCH 00/12] staging: typec: tcpci: move out of staging Date: Tue, 26 Sep 2017 08:45:15 +0800 Message-ID: <1506386727-16370-1-git-send-email-jun.li@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, heikki.krogerus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org Cc: yueyao-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, o_leveque-1tsiiZ//OF9QFI55V6+gNQ@public.gmane.org, peter.chen-3arQi8VN3Tc@public.gmane.org, aisheng.dong-3arQi8VN3Tc@public.gmane.org, jun.li-3arQi8VN3Tc@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org 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/staging/typec/tcpci.c | 526 ----------------- drivers/staging/typec/tcpci.h | 133 ----- drivers/usb/typec/Kconfig | 7 + drivers/usb/typec/Makefile | 1 + drivers/usb/typec/tcpci.c | 637 +++++++++++++++++++++ drivers/usb/typec/tcpci.h | 133 +++++ drivers/usb/typec/tcpm.c | 22 +- drivers/usb/typec/typec.c | 45 ++ include/linux/usb/tcpm.h | 9 +- include/linux/usb/typec.h | 2 + 17 files changed, 928 insertions(+), 692 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 delete mode 100644 drivers/staging/typec/tcpci.c delete mode 100644 drivers/staging/typec/tcpci.h create mode 100644 drivers/usb/typec/tcpci.c create mode 100644 drivers/usb/typec/tcpci.h -- 2.6.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html