[PATCH] usb: dwc2: remove deprecated comment in definition of struct dwc2_core_params

2017-01-28 Thread Heiner Kallweit
Since commit 0a7d0d7fa820 "usb: dwc2: Remove dwc2_set_all_params function" this comment isn't applicable any longer. Signed-off-by: Heiner Kallweit --- drivers/usb/dwc2/core.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 570a8004.

[PATCH] usb: dwc2: introduce config parameter to ignore supplies vusb_a and vusb_d

2017-01-28 Thread Heiner Kallweit
Supplies for vusb_a and vusb_d are needed only on a minority of systems supported by the dwc2 driver (AFAIK systems with Samsung SoCs). On all other systems this results in these harmless but annoying warnings: c900.usb supply vusb_d not found, using dummy regulator c900.usb supply vusb_a

[PATCH v4 1/5] usb: dwc2: Add support for STM32F429/439/469 USB OTG HS/FS in FS mode (internal PHY)

2017-01-28 Thread Bruno Herrera
This patch introduces a new parameter to activate USB OTG HS/FS core embedded phy transceiver. The STM32F4x9 SoC uses the GGPIO register to enable the transceiver. Also add the dwc2_core_params structure for stm32f4 otg fs. Signed-off-by: Bruno Herrera --- drivers/usb/dwc2/core.h | 4 d

[PATCH v4 5/5] dt-bindings: Document the STM32 USB OTG DWC2 core binding

2017-01-28 Thread Bruno Herrera
This patch adds the documentation for STM32F4x9 USB OTG FS/HS compatible strings. Signed-off-by: Bruno Herrera Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/dwc2.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Docu

[PATCH v4 3/5] ARM: dts: stm32: Enable USB FS on stm32f469-disco

2017-01-28 Thread Bruno Herrera
This patch enables USB FS on stm32f469-disco with 5V VBUS enable. Signed-off-by: Bruno Herrera --- arch/arm/boot/dts/stm32f469-disco.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index 8877

[PATCH v4 2/5] ARM: dts: stm32: Add USB FS support for STM32F429 MCU

2017-01-28 Thread Bruno Herrera
This patch adds the USB pins and nodes for USB FS core. Signed-off-by: Bruno Herrera --- arch/arm/boot/dts/stm32f429.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index e4dae0e..9afa45

[PATCH v4 4/5] ARM: dts: stm32: Enable USB HS in FS mode (embedded phy) on stm32f429-disco

2017-01-28 Thread Bruno Herrera
This patch enables USB HS working in FS mode on stm32f429-disco with 5V VBUS enable. Signed-off-by: Bruno Herrera --- arch/arm/boot/dts/stm32f429-disco.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-d

[PATCH v4 0/5] usb: dwc2: Add support for USB OTG on STM32F4x9

2017-01-28 Thread Bruno Herrera
The STM32F4x9 MCU family has two DWC2 USB OTG cores on it. One core is USB OTG FS and other core is USB OTG HS. The USB FS core only works with its internal phy whilst the USF HS core can work in HS with external ulpi phy or in FS/LS speed with the embedded FS PHY. The goal of this patch series is