Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1721665 > unrolled thread
| Started by | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| First post | 2017-08-28 16:30 +0200 |
| Last post | 2017-09-01 17:40 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[PATCHv2 0/7] Add support for USB OTG on STM32F7 Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
[PATCHv2 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
[PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding Amelie Delaunay <amelie.delaunay@st.com> - 2017-08-28 16:30 +0200
Re: [PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding Rob Herring <robh@kernel.org> - 2017-09-01 17:40 +0200
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-08-28 16:30 +0200 |
| Subject | [PATCHv2 0/7] Add support for USB OTG on STM32F7 |
| Message-ID | <ujtd7-6G2-3@gated-at.bofh.it> |
The STM32F7 MCU family embeds two DWC2 USB OTG cores. One core is USB OTG FS and the other is USB OTG HS. The USB FS core only works with its internal phy whilst the USB HS core can work in HS with external ULPI phy or in FS/LS with the on-chip FS phy. Amelie Delaunay (7): dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding usb: dwc2: add support for STM32F7 USB OTG HS ARM: dts: stm32: Add USB HS support for STM32F746 MCU ARM: dts: stm32: Enable USB HS on stm32746g-eval ARM: dts: stm32: Enable USB HS on stm32f746-disco ARM: dts: stm32: Add USB FS support for STM32F746 MCU ARM: dts: stm32: Enable USB FS on stm32f746-disco Documentation/devicetree/bindings/usb/dwc2.txt | 2 + arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++ arch/arm/boot/dts/stm32f746-disco.dts | 30 ++++++++++ arch/arm/boot/dts/stm32f746.dtsi | 80 ++++++++++++++++++++++++++ drivers/usb/dwc2/params.c | 11 ++++ 5 files changed, 139 insertions(+) -- 2.7.4
[toc] | [next] | [standalone]
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-08-28 16:30 +0200 |
| Subject | [PATCHv2 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval |
| Message-ID | <ujtd8-6G2-37@gated-at.bofh.it> |
| In reply to | #1721665 |
This patch enables USB HS on stm32746g-eval (Host mode).
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index 69a9579..03ee797 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -83,6 +83,13 @@
gpios = <&gpioc 13 0>;
};
};
+
+ usbotg_hs_phy: usb-phy {
+ #phy-cells = <0>;
+ compatible = "usb-nop-xceiv";
+ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
+ clock-names = "main_clk";
+ };
};
&clk_hse {
@@ -102,3 +109,12 @@
pinctrl-names = "default";
status = "okay";
};
+
+&usbotg_hs {
+ dr_mode = "host";
+ phys = <&usbotg_hs_phy>;
+ phy-names = "usb2-phy";
+ pinctrl-0 = <&usbotg_hs_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-08-28 16:30 +0200 |
| Subject | [PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding |
| Message-ID | <ujtd9-6G2-41@gated-at.bofh.it> |
| In reply to | #1721665 |
This patch adds binding documentation for DWC2 controller in HS mode found on STMicroelectronics STM32F7 SoC. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index fcf199b..46da5f1 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt @@ -19,6 +19,8 @@ Required properties: configured in FS mode; - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs configured in HS mode; + - "st,stm32f7-hsotg": The DWC2 USB HS controller instance in STM32F7 SoCs + configured in HS mode; - reg : Should contain 1 register range (address and length) - interrupts : Should contain 1 interrupt - clocks: clock provider specifier -- 2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-09-01 17:40 +0200 |
| Subject | Re: [PATCHv2 1/7] dt-bindings: usb: Document the STM32F7 DWC2 USB OTG HS core binding |
| Message-ID | <ukWd4-6Xx-27@gated-at.bofh.it> |
| In reply to | #1721669 |
On Mon, Aug 28, 2017 at 04:20:12PM +0200, Amelie Delaunay wrote: > This patch adds binding documentation for DWC2 controller in HS mode found > on STMicroelectronics STM32F7 SoC. > > Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> > --- > Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring <robh@kernel.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web