Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-16 Thread Alexandre Torgue

Hi Amélie,

On 08/28/2017 04:20 PM, Amelie Delaunay wrote:

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(+)



Patches 3 to 7 applied on stm32-dt-for-v4.15 branch.
Currently USB stack is not enabled by default (and will not be). If you 
plan to use USB don't forget to create a reserved memory region for DMA 
pool (as DMA and caches are not friends on cortex-M7) in devicetree.
Reserved memory region for DMA pool support will be added in stm32F7 and 
stm32H7 devicetree as soon series "ARM: NOMMU: MPU updates" from 
Vladimir Murzin will be merged.


Regards
Alex


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-16 Thread Alexandre Torgue

Hi Amélie,

On 08/28/2017 04:20 PM, Amelie Delaunay wrote:

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(+)



Patches 3 to 7 applied on stm32-dt-for-v4.15 branch.
Currently USB stack is not enabled by default (and will not be). If you 
plan to use USB don't forget to create a reserved memory region for DMA 
pool (as DMA and caches are not friends on cortex-M7) in devicetree.
Reserved memory region for DMA pool support will be added in stm32F7 and 
stm32H7 devicetree as soon series "ARM: NOMMU: MPU updates" from 
Vladimir Murzin will be merged.


Regards
Alex


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Alexandre Torgue



On 10/12/2017 01:53 PM, Felipe Balbi wrote:


Hi,

Felipe Balbi  writes:

I thought that patches 1 and 2, as they are "driver" patches, had to be
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
applied on STM32-DT tree (Alex's one). Did I miss something?


patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.


I don't want to insist :) but for me it is better (and more safe) if you
take patch 1&2 in your tree, and will take others in mine.


Okay, I'll apply 1&2


they are now in my testing/next and next branches.


Thanks Felipe




Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Alexandre Torgue



On 10/12/2017 01:53 PM, Felipe Balbi wrote:


Hi,

Felipe Balbi  writes:

I thought that patches 1 and 2, as they are "driver" patches, had to be
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
applied on STM32-DT tree (Alex's one). Did I miss something?


patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.


I don't want to insist :) but for me it is better (and more safe) if you
take patch 1&2 in your tree, and will take others in mine.


Okay, I'll apply 1&2


they are now in my testing/next and next branches.


Thanks Felipe




Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Felipe Balbi  writes:
 I thought that patches 1 and 2, as they are "driver" patches, had to be
 applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
 applied on STM32-DT tree (Alex's one). Did I miss something?
>>> 
>>> patch 1 is documentation, right? Without the documentation patch,
>>> checkpatch will cringe :-) So either way works.
>>> 
>>> If you insist, I can take 1-2 through my tree. No worries.
>>
>> I don't want to insist :) but for me it is better (and more safe) if you 
>> take patch 1&2 in your tree, and will take others in mine.
>
> Okay, I'll apply 1&2

they are now in my testing/next and next branches.

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Felipe Balbi  writes:
 I thought that patches 1 and 2, as they are "driver" patches, had to be
 applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
 applied on STM32-DT tree (Alex's one). Did I miss something?
>>> 
>>> patch 1 is documentation, right? Without the documentation patch,
>>> checkpatch will cringe :-) So either way works.
>>> 
>>> If you insist, I can take 1-2 through my tree. No worries.
>>
>> I don't want to insist :) but for me it is better (and more safe) if you 
>> take patch 1&2 in your tree, and will take others in mine.
>
> Okay, I'll apply 1&2

they are now in my testing/next and next branches.

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi Felipe
>
> On 10/12/2017 10:43 AM, Felipe Balbi wrote:
>> 
>> Hi,
>> 

 On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>
> Hi,
>
> Amelie Delaunay  writes:
>> 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
>
> I have applied these three patches. Should I take the rest? They
> seems
> like they could go upstream through the ARM maintainers.
>

 I will take other DT patches in my PR.

 Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU"
 patch
 I prefer also to take it. This patch adds some pinctrl groups but
 stm32
 pinctrl bindings will change in my next PR (we will use a macro to
 define pins instead of using defined values). So if you push the DT
 patch through your pull request there will be a merge issue.
 It is possible that I take also this one ?
>>>
>>> In that case, it's best if you take them all :-) Here's my Ack:
>>>
>>> Acked-by: Felipe Balbi 
>>>
>>> I'll drop them from my tree now
>>
>> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
>> in your tree.
>
> Well, I have dropped them from my tree. Please two 1-7 through yours.

 Hum, ok for this patchset but IMO it is better (next time) that you take
 driver pacthes in your tree and I take only DT patches in mine.
 No ?

 Regards
 Alex

>
>>>
>>> I thought that patches 1 and 2, as they are "driver" patches, had to be
>>> applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
>>> applied on STM32-DT tree (Alex's one). Did I miss something?
>> 
>> patch 1 is documentation, right? Without the documentation patch,
>> checkpatch will cringe :-) So either way works.
>> 
>> If you insist, I can take 1-2 through my tree. No worries.
>
> I don't want to insist :) but for me it is better (and more safe) if you 
> take patch 1&2 in your tree, and will take others in mine.

Okay, I'll apply 1&2

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi Felipe
>
> On 10/12/2017 10:43 AM, Felipe Balbi wrote:
>> 
>> Hi,
>> 

 On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>
> Hi,
>
> Amelie Delaunay  writes:
>> 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
>
> I have applied these three patches. Should I take the rest? They
> seems
> like they could go upstream through the ARM maintainers.
>

 I will take other DT patches in my PR.

 Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU"
 patch
 I prefer also to take it. This patch adds some pinctrl groups but
 stm32
 pinctrl bindings will change in my next PR (we will use a macro to
 define pins instead of using defined values). So if you push the DT
 patch through your pull request there will be a merge issue.
 It is possible that I take also this one ?
>>>
>>> In that case, it's best if you take them all :-) Here's my Ack:
>>>
>>> Acked-by: Felipe Balbi 
>>>
>>> I'll drop them from my tree now
>>
>> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
>> in your tree.
>
> Well, I have dropped them from my tree. Please two 1-7 through yours.

 Hum, ok for this patchset but IMO it is better (next time) that you take
 driver pacthes in your tree and I take only DT patches in mine.
 No ?

 Regards
 Alex

>
>>>
>>> I thought that patches 1 and 2, as they are "driver" patches, had to be
>>> applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
>>> applied on STM32-DT tree (Alex's one). Did I miss something?
>> 
>> patch 1 is documentation, right? Without the documentation patch,
>> checkpatch will cringe :-) So either way works.
>> 
>> If you insist, I can take 1-2 through my tree. No worries.
>
> I don't want to insist :) but for me it is better (and more safe) if you 
> take patch 1&2 in your tree, and will take others in mine.

Okay, I'll apply 1&2

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Alexandre Torgue

Hi Felipe

On 10/12/2017 10:43 AM, Felipe Balbi wrote:


Hi,



On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They
seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU"
patch
I prefer also to take it. This patch adds some pinctrl groups but
stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
in your tree.


Well, I have dropped them from my tree. Please two 1-7 through yours.


Hum, ok for this patchset but IMO it is better (next time) that you take
driver pacthes in your tree and I take only DT patches in mine.
No ?

Regards
Alex





I thought that patches 1 and 2, as they are "driver" patches, had to be
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
applied on STM32-DT tree (Alex's one). Did I miss something?


patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.


I don't want to insist :) but for me it is better (and more safe) if you 
take patch 1&2 in your tree, and will take others in mine.


Thanks in advance.
Alex



let me know



Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Alexandre Torgue

Hi Felipe

On 10/12/2017 10:43 AM, Felipe Balbi wrote:


Hi,



On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They
seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU"
patch
I prefer also to take it. This patch adds some pinctrl groups but
stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
in your tree.


Well, I have dropped them from my tree. Please two 1-7 through yours.


Hum, ok for this patchset but IMO it is better (next time) that you take
driver pacthes in your tree and I take only DT patches in mine.
No ?

Regards
Alex





I thought that patches 1 and 2, as they are "driver" patches, had to be
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be
applied on STM32-DT tree (Alex's one). Did I miss something?


patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.


I don't want to insist :) but for me it is better (and more safe) if you 
take patch 1&2 in your tree, and will take others in mine.


Thanks in advance.
Alex



let me know



Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Amelie DELAUNAY  writes:
> Hi Felipe, Alex,
>
> On 10/11/2017 04:38 PM, Alexandre Torgue wrote:
>> 
>> 
>> On 10/11/2017 03:26 PM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Alexandre Torgue  writes:
 Hi

 On 10/11/2017 01:50 PM, Felipe Balbi wrote:
>
> Hi,
>
> Alexandre Torgue  writes:
>> Hi Felip
>>
>> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Amelie Delaunay  writes:
 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
>>>
>>> I have applied these three patches. Should I take the rest? They 
>>> seems
>>> like they could go upstream through the ARM maintainers.
>>>
>>
>> I will take other DT patches in my PR.
>>
>> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" 
>> patch
>> I prefer also to take it. This patch adds some pinctrl groups but 
>> stm32
>> pinctrl bindings will change in my next PR (we will use a macro to
>> define pins instead of using defined values). So if you push the DT
>> patch through your pull request there will be a merge issue.
>> It is possible that I take also this one ?
>
> In that case, it's best if you take them all :-) Here's my Ack:
>
> Acked-by: Felipe Balbi 
>
> I'll drop them from my tree now

 Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
 in your tree.
>>>
>>> Well, I have dropped them from my tree. Please two 1-7 through yours.
>> 
>> Hum, ok for this patchset but IMO it is better (next time) that you take 
>> driver pacthes in your tree and I take only DT patches in mine.
>> No ?
>> 
>> Regards
>> Alex
>> 
>>>
>
> I thought that patches 1 and 2, as they are "driver" patches, had to be 
> applied on USB tree (so Felipe's one), and the others (3 to 7) had to be 
> applied on STM32-DT tree (Alex's one). Did I miss something?

patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.

let me know

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Felipe Balbi

Hi,

Amelie DELAUNAY  writes:
> Hi Felipe, Alex,
>
> On 10/11/2017 04:38 PM, Alexandre Torgue wrote:
>> 
>> 
>> On 10/11/2017 03:26 PM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Alexandre Torgue  writes:
 Hi

 On 10/11/2017 01:50 PM, Felipe Balbi wrote:
>
> Hi,
>
> Alexandre Torgue  writes:
>> Hi Felip
>>
>> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Amelie Delaunay  writes:
 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
>>>
>>> I have applied these three patches. Should I take the rest? They 
>>> seems
>>> like they could go upstream through the ARM maintainers.
>>>
>>
>> I will take other DT patches in my PR.
>>
>> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" 
>> patch
>> I prefer also to take it. This patch adds some pinctrl groups but 
>> stm32
>> pinctrl bindings will change in my next PR (we will use a macro to
>> define pins instead of using defined values). So if you push the DT
>> patch through your pull request there will be a merge issue.
>> It is possible that I take also this one ?
>
> In that case, it's best if you take them all :-) Here's my Ack:
>
> Acked-by: Felipe Balbi 
>
> I'll drop them from my tree now

 Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
 in your tree.
>>>
>>> Well, I have dropped them from my tree. Please two 1-7 through yours.
>> 
>> Hum, ok for this patchset but IMO it is better (next time) that you take 
>> driver pacthes in your tree and I take only DT patches in mine.
>> No ?
>> 
>> Regards
>> Alex
>> 
>>>
>
> I thought that patches 1 and 2, as they are "driver" patches, had to be 
> applied on USB tree (so Felipe's one), and the others (3 to 7) had to be 
> applied on STM32-DT tree (Alex's one). Did I miss something?

patch 1 is documentation, right? Without the documentation patch,
checkpatch will cringe :-) So either way works.

If you insist, I can take 1-2 through my tree. No worries.

let me know

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Amelie DELAUNAY
Hi Felipe, Alex,

On 10/11/2017 04:38 PM, Alexandre Torgue wrote:
> 
> 
> On 10/11/2017 03:26 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Alexandre Torgue  writes:
>>> Hi
>>>
>>> On 10/11/2017 01:50 PM, Felipe Balbi wrote:

 Hi,

 Alexandre Torgue  writes:
> Hi Felip
>
> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Amelie Delaunay  writes:
>>> 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
>>
>> I have applied these three patches. Should I take the rest? They 
>> seems
>> like they could go upstream through the ARM maintainers.
>>
>
> I will take other DT patches in my PR.
>
> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" 
> patch
> I prefer also to take it. This patch adds some pinctrl groups but 
> stm32
> pinctrl bindings will change in my next PR (we will use a macro to
> define pins instead of using defined values). So if you push the DT
> patch through your pull request there will be a merge issue.
> It is possible that I take also this one ?

 In that case, it's best if you take them all :-) Here's my Ack:

 Acked-by: Felipe Balbi 

 I'll drop them from my tree now
>>>
>>> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
>>> in your tree.
>>
>> Well, I have dropped them from my tree. Please two 1-7 through yours.
> 
> Hum, ok for this patchset but IMO it is better (next time) that you take 
> driver pacthes in your tree and I take only DT patches in mine.
> No ?
> 
> Regards
> Alex
> 
>>

I thought that patches 1 and 2, as they are "driver" patches, had to be 
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be 
applied on STM32-DT tree (Alex's one). Did I miss something?

Regards,
Amelie

Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-12 Thread Amelie DELAUNAY
Hi Felipe, Alex,

On 10/11/2017 04:38 PM, Alexandre Torgue wrote:
> 
> 
> On 10/11/2017 03:26 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Alexandre Torgue  writes:
>>> Hi
>>>
>>> On 10/11/2017 01:50 PM, Felipe Balbi wrote:

 Hi,

 Alexandre Torgue  writes:
> Hi Felip
>
> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Amelie Delaunay  writes:
>>> 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
>>
>> I have applied these three patches. Should I take the rest? They 
>> seems
>> like they could go upstream through the ARM maintainers.
>>
>
> I will take other DT patches in my PR.
>
> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" 
> patch
> I prefer also to take it. This patch adds some pinctrl groups but 
> stm32
> pinctrl bindings will change in my next PR (we will use a macro to
> define pins instead of using defined values). So if you push the DT
> patch through your pull request there will be a merge issue.
> It is possible that I take also this one ?

 In that case, it's best if you take them all :-) Here's my Ack:

 Acked-by: Felipe Balbi 

 I'll drop them from my tree now
>>>
>>> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
>>> in your tree.
>>
>> Well, I have dropped them from my tree. Please two 1-7 through yours.
> 
> Hum, ok for this patchset but IMO it is better (next time) that you take 
> driver pacthes in your tree and I take only DT patches in mine.
> No ?
> 
> Regards
> Alex
> 
>>

I thought that patches 1 and 2, as they are "driver" patches, had to be 
applied on USB tree (so Felipe's one), and the others (3 to 7) had to be 
applied on STM32-DT tree (Alex's one). Did I miss something?

Regards,
Amelie

Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue



On 10/11/2017 03:26 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi

On 10/11/2017 01:50 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
I prefer also to take it. This patch adds some pinctrl groups but stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
in your tree.


Well, I have dropped them from my tree. Please two 1-7 through yours.


Hum, ok for this patchset but IMO it is better (next time) that you take 
driver pacthes in your tree and I take only DT patches in mine.

No ?

Regards
Alex





Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue



On 10/11/2017 03:26 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi

On 10/11/2017 01:50 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
I prefer also to take it. This patch adds some pinctrl groups but stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2
in your tree.


Well, I have dropped them from my tree. Please two 1-7 through yours.


Hum, ok for this patchset but IMO it is better (next time) that you take 
driver pacthes in your tree and I take only DT patches in mine.

No ?

Regards
Alex





Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi
>
> On 10/11/2017 01:50 PM, Felipe Balbi wrote:
>> 
>> Hi,
>> 
>> Alexandre Torgue  writes:
>>> Hi Felip
>>>
>>> On 10/11/2017 12:04 PM, Felipe Balbi wrote:

 Hi,

 Amelie Delaunay  writes:
> 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

 I have applied these three patches. Should I take the rest? They seems
 like they could go upstream through the ARM maintainers.

>>>
>>> I will take other DT patches in my PR.
>>>
>>> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
>>> I prefer also to take it. This patch adds some pinctrl groups but stm32
>>> pinctrl bindings will change in my next PR (we will use a macro to
>>> define pins instead of using defined values). So if you push the DT
>>> patch through your pull request there will be a merge issue.
>>> It is possible that I take also this one ?
>> 
>> In that case, it's best if you take them all :-) Here's my Ack:
>> 
>> Acked-by: Felipe Balbi 
>> 
>> I'll drop them from my tree now
>
> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2 
> in your tree.

Well, I have dropped them from my tree. Please two 1-7 through yours.

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi
>
> On 10/11/2017 01:50 PM, Felipe Balbi wrote:
>> 
>> Hi,
>> 
>> Alexandre Torgue  writes:
>>> Hi Felip
>>>
>>> On 10/11/2017 12:04 PM, Felipe Balbi wrote:

 Hi,

 Amelie Delaunay  writes:
> 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

 I have applied these three patches. Should I take the rest? They seems
 like they could go upstream through the ARM maintainers.

>>>
>>> I will take other DT patches in my PR.
>>>
>>> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
>>> I prefer also to take it. This patch adds some pinctrl groups but stm32
>>> pinctrl bindings will change in my next PR (we will use a macro to
>>> define pins instead of using defined values). So if you push the DT
>>> patch through your pull request there will be a merge issue.
>>> It is possible that I take also this one ?
>> 
>> In that case, it's best if you take them all :-) Here's my Ack:
>> 
>> Acked-by: Felipe Balbi 
>> 
>> I'll drop them from my tree now
>
> Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2 
> in your tree.

Well, I have dropped them from my tree. Please two 1-7 through yours.

-- 
balbi


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue

Hi

On 10/11/2017 01:50 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
I prefer also to take it. This patch adds some pinctrl groups but stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2 
in your tree.



Thanks
Alex





Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue

Hi

On 10/11/2017 01:50 PM, Felipe Balbi wrote:


Hi,

Alexandre Torgue  writes:

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch
I prefer also to take it. This patch adds some pinctrl groups but stm32
pinctrl bindings will change in my next PR (we will use a macro to
define pins instead of using defined values). So if you push the DT
patch through your pull request there will be a merge issue.
It is possible that I take also this one ?


In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now


Ok perfect, I will take DT patches (3 to 7) and I let you take patch 1&2 
in your tree.



Thanks
Alex





Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi Felip
>
> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>> 
>> Hi,
>> 
>> Amelie Delaunay  writes:
>>> 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
>> 
>> I have applied these three patches. Should I take the rest? They seems
>> like they could go upstream through the ARM maintainers.
>> 
>
> I will take other DT patches in my PR.
>
> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch 
> I prefer also to take it. This patch adds some pinctrl groups but stm32 
> pinctrl bindings will change in my next PR (we will use a macro to 
> define pins instead of using defined values). So if you push the DT 
> patch through your pull request there will be a merge issue.
> It is possible that I take also this one ?

In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now

-- 
balbi


signature.asc
Description: PGP signature


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Alexandre Torgue  writes:
> Hi Felip
>
> On 10/11/2017 12:04 PM, Felipe Balbi wrote:
>> 
>> Hi,
>> 
>> Amelie Delaunay  writes:
>>> 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
>> 
>> I have applied these three patches. Should I take the rest? They seems
>> like they could go upstream through the ARM maintainers.
>> 
>
> I will take other DT patches in my PR.
>
> Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch 
> I prefer also to take it. This patch adds some pinctrl groups but stm32 
> pinctrl bindings will change in my next PR (we will use a macro to 
> define pins instead of using defined values). So if you push the DT 
> patch through your pull request there will be a merge issue.
> It is possible that I take also this one ?

In that case, it's best if you take them all :-) Here's my Ack:

Acked-by: Felipe Balbi 

I'll drop them from my tree now

-- 
balbi


signature.asc
Description: PGP signature


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch 
I prefer also to take it. This patch adds some pinctrl groups but stm32 
pinctrl bindings will change in my next PR (we will use a macro to 
define pins instead of using defined values). So if you push the DT 
patch through your pull request there will be a merge issue.

It is possible that I take also this one ?

Regards
Alex


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Alexandre Torgue

Hi Felip

On 10/11/2017 12:04 PM, Felipe Balbi wrote:


Hi,

Amelie Delaunay  writes:

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


I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.



I will take other DT patches in my PR.

Concerning "ARM: dts: stm32: Add USB HS support for STM32F746 MCU" patch 
I prefer also to take it. This patch adds some pinctrl groups but stm32 
pinctrl bindings will change in my next PR (we will use a macro to 
define pins instead of using defined values). So if you push the DT 
patch through your pull request there will be a merge issue.

It is possible that I take also this one ?

Regards
Alex


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Amelie Delaunay  writes:
> 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

I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.

-- 
balbi


signature.asc
Description: PGP signature


Re: [PATCHv2 0/7] Add support for USB OTG on STM32F7

2017-10-11 Thread Felipe Balbi

Hi,

Amelie Delaunay  writes:
> 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

I have applied these three patches. Should I take the rest? They seems
like they could go upstream through the ARM maintainers.

-- 
balbi


signature.asc
Description: PGP signature