| acd7aca8 | 29-Mar-2019 |
Patrick Delaunay <patrick.delaunay@st.com> |
UPSTREAM: usb: dwc2: add support for STM32MP1
Add compatible "st,stm32mp1-hsotg" and associated driver data to manage the usb33d-supply and the ST specific register for VBus sensing.
Change-Id: If6
UPSTREAM: usb: dwc2: add support for STM32MP1
Add compatible "st,stm32mp1-hsotg" and associated driver data to manage the usb33d-supply and the ST specific register for VBus sensing.
Change-Id: If60971ebf415cb708b04af38c7b61d5321a13181 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 931e9d7aa7228867eec7e33fd45718e6018cc96d)
show more ...
|
| 6187c346 | 29-Mar-2019 |
Patrice Chotard <patrice.chotard@st.com> |
UPSTREAM: usb: dwc2_udc_otg: Add tx_fifo_sz array support
All TX fifo size can be different, add tx_fifo_sz_array[] into dwc2_plat_otg_data to be able to set them.
tx_fifo_sz_array[] is 17 Bytes lo
UPSTREAM: usb: dwc2_udc_otg: Add tx_fifo_sz array support
All TX fifo size can be different, add tx_fifo_sz_array[] into dwc2_plat_otg_data to be able to set them.
tx_fifo_sz_array[] is 17 Bytes long and can contains max 16 tx fifo size (synopsys IP supports max 16 IN endpoints). First entry of tx_fifo_sz_array[] is the number of valid fifo size the array contains.
In case of tx_fifo_sz_array[] doesn't contains the same number of element than max hardware endpoint, display a warning message.
Compatibility with board which doesn't use tx_fifo_sz_array[] (Rockchip rk322x/rk3128/rv1108/rk3288/rk3036) is kept.
Change-Id: If32954770f9571a1bb18376239ef9cff9a721178 Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 763bb106f66c147b7d0c3046dbba66a07d7a9dd2)
show more ...
|
| 3015f8be | 29-Mar-2019 |
Patrick Delaunay <patrick.delaunay@st.com> |
UPSTREAM: usb: dwc2: Add function for session B check
Add a new function to check the session B validity, to be use to check cable connection.
Change-Id: I914d7353e926df26787261c99f07e5c58dbf24ff S
UPSTREAM: usb: dwc2: Add function for session B check
Add a new function to check the session B validity, to be use to check cable connection.
Change-Id: I914d7353e926df26787261c99f07e5c58dbf24ff Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 2d76160f049c42087011cfa0e6e878aa2ed6b406)
show more ...
|
| 47117882 | 14-Jul-2016 |
Xu Ziyuan <xzy.xu@rock-chips.com> |
usb: dwc2-otg: adjust fifo size via platform data
The total FIFO size of some SoCs may be different from the existen, this patch supports fifo size setting from platform data.
Signed-off-by: Ziyuan
usb: dwc2-otg: adjust fifo size via platform data
The total FIFO size of some SoCs may be different from the existen, this patch supports fifo size setting from platform data.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d424efb2 | 31-Mar-2016 |
Mateusz Kulikowski <mateusz.kulikowski@gmail.com> |
usb: ehci-ci: Add missing registers.
Some registers of usb_ehci were marked as reserved. This may be true for some variants of Chipidea USB core, but they have meaning on other devices.
The followi
usb: ehci-ci: Add missing registers.
Some registers of usb_ehci were marked as reserved. This may be true for some variants of Chipidea USB core, but they have meaning on other devices.
The following registers were added: sbusstatus/sbusmode: AHB-related registers genconfig*: Auxiluary IP core configuration registers.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Tested-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d3d844f8 | 31-Mar-2016 |
Mateusz Kulikowski <mateusz.kulikowski@gmail.com> |
usb: ulpi: Fix compile warning in read/write on 64-bit machines.
ulpi_read and ulpi_write are used to read/write registers via ULPI bus. Code generates compilation warnings on 64-bit machines where
usb: ulpi: Fix compile warning in read/write on 64-bit machines.
ulpi_read and ulpi_write are used to read/write registers via ULPI bus. Code generates compilation warnings on 64-bit machines where pointer is cast to u32.
This patch drops all but last 8 bits of register address. It is possible, because addresses on ULPI bus are 6- or 8-bit.
It is not possible (according to ULPI 1.1 spec) to have more than 8-bit addressing.
This patch should not cause regressions as all calls to ulpi_read/write use either structure pointer (@ address 0) or integer offsets cast to pointer - addresses requested are way below 8-bit range.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|