1. 28 4月, 2017 1 次提交
    • G
      staging: typec: USB Type-C Port Manager (tcpm) · f0690a25
      Guenter Roeck 提交于
      This driver implements the USB Type-C Power Delivery state machine
      for both source and sink ports. Alternate mode support is not
      fully implemented.
      
      The driver attaches to the USB Type-C class code implemented in
      the following patches.
      
      	usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY
      	usb: USB Type-C connector class
      
      This driver only implements the state machine. Lower level drivers are
      responsible for
      - Reporting VBUS status and activating VBUS
      - Setting CC lines and providing CC line status
      - Setting line polarity
      - Activating and deactivating VCONN
      - Setting the current limit
      - Activating and deactivating PD message transfers
      - Sending and receiving PD messages
      
      The driver provides both a functional API as well as callbacks for
      lower level drivers.
      Signed-off-by: NGuenter Roeck <groeck@chromium.org>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f0690a25
  2. 27 4月, 2017 1 次提交
    • A
      usb: host: xhci: remove #ifdef around PM functions · d852ed98
      Arnd Bergmann 提交于
      The #ifdef is slightly wrong as it doesn't cover the xhci_priv_resume_quirk()
      function, causing a harmless warning:
      
      drivers/usb/host/xhci-plat.c:58:12: error: 'xhci_priv_resume_quirk' defined but not used [-Werror=unused-function]
       static int xhci_priv_resume_quirk(struct usb_hcd *hcd)
      
      A simpler way to do this correctly is to use __maybe_unused annotations
      that let the compiler silently drop the functions when there is no
      reference.
      
      Fixes: b0c69b4b ("usb: host: plat: Enable xHCI plat runtime PM")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d852ed98
  3. 26 4月, 2017 5 次提交
  4. 20 4月, 2017 9 次提交
  5. 19 4月, 2017 2 次提交
  6. 18 4月, 2017 7 次提交
  7. 14 4月, 2017 1 次提交
    • P
      usb: chipidea: core: add sysfs group · a932a804
      Peter Chen 提交于
      Sometimes, the user needs to adjust some properties for controllers, eg
      the role for controller, we add sysfs group for them.
      
      The attribute 'role' is used to switch host/gadget role dynamically, the
      uewr can read the current role, and write the other role compare to
      current one to finish the switch.
      Signed-off-by: NPeter Chen <peter.chen@nxp.com>
      a932a804
  8. 11 4月, 2017 14 次提交