Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bd0181c authored by Peter Chen's avatar Peter Chen Committed by Greg Kroah-Hartman
Browse files

usb: core: Kconfig: TPL should apply for both OTG and EH



Update configuration for USB_OTG_WHITELIST, any targeted hosts
(non PC-hosts) can have TPL (Targered Peripheral List).

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 026f3fcb
Loading
Loading
Loading
Loading
+3 −9
Original line number Original line Diff line number Diff line
@@ -56,22 +56,16 @@ config USB_OTG
	  connector.
	  connector.


config USB_OTG_WHITELIST
config USB_OTG_WHITELIST
	bool "Rely on OTG Targeted Peripherals List"
	bool "Rely on OTG and EH Targeted Peripherals List"
	depends on USB_OTG || EXPERT
	depends on USB
	default y if USB_OTG
	help
	help
	  If you say Y here, the "otg_whitelist.h" file will be used as a
	  If you say Y here, the "otg_whitelist.h" file will be used as a
	  product whitelist, so USB peripherals not listed there will be
	  product whitelist, so USB peripherals not listed there will be
	  rejected during enumeration.  This behavior is required by the
	  rejected during enumeration.  This behavior is required by the
	  USB OTG specification for all devices not on your product's
	  USB OTG and EH specification for all devices not on your product's
	  "Targeted Peripherals List".  "Embedded Hosts" are likewise
	  "Targeted Peripherals List".  "Embedded Hosts" are likewise
	  allowed to support only a limited number of peripherals.
	  allowed to support only a limited number of peripherals.


	  Otherwise, peripherals not listed there will only generate a
	  warning and enumeration will continue.  That's more like what
	  normal Linux-USB hosts do (other than the warning), and is
	  convenient for many stages of product development.

config USB_OTG_BLACKLIST_HUB
config USB_OTG_BLACKLIST_HUB
	bool "Disable external hubs"
	bool "Disable external hubs"
	depends on USB_OTG || EXPERT
	depends on USB_OTG || EXPERT