diff mbox

[U-Boot,v7,1/8] usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB

Message ID 1498201714-28060-2-git-send-email-daniel.meng@rock-chips.com
State Superseded
Delegated to: Philipp Tomsich
Headers show

Commit Message

Meng Dongyang June 23, 2017, 7:08 a.m. UTC
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 <daniel.meng@rock-chips.com>
---

Changes in v7: None
Changes in v6:
- New patch, add depends on features for xhci-rockchip in Kconfig

 drivers/usb/host/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Philipp Tomsich June 25, 2017, 11:24 p.m. UTC | #1
> 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 <daniel.meng@rock-chips.com>
> ---
> 
> Changes in v7: None
> Changes in v6:
> - New patch, add depends on features for xhci-rockchip in Kconfig
> 
>  drivers/usb/host/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich June 26, 2017, 12:48 p.m. UTC | #2
> 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 <daniel.meng@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
> Changes in v7: None
> Changes in v6:
> - New patch, add depends on features for xhci-rockchip in Kconfig
> 
>  drivers/usb/host/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
diff mbox

Patch

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index b824eec..5e07a10 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -34,6 +34,8 @@  config USB_XHCI_MVEBU
 config USB_XHCI_ROCKCHIP
 	bool "Support for Rockchip on-chip xHCI USB controller"
 	depends on ARCH_ROCKCHIP
+	depends on DM_REGULATOR
+	depends on DM_USB
 	default y
 	help
 	  Enables support for the on-chip xHCI controller on Rockchip SoCs.