Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1742154 > unrolled thread
| Started by | Amelie DELAUNAY <amelie.delaunay@st.com> |
|---|---|
| First post | 2017-09-29 16:30 +0200 |
| Last post | 2017-09-30 19:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS Amelie DELAUNAY <amelie.delaunay@st.com> - 2017-09-29 16:30 +0200
Re: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS John Youn <John.Youn@synopsys.com> - 2017-09-30 19:20 +0200
| From | Amelie DELAUNAY <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-09-29 16:30 +0200 |
| Subject | Re: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS |
| Message-ID | <uv4sG-7iS-3@gated-at.bofh.it> |
Hi,
Gentle ping for driver review submitted on August 28th.
Thanks,
Amelie
On 08/28/2017 04:20 PM, Amelie Delaunay wrote:
> This patch adds the dwc2_set_params function for STM32F7 USB OTG HS.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
> drivers/usb/dwc2/params.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
> index a3ffe97..d5b672d 100644
> --- a/drivers/usb/dwc2/params.c
> +++ b/drivers/usb/dwc2/params.c
> @@ -136,6 +136,15 @@ static void dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg)
> p->activate_stm_fs_transceiver = true;
> }
>
> +static void dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg)
> +{
> + struct dwc2_core_params *p = &hsotg->params;
> +
> + p->host_rx_fifo_size = 622;
> + p->host_nperio_tx_fifo_size = 128;
> + p->host_perio_tx_fifo_size = 256;
> +}
> +
> const struct of_device_id dwc2_of_match_table[] = {
> { .compatible = "brcm,bcm2835-usb", .data = dwc2_set_bcm_params },
> { .compatible = "hisilicon,hi6220-usb", .data = dwc2_set_his_params },
> @@ -154,6 +163,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,stm32f7-hsotg",
> + .data = dwc2_set_stm32f7_hsotg_params },
> {},
> };
> MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
>
[toc] | [next] | [standalone]
| From | John Youn <John.Youn@synopsys.com> |
|---|---|
| Date | 2017-09-30 19:20 +0200 |
| Message-ID | <uvtAJ-75a-7@gated-at.bofh.it> |
| In reply to | #1742154 |
On 09/29/2017 07:22 AM, Amelie DELAUNAY wrote:
> Hi,
>
> Gentle ping for driver review submitted on August 28th.
>
> Thanks,
> Amelie
>
> On 08/28/2017 04:20 PM, Amelie Delaunay wrote:
>> This patch adds the dwc2_set_params function for STM32F7 USB OTG HS.
>>
>> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
>> ---
>> drivers/usb/dwc2/params.c | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
>> index a3ffe97..d5b672d 100644
>> --- a/drivers/usb/dwc2/params.c
>> +++ b/drivers/usb/dwc2/params.c
>> @@ -136,6 +136,15 @@ static void dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg)
>> p->activate_stm_fs_transceiver = true;
>> }
>>
>> +static void dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg)
>> +{
>> + struct dwc2_core_params *p = &hsotg->params;
>> +
>> + p->host_rx_fifo_size = 622;
>> + p->host_nperio_tx_fifo_size = 128;
>> + p->host_perio_tx_fifo_size = 256;
>> +}
>> +
>> const struct of_device_id dwc2_of_match_table[] = {
>> { .compatible = "brcm,bcm2835-usb", .data = dwc2_set_bcm_params },
>> { .compatible = "hisilicon,hi6220-usb", .data = dwc2_set_his_params },
>> @@ -154,6 +163,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,stm32f7-hsotg",
>> + .data = dwc2_set_stm32f7_hsotg_params },
>> {},
>> };
>> MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
>>
Acked-by: John Youn <johnyoun@synopsys.com>
John
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web