Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752453AbdI3RQO convert rfc822-to-8bit (ORCPT ); Sat, 30 Sep 2017 13:16:14 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:60170 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbdI3RQM (ORCPT ); Sat, 30 Sep 2017 13:16:12 -0400 From: John Youn To: Amelie DELAUNAY , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre TORGUE , "John Youn" , Felipe Balbi CC: "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Benjamin GAIGNARD Subject: Re: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS Thread-Topic: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS Thread-Index: AQHTIAjjo19ttKDWc0S+RNbcPOAqfA== Date: Sat, 30 Sep 2017 17:16:08 +0000 Message-ID: <2B3535C5ECE8B5419E3ECBE3007729090269FF8113@US01WEMBX2.internal.synopsys.com> References: <1503930018-536-1-git-send-email-amelie.delaunay@st.com> <1503930018-536-3-git-send-email-amelie.delaunay@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.186.99] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1631 Lines: 52 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 >> --- >> 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 John