Home
last modified time | relevance | path

Searched hist:"38 b0d5741a71ba7ceb408c3eb1bc4eb8ee72fe82" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddwc2_udc_otg_priv.h38b0d5741a71ba7ceb408c3eb1bc4eb8ee72fe82 Fri Mar 29 14:42:19 UTC 2019 Patrick Delaunay <patrick.delaunay@st.com> UPSTREAM: usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register

Some DWC2 ip variant doesn't use 16 hardware endpoint as hardcoded
in the driver. Bits INEps [29:26] of HWCFG4 register allows to get
this information.

Change-Id: I22f88ef7ee2749cce3c93f5c8a455a1de165b9dd
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 5bd97e80730bdda59656ca927d67d62fb2a4ecb6)
H A Ddwc2_udc_otg_regs.h38b0d5741a71ba7ceb408c3eb1bc4eb8ee72fe82 Fri Mar 29 14:42:19 UTC 2019 Patrick Delaunay <patrick.delaunay@st.com> UPSTREAM: usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register

Some DWC2 ip variant doesn't use 16 hardware endpoint as hardcoded
in the driver. Bits INEps [29:26] of HWCFG4 register allows to get
this information.

Change-Id: I22f88ef7ee2749cce3c93f5c8a455a1de165b9dd
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 5bd97e80730bdda59656ca927d67d62fb2a4ecb6)
H A Ddwc2_udc_otg.c38b0d5741a71ba7ceb408c3eb1bc4eb8ee72fe82 Fri Mar 29 14:42:19 UTC 2019 Patrick Delaunay <patrick.delaunay@st.com> UPSTREAM: usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register

Some DWC2 ip variant doesn't use 16 hardware endpoint as hardcoded
in the driver. Bits INEps [29:26] of HWCFG4 register allows to get
this information.

Change-Id: I22f88ef7ee2749cce3c93f5c8a455a1de165b9dd
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 5bd97e80730bdda59656ca927d67d62fb2a4ecb6)