The dwc2 gadget function will get address from DT when fastboot start,
so we need to add dwc2 node to support fastboot.
Meng Dongyang (1):
rockchip: dts: rk3229: add dwc2 node for fastboot
arch/arm/dts/rk3229-evb.dts | 4
arch/arm/dts/rk322x.dtsi| 10 ++
2 files changed, 14
Add dwc2 node for fastboot to init dwc2 controller.
Signed-off-by: Meng Dongyang
---
arch/arm/dts/rk3229-evb.dts | 4
arch/arm/dts/rk322x.dtsi| 10 ++
2 files changed, 14 insertions(+)
diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts
index ccdac1c
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in
The xhci-rockchip driver depends on DM_REGULATOR and DM_USB.
So add dependent features for xhci-rockchip driver in Kconfig.
Signed-off-by: Meng Dongyang
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6:
- New patch, add depends
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Chagnes in v5: None
Changes in v4
Use dev_read_bool() instead of fdt_getprop() to get the property
from DTS. And add a comment for "hnp-srp-disable" property to
fully describe its effect.
Signed-off-by: Meng Dongyang
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7:
- Rom
The driver changes gpio to fixed regulator to control vbus, so add
fixed regulator node in DTS for xhci driver.
Signed-off-by: Meng Dongyang
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6:
- New patch, splited from [PATCH,v5,06
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4
into two patches
- Use fixed regulator to control vbus instead of gpio
Meng Dongyang (8):
usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and
DM_USB
usb: host: xhci-rockchip: use fixed regulator to control vbus
rockchip: dts: rk3328: add fixed regulator node for xhci
roc
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Acked-by: Philipp Tomsich
---
Changes in v8:
- Convert CONFIG_USB_DWC2 to a Kconfig entry
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes
Use fixed regulator to control the voltage of vbus. Enable vbus
supply when usb start and disable vbus supply when usb stop.
Signed-off-by: Meng Dongyang
Reviewed-by: Philipp Tomsich
Acked-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6:
- Remove #ifdef
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
arch/arm/dts/rk3399-evb.dts | 16
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb
The xhci-rockchip driver depends on DM_REGULATOR and DM_USB.
So add dependent features for xhci-rockchip driver in Kconfig.
Signed-off-by: Meng Dongyang
---
Changes in v7: None
Changes in v6:
- New patch, add depends on features for xhci-rockchip in Kconfig
drivers/usb/host/Kconfig | 2 ++
1
Use dev_read_bool() instead of fdt_getprop() to get the property
from DTS. And add a comment for "hnp-srp-disable" property to
fully describe its effect.
Signed-off-by: Meng Dongyang
---
Changes in v7:
- Romove unused variable ‘prop’ in dwc2 driver
Changes in v6:
- New p
Use fixed regulator to control the voltage of vbus. Enable vbus
supply when usb start and disable vbus supply when usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v7: None
Changes in v6:
- Remove #ifdef DM_REGULATOR and DM_USB due to the addition in Kconfig
Changes in v5:
- Propagate the
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3:
- add hnp-srp-disable property
arch/arm/dts/rk3328
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Chagnes in v5: None
Changes in v4: None
Changes in v3: None
board/rockchip/evb_rk3328/evb-rk3328.c | 42
The driver changes gpio to fixed regulator to control vbus, so add
fixed regulator node in DTS for xhci driver.
Signed-off-by: Meng Dongyang
---
Changes in v7: None
Changes in v6:
- New patch, splited from [PATCH,v5,06/11]
arch/arm/dts/rk3328-evb.dts | 11 ++-
1 file changed, 10
gpio
Meng Dongyang (8):
usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and
DM_USB
usb: host: xhci-rockchip: use fixed regulator to control vbus
rockchip: dts: rk3328: add fixed regulator node for xhci
rockchip: configs: rk3328: enable dwc2 driver and config fastboot
Use dev_read_bool() instead of fdt_getprop() to get the property
from DTS. And add a comment for "hnp-srp-disable" property to
fully describe its effect.
Signed-off-by: Meng Dongyang
---
Changes in v6:
- New patch
- Use dev_read_bool() instead of fdt_getprop()
- Add a comment fo
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3:
- add hnp-srp-disable property
arch/arm/dts/rk3328-evb.dts | 14
Use fixed regulator to control the voltage of vbus and turn off
vbus when usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v6:
- Remove #ifdef DM_REGULATOR and DM_USB due to the addition in Kconfig
Changes in v5:
- Propagate the return value of setting VBus and print error when failed
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
arch/arm/dts/rk3399-evb.dts | 16 ++--
1 file changed
The driver changes gpio to fix-regulator to control vbus, so add
fix-regulator node in DTS for xhci driver.
Signed-off-by: Meng Dongyang
---
Changes in v6:
- New patch, splited from [PATCH,v5,06/11]
arch/arm/dts/rk3328-evb.dts | 11 ++-
1 file changed, 10 insertions(+), 1 deletion
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 19
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v6: None
Chagnes in v5: None
Changes in v4: None
Changes in v3: None
board/rockchip/evb_rk3328/evb-rk3328.c | 42
The xhci-rockchip driver depends on DM_REGULATOR and DM_USB.
So add depends on features in Kconfig to make the driver explicitly
depend on DM_REGULATOR and DM_USB.
Signed-off-by: Meng Dongyang
---
Changes in v6:
- New patch, add depends on features for xhci-rockchip in Kconfig
drivers/usb
evert change of macro definition in dwc2 driver
- Support host mode without HNP/SRP capability through DTS
Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio
Meng Dongyang (8):
usb: Kconfig: add depends on featur
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Chagnes in v5: None
Changes in v4: None
Changes in v3: None
board/rockchip/evb_rk3328/evb-rk3328.c | 43 +++---
1 file
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- add hnp-srp-disable property
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- New change, add fixed regulator for rk3399
arch/arm/dts/rk3399
In current code, after running the command of "usb start", the controller
will keep in otg mode and can't switch to host mode if not support
SNP/SRP capability. So add the property of "hnp-srp-disable" in the DTS
to config the contrller work in force mode of host.
Sig
Use fixed regulator to control the voltage of vbus and turn off
vbus when usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v5:
- Propagate return value and print error message when failed
Changes in v4:
- Splited from patch [Uboot,v3,04/10]
- Define set vbus as empty function if the
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 14 ++
include
Add dts node of xhci and enable the controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
changes in v5: None
Changes in v4: None
Changes in v3: None
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328.dtsi| 11 +++
2 files changed, 25 insertions
Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller.
Signed-off-by: Meng Dongyang
---
Chagnes in v5: None
Changes in v4:
- New patch, splited from patch [Uboot,v3,04/10]
drivers/usb/host/xhci-rockchip.c | 2 ++
1 file changed, 2 insertion
Add dts node for ehci and ohci controller, enable the controllers.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3328-evb.dts | 8
arch/arm/dts/rk3328.dtsi| 14 ++
2 files changed
Add config of max root ports and add config to enable xhci
controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 3 +++
include/configs/rk3328_common.h | 3 +++
2
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 8
ities in GUSBCFG register once
Changes in v3:
- Revert change of macro definition in dwc2 driver
- Support host mode without HNP/SRP capability through DTS
Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- New change, add fixed regulator for rk3399
arch/arm/dts/rk3399-evb.dts | 16
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Splited from patch [07/08] of v1
board/rockchip/evb_rk3328/evb-rk3328.c | 43
Add dts node of xhci and enable the controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Add fixed regulator of vbus for xhci controller
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328.dtsi
Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller.
Signed-off-by: Meng Dongyang
---
Changes in v4:
- New patch, splited from patch [Uboot,v3,04/10]
drivers/usb/host/xhci-rockchip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/d
In current code, after running the command of "usb start", the controller
will keep in otg mode and can't switch to host mode if not support
SNP/SRP capability. So add the property of "hnp-srp-disable" in the DTS
to config the contrller work in force mode of host.
Sig
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3:
- add hnp-srp-disable property
Changes in v2:
- Add fixed regulator to control vbus
arch/arm/dts/rk3328-evb.dts
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 14 ++
include/configs/rk3328_common.h
Add dts node for ehci and ohci controller, enable the controllers.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3328-evb.dts | 8
arch/arm/dts/rk3328.dtsi| 14 ++
2 files changed
Use fixed regulator to control the voltage of vbus and turn off
vbus when usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v4:
- Splited from patch [Uboot,v3,04/10]
- Define set vbus as empty function if the macros aren't set
Changes in v3: None
Changes in v2:
- Use fixed regulat
Add config of max root ports and add config to enable xhci
controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 3 +++
include/configs/rk3328_common.h | 3 +++
2 files changed, 6
ition in dwc2 driver
- Support host mode without HNP/SRP capability through DTS
Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio
Meng Dongyang (11):
configs: rk3328: add support for usb and config ehci and
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 8
include
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Chnages in v3: None
Changes in v2:
- New change, add fixed regulator for rk3399
arch/arm/dts/rk3399-evb.dts | 16 ++--
1 file changed
Add dts node of xhci and enable the controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Add fixed regulator of vbus for xhci controller
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328.dtsi| 11 +++
2
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
---
Changes in v3:
- add hnp-srp-disable property in DTS
Changes in v2:
- Add fixed regulator to control vbus
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Splited from patch [07/08] of v1
board/rockchip/evb_rk3328/evb-rk3328.c | 43 +++---
1
In current code, after running the command of "usb start", the controller
will keep in otg mode and can't switch to host mode if not support
SNP/SRP capability. So add the property of "hnp-srp-disable" in the DTS
to config the contrller work in force mode of host.
Sig
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 14 ++
include/configs/rk3328_common.h | 3 +++
2 files
Add dts node for ehci and ohci controller, enable the controllers.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3328-evb.dts | 8
arch/arm/dts/rk3328.dtsi| 14 ++
2 files changed, 22 insertions
Add config of max root ports and add config to enable xhci
controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 3 +++
include/configs/rk3328_common.h | 3 +++
2 files changed, 6 insertions(+)
diff
Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller. Use fixed regulator
to control the voltage of vbus and turn off vbus when
usb stop.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Use fixed
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3328_defconfig| 8
include/configs/rk3328_common.h
Changes in v3:
- revert change of macro definition in dwc2 driver
- support host mode without HNP/SRP capability through DTS
Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio
Meng Dongyang (10):
configs
Enable dwc2 controller and add fixed regulator for dwc2 controller to
control vbus.
Signed-off-by: Meng Dongyang
---
Changes in v2:
- Add fixed regulator to control vbus
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328.dtsi| 9 +
2 files changed, 23 insertions
Add fixed regulator for the port of typec0 and typec1 to control vbus
instead of gpio.
Signed-off-by: Meng Dongyang
---
Changes in v2:
- New change, add fixed regulator for rk3399
arch/arm/dts/rk3399-evb.dts | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a
Probe dwc2 udc in the function of board_usb_start to enable
usb gadget function.
Signed-off-by: Meng Dongyang
---
Changes in v2:
- Splited from patch [07/08] of v1
board/rockchip/evb_rk3328/evb-rk3328.c | 43 +++---
1 file changed, 40 insertions(+), 3 deletions
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/evb-rk3328_defconfig| 14 ++
include/configs/rk3328_common.h | 3 +++
2 files changed, 17 insertions
Fix macro error of dwc2 driver, add macro definition to config force mode
and HNP/SRP capability.
Signed-off-by: Meng Dongyang
---
Changes in v2:
- Splited from patch [07/08] of v1
drivers/usb/host/dwc2.c | 9 -
drivers/usb/host/dwc2.h | 10 ++
2 files changed, 14 insertions
Add dts node of xhci and enable the controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v2:
- Add fixed regulator of vbus for xhci controller
arch/arm/dts/rk3328-evb.dts | 14 ++
arch/arm/dts/rk3328.dtsi| 11 +++
2 files changed, 25
Add support of usb host and gadget function for rk3328
and fix bug of dwc2 host driver.
Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio
Meng Dongyang (10):
configs: rk3328: add support for usb and config
Add dts node for ehci and ohci controller, enable the controllers.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/rk3328-evb.dts | 8
arch/arm/dts/rk3328.dtsi| 14 ++
2 files changed, 22 insertions(+)
diff --git a/arch
Add config of max root ports and add config to enable xhci
controller.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/evb-rk3328_defconfig| 3 +++
include/configs/rk3328_common.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/evb
Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller. Use fixed regulator
to control the voltage of vbus and turn off vbus when
usb stop.
Signed-off-by: Meng Dongyang
---
Changes in v2:
- Use fixed regulator to control vbus instead of gpio
d
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.
Signed-off-by: Meng Dongyang
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/evb-rk3328_defconfig| 8
include/configs/rk3328_common.h | 3 +++
2 files
Fix macro error of dwc2 driver, add macro definition to config force mode
and HNP/SRP capability. Add gpio config to control vbus in host mode.
Signed-off-by: Meng Dongyang
---
board/rockchip/evb_rk3328/evb-rk3328.c | 42 +++---
drivers/usb/host/dwc2.c
Config dwc2 driver support host and gadget function. Add support
of fastboot function.
Signed-off-by: Meng Dongyang
---
configs/evb-rk3328_defconfig| 14 ++
include/configs/rk3328_common.h | 3 +++
2 files changed, 17 insertions(+)
diff --git a/configs/evb-rk3328_defconfig b
Signed-off-by: Meng Dongyang
---
arch/arm/dts/rk3328-evb.dts | 5 +
arch/arm/dts/rk3328.dtsi| 9 +
2 files changed, 14 insertions(+)
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index b807bc5..aeaa5e7 100644
--- a/arch/arm/dts/rk3328-evb.dts
+++ b/arch
Signed-off-by: Meng Dongyang
---
arch/arm/dts/rk3328-evb.dts | 5 +
arch/arm/dts/rk3328.dtsi| 11 +++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index 9920935..b807bc5 100644
--- a/arch/arm/dts/rk3328-evb.dts
+++ b
Add config of max root ports and add config to enable xhci
controller.
Signed-off-by: Meng Dongyang
---
configs/evb-rk3328_defconfig| 3 +++
include/configs/rk3328_common.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig
Add support of usb host and gadget function for rk3328
and fix bug of dwc2 host driver.
Meng Dongyang (8):
configs: rk3328: add support for usb and config ehci and ohci driver
rockchip: dts: rk3328: add ehci and ohci node and enable host0 port
configs: rk3328: config xhci controller
usb
Signed-off-by: Meng Dongyang
---
arch/arm/dts/rk3328-evb.dts | 8
arch/arm/dts/rk3328.dtsi| 14 ++
2 files changed, 22 insertions(+)
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index 01794ed..9920935 100644
--- a/arch/arm/dts/rk3328-evb.dts
Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller. Turn off vbus when
usb stop.
Signed-off-by: Meng Dongyang
---
drivers/usb/host/xhci-rockchip.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/host/xhci-rockchip.c b/d
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.
Signed-off-by: Meng Dongyang
---
configs/evb-rk3328_defconfig| 8
include/configs/rk3328_common.h | 3 +++
2 files changed, 11 insertions(+)
diff --git a/configs/evb
84 matches
Mail list logo