devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding
@ 2018-02-15 15:46 Amelie Delaunay
  2018-02-15 15:46 ` [[INTERNAL] PATCH " Amelie Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amelie Delaunay @ 2018-02-15 15:46 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.

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] 6+ messages in thread

* [[INTERNAL] PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding
  2018-02-15 15:46 [PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
@ 2018-02-15 15:46 ` Amelie Delaunay
       [not found]   ` <1518709601-17232-2-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
  2018-02-15 15:46 ` [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
  2018-02-15 15:46 ` [PATCH 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible Amelie Delaunay
  2 siblings, 1 reply; 6+ messages in thread
From: Amelie Delaunay @ 2018-02-15 15:46 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.

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] 6+ messages in thread

* [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
  2018-02-15 15:46 [PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
  2018-02-15 15:46 ` [[INTERNAL] PATCH " Amelie Delaunay
@ 2018-02-15 15:46 ` Amelie Delaunay
  2018-02-19 15:50   ` Rob Herring
  2018-02-15 15:46 ` [PATCH 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible Amelie Delaunay
  2 siblings, 1 reply; 6+ messages in thread
From: Amelie Delaunay @ 2018-02-15 15:46 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>
---
 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] 6+ messages in thread

* [PATCH 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible
  2018-02-15 15:46 [PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
  2018-02-15 15:46 ` [[INTERNAL] PATCH " Amelie Delaunay
  2018-02-15 15:46 ` [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
@ 2018-02-15 15:46 ` Amelie Delaunay
  2 siblings, 0 replies; 6+ messages in thread
From: Amelie Delaunay @ 2018-02-15 15:46 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] 6+ messages in thread

* RE: [[INTERNAL] PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding
       [not found]   ` <1518709601-17232-2-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
@ 2018-02-15 15:48     ` Amelie DELAUNAY
  0 siblings, 0 replies; 6+ messages in thread
From: Amelie DELAUNAY @ 2018-02-15 15:48 UTC (permalink / raw)
  To: John Youn, Felipe Balbi, Greg Kroah-Hartman, Rob Herring,
	Mark Rutland
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Forget this one! Sorry for the inconvenience.

> -----Original Message-----
> From: Amelie DELAUNAY
> Sent: jeudi 15 février 2018 16:47
> To: John Youn <johnyoun-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>; Felipe Balbi <balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>;
> Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>; Rob Herring
> <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>; Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
> Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-
> kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Amelie DELAUNAY <amelie.delaunay-qxv4g6HH51o@public.gmane.org>
> Subject: [[INTERNAL] PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding
> 
> This patchset fixes STM32F7 DWC2 OTG HS binding. It actually re-applies the
> v2 former patches adding STM32F7 DWC2 OTG HS support.
> 
> 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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
  2018-02-15 15:46 ` [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
@ 2018-02-19 15:50   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2018-02-19 15:50 UTC (permalink / raw)
  To: Amelie Delaunay
  Cc: John Youn, Felipe Balbi, Greg Kroah-Hartman, Mark Rutland,
	linux-usb, devicetree, linux-kernel

On Thu, Feb 15, 2018 at 04:46:40PM +0100, Amelie Delaunay wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/usb/dwc2.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2018-02-19 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15 15:46 [PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding Amelie Delaunay
2018-02-15 15:46 ` [[INTERNAL] PATCH " Amelie Delaunay
     [not found]   ` <1518709601-17232-2-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
2018-02-15 15:48     ` Amelie DELAUNAY
2018-02-15 15:46 ` [PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding Amelie Delaunay
2018-02-19 15:50   ` Rob Herring
2018-02-15 15:46 ` [PATCH 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).