usb: dwc2: stm32mp15: set otg_rev
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Wed, 13 Oct 2021 13:57:05 +0000 (15:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Oct 2021 07:20:26 +0000 (09:20 +0200)
commit9e894ee30afe0910edf2d85dc4680974b5720ddf
treef018aa9dab0acf01172bde3c06608d87aa88523c
parentf5c8a6cb23752cdb8de7cb4fd71ad2a227c404c0
usb: dwc2: stm32mp15: set otg_rev

STM32MP15 complies with the OTG 2.0. Set OTG revision accordingly. It is
useful for the of_usb_update_otg_caps() routine to check and update
otg_rev to the lower value between DT and provided params.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/1634133425-25670-5-git-send-email-fabrice.gasnier@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/params.c