[linux-yocto] [PATCH 13/25] usb: chipidea: set usb otg capabilities

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Li Jun Init and update otg capabilities by DT, set gadget's otg capabilities accordingly. Acked-by: Peter Chen Reviewed-by: Roger Quadros Signed-off-by: Li Jun Signed-off-by: Felipe Balbi

[linux-yocto] [PATCH 25/25] usb: dwc3: pci: add support for Intel Broxton SOC

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus PCI IDs for Broxton based platforms. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi (cherry picked from commit b4c580a43d520b7812c0fd064fbab929ce2f1da0) Signed-off-by: Wan Ahmad

[linux-yocto] [PATCH 10/25] usb: dwc3: add ULPI interface support

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus Registers DWC3's ULPI interface with the ULPI bus when it's available. Signed-off-by: Heikki Krogerus Acked-by: David Cohen Signed-off-by: Felipe Balbi (cherry

[linux-yocto] [PATCH 24/25] usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: John Youn Certain Synopsys prototyping PHY boards are not able to meet timings constraints for LPM. This allows the PHY to meet those timings by leaving the PHY clock running during suspend. Cc: # v3.18+ Signed-off-by: John Youn

[linux-yocto] [PATCH 11/25] usb: dwc3: core: avoid NULL pointer dereference

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Felipe Balbi commit 3e10a2ce98d1 ("usb: dwc3: add hsphy_interface property") introduced a possible NULL pointer dereference because dwc->hsphy_interface can be NULL. In order to fix it, all we have to do is guard strncmp() against a NULL argument. Fixes: 3e10a2ce98d1 ("usb:

[linux-yocto] [PATCH 07/25] usb: dwc3: setup phys earlier

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus This allows dwc3_phy_setup() to be more useful later. There is nothing preventing the PHY configuration registers from being programmed early. They do not loose their context in soft reset. There are however other PHY related operations

[linux-yocto] [PATCH 19/25] usb: common: of_usb_get_dr_mode to usb_get_dr_mode

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus By using the unified device property interface, the function can be made available for all platforms and not just the ones using DT. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi

[linux-yocto] [PATCH 09/25] usb: dwc3: pci: add quirk for Baytrails

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus On some BYT platforms the USB2 PHY needs to be put into operational mode by the controller driver with GPIOs controlling the PHYs reset and cs signals. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe

[linux-yocto] [PATCH 20/25] usb: dwc3: core: convert to unified device property interface

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus No functional affect on existing platforms, but the driver is now ready to extract the properties also from ACPI tables as well as from DT. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi

[linux-yocto] [PATCH 21/25] usb: dwc3: pci: passing forward the ACPI companion

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus Sharing the ACPI companion with dwc3 core so it has access to the properties defined for DWC3 in ACPI tables. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi (cherry picked from

[linux-yocto] [PATCH 14/25] usb: renesas_usbhs: Allow an OTG PHY driver to provide VBUS

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Phil Edworthy These changes allow a PHY driver to trigger a VBUS interrupt and to provide the value of VBUS. Reviewed-by: Laurent Pinchart Signed-off-by: Phil Edworthy Signed-off-by: Felipe Balbi

[linux-yocto] [PATCH 17/25] usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus By using the unified device property interface, the function can be made available for all platforms and not just the ones using DT. Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi

[linux-yocto] [PATCH 06/25] usb: dwc3: soft reset to it's own function

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus So it can be called from other places later. Signed-off-by: Heikki Krogerus Acked-by: David Cohen Signed-off-by: Felipe Balbi (cherry picked from commit

[linux-yocto] [PATCH 16/25] usb: dwc3: Add frame length adjustment quirk

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Nikhil Badola Add adjust_frame_length_quirk for writing to fladj register which adjusts (micro)frame length to value provided by "snps,quirk-frame-length-adjustment" property thus avoiding USB 2.0 devices to time-out over a longer run Signed-off-by: Nikhil

[linux-yocto] [PATCH 18/25] usb: dwc3: st: prepare the driver for generic usb_get_dr_mode function

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus of_usb_get_dr_mode will be converted into more generic usb_get_dr_mode function that will take struct device instead of struct device_node as its parameter. To make the conversion possible later, waiting for the platform device for dwc3 to

[linux-yocto] [PATCH 15/25] usb: musb: dsps: control musb speed based on dts setting

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Bin Liu Set musb config->maximum_speed based on the dts setting to control musb speed. By default musb works in high-speed mode. Adding maximum-speed = "full-speed"; to dts usb node will force musb to full-speed mode. Signed-off-by: Bin Liu

[linux-yocto] [PATCH 05/25] usb: dwc3: cache hwparams earlier

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus So they are available when ULPI interface support is added. Signed-off-by: Heikki Krogerus Acked-by: David Cohen Signed-off-by: Felipe Balbi (cherry picked

[linux-yocto] [PATCH 04/25] usb: dwc3: store driver data earlier

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus We need to store it before phys are handled, so we can later use it in ULPI interface support code. Signed-off-by: Heikki Krogerus Acked-by: David Cohen Signed-off-by: Felipe

[linux-yocto] [PATCH 03/25] usb: dwc3: ULPI or UTMI+ select

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus Make selection between ULPI and UTMI+ interfaces possible by providing definition for the bit in Global USB2 PHY Configuration Register that controls it. Signed-off-by: Heikki Krogerus Acked-by: David Cohen

[linux-yocto] [PATCH 02/25] usb: dwc3: USB2 PHY register access bits

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus Definitions for Global USB2 PHY Vendor Control Register bits. We will need them to access ULPI PHY registers later. Signed-off-by: Heikki Krogerus Acked-by: David Cohen

[linux-yocto] [PATCH 01/25] usb: add bus type for USB ULPI

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Heikki Krogerus UTMI+ Low Pin Interface (ULPI) is a commonly used PHY interface for USB 2.0. The ULPI specification describes a standard set of registers which the vendors can extend for their specific needs. ULPI PHYs provide often functions such as

[linux-yocto] [PATCH 00/25] Backport some USB patches to 4.1

2016-03-10 Thread wan . ahmad . zainie . wan . mohamad
From: Wan Ahmad Zainie Hi Bruce. These patches are the USB backports for Apollo Lake/Broxton, upstreamed to the mainline Linux kernel by Heikki Krogerus. The patch usb: dwc3: core: avoid NULL pointer dereference is to guard against a possible NULL

Re: [linux-yocto] [PATCH] gpio-pca953x: add "drive" property

2016-03-10 Thread Bruce Ashfield
On 2016-03-10 2:58 PM, Saul Wold wrote: From: Jussi Laako Galileo gen 2 has support for setting GPIO modes. Expose these properties through the GPIO sysfs interface. This approach is bit hacky, since it changes the interface semantics. The original patch was by

[linux-yocto] [PATCH] gpio-pca953x: add "drive" property

2016-03-10 Thread Saul Wold
From: Jussi Laako Galileo gen 2 has support for setting GPIO modes. Expose these properties through the GPIO sysfs interface. This approach is bit hacky, since it changes the interface semantics. The original patch was by Josef Ahmad