[PATCH v3 0/3] Add OTG support for Ingenic SoCs.
From: 周琰杰 (Zhou Yanjie)
Date: Thu Apr 14 2022 - 15:26:00 EST
1.Add OTG support for the JZ4775 SoC, the JZ4780 SoC, the X1000
SoC, the X1600 SoC, the X1700 SoC, the X1830 SoC, and the
X2000 SoC.
2.Introduce support for disable Ingenic overcurrent detection,
once selected it enables GOTGCTL register bits VbvalidOvEn
and VbvalidOvVal to disable the VBUS overcurrent detection.
v1->v2:
1.Add Rob Herring's Acked-by.
2.Add Minas Harutyunyan's Acked-by.
3.Use "activate_ingenic_overcurrent_detection" instead
"deactivate_ingenic_overcurrent_detection" as Greg's suggestion.
v2->v3:
Refresh USB nodes in device tree files, remove "snps,dwc2" since
it is nolonger needed.
周琰杰 (Zhou Yanjie) (3):
dt-bindings: dwc2: Add bindings for new Ingenic SoCs.
USB: dwc2: Add OTG support for Ingenic SoCs.
MIPS: Ingenic: Refresh USB nodes to match driver changes.
Documentation/devicetree/bindings/usb/dwc2.yaml | 7 ++++
arch/mips/boot/dts/ingenic/jz4780.dtsi | 2 +-
arch/mips/boot/dts/ingenic/x1000.dtsi | 2 +-
arch/mips/boot/dts/ingenic/x1830.dtsi | 2 +-
drivers/usb/dwc2/core.c | 9 +++++
drivers/usb/dwc2/core.h | 5 +++
drivers/usb/dwc2/params.c | 50 ++++++++++++++++++++++++-
7 files changed, 73 insertions(+), 4 deletions(-)
--
2.7.4