devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding
@ 2018-03-01 10:05 Amelie Delaunay
  2018-03-01 10:05 ` [PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
  2018-03-01 10:05 ` [PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible Amelie Delaunay
  0 siblings, 2 replies; 3+ messages in thread
From: Amelie Delaunay @ 2018-03-01 10:05 UTC (permalink / raw)
  To: John Youn, Felipe Balbi, Greg Kroah-Hartman, Rob Herring, Mark Rutland
  Cc: linux-usb, devicetree, linux-kernel, Amelie Delaunay

This patchset fixes STM32F7 DWC2 OTG HS binding. It actually
re-applies the v2 former patches adding STM32F7 DWC2 OTG HS support.
Bindings reviewed by Rob Herring.

Amelie Delaunay (2):
  dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
  usb: dwc2: fix STM32F7 USB OTG HS compatible

 Documentation/devicetree/bindings/usb/dwc2.txt | 2 +-
 drivers/usb/dwc2/params.c                      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
  2018-03-01 10:05 [PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
@ 2018-03-01 10:05 ` Amelie Delaunay
  2018-03-01 10:05 ` [PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible Amelie Delaunay
  1 sibling, 0 replies; 3+ messages in thread
From: Amelie Delaunay @ 2018-03-01 10:05 UTC (permalink / raw)
  To: John Youn, Felipe Balbi, Greg Kroah-Hartman, Rob Herring, Mark Rutland
  Cc: linux-usb, devicetree, linux-kernel, Amelie Delaunay

This patch fixes binding documentation for DWC2 controller in HS mode
found on STMicroelectronics STM32F7 SoC.
The v2 former patch [1] had been acked by Rob Herring, but v1 was merged.

[1] https://patchwork.kernel.org/patch/9925575/

Fixes: 000777dadc7e ("dt-bindings: usb: Document the STM32F7xx DWC2 ...")
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/usb/dwc2.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt
index e64d903..46da5f1 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.txt
+++ b/Documentation/devicetree/bindings/usb/dwc2.txt
@@ -19,7 +19,7 @@ Required properties:
   configured in FS mode;
   - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs
   configured in HS mode;
-  - "st,stm32f7xx-hsotg": The DWC2 USB HS controller instance in STM32F7xx SoCs
+  - "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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible
  2018-03-01 10:05 [PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
  2018-03-01 10:05 ` [PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
@ 2018-03-01 10:05 ` Amelie Delaunay
  1 sibling, 0 replies; 3+ messages in thread
From: Amelie Delaunay @ 2018-03-01 10:05 UTC (permalink / raw)
  To: John Youn, Felipe Balbi, Greg Kroah-Hartman, Rob Herring, Mark Rutland
  Cc: linux-usb, devicetree, linux-kernel, Amelie Delaunay

This patch fixes compatible for STM32F7 USB OTG HS and consistently rename
dw2_set_params function.
The v2 former patch [1] had been acked by Paul Young, but v1 was merged.

[1] https://patchwork.kernel.org/patch/9925573/

Fixes: d8fae8b93682 ("usb: dwc2: add support for STM32F7xx USB OTG HS")
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 drivers/usb/dwc2/params.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index 03fd20f..c4a4749 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -137,7 +137,7 @@ static void dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg)
 	p->activate_stm_fs_transceiver = true;
 }
 
-static void dwc2_set_stm32f7xx_hsotg_params(struct dwc2_hsotg *hsotg)
+static void dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg)
 {
 	struct dwc2_core_params *p = &hsotg->params;
 
@@ -164,8 +164,8 @@ const struct of_device_id dwc2_of_match_table[] = {
 	{ .compatible = "st,stm32f4x9-fsotg",
 	  .data = dwc2_set_stm32f4x9_fsotg_params },
 	{ .compatible = "st,stm32f4x9-hsotg" },
-	{ .compatible = "st,stm32f7xx-hsotg",
-	  .data = dwc2_set_stm32f7xx_hsotg_params },
+	{ .compatible = "st,stm32f7-hsotg",
+	  .data = dwc2_set_stm32f7_hsotg_params },
 	{},
 };
 MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-01 10:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 10:05 [PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
2018-03-01 10:05 ` [PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
2018-03-01 10:05 ` [PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible Amelie Delaunay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).