Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

config CONFIG_USB_ISP1760
	tristate "NXP ISP 1760/1761 support"
	depends on CONFIG_USB || CONFIG_USB_GADGET
	help
	  Say Y or CONFIG_M here if your system as an ISP1760 CONFIG_USB host controller
	  or an ISP1761 CONFIG_USB dual-role controller.

	  This driver does not support isochronous transfers or OTG.
	  This CONFIG_USB controller is usually attached to a non-DMA-Master
	  capable bus. NXP's eval kit brings this chip on CONFIG_PCI card
	  where the chip itself is behind a PLB to simulate such
	  a bus.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called isp1760.

config CONFIG_USB_ISP1760_HCD
	bool

config CONFIG_USB_ISP1761_UDC
	bool

if CONFIG_USB_ISP1760

choice
	bool "ISP1760 Mode Selection"
	default CONFIG_USB_ISP1760_DUAL_ROLE if (CONFIG_USB && CONFIG_USB_GADGET)
	default CONFIG_USB_ISP1760_HOST_ROLE if (CONFIG_USB && !CONFIG_USB_GADGET)
	default CONFIG_USB_ISP1760_GADGET_ROLE if (!CONFIG_USB && CONFIG_USB_GADGET)

config CONFIG_USB_ISP1760_HOST_ROLE
	bool "Host only mode"
	depends on CONFIG_USB=y || CONFIG_USB=CONFIG_USB_ISP1760
	select CONFIG_USB_ISP1760_HCD
	help
	  Select this if you want to use the ISP1760 in host mode only. The
	  gadget function will be disabled.

config CONFIG_USB_ISP1760_GADGET_ROLE
	bool "Gadget only mode"
	depends on CONFIG_USB_GADGET=y || CONFIG_USB_GADGET=CONFIG_USB_ISP1760
	select CONFIG_USB_ISP1761_UDC
	help
	  Select this if you want to use the ISP1760 in peripheral mode only.
	  The host function will be disabled.

config CONFIG_USB_ISP1760_DUAL_ROLE
	bool "Dual Role mode"
	depends on CONFIG_USB=y || CONFIG_USB=CONFIG_USB_ISP1760
	depends on CONFIG_USB_GADGET=y || CONFIG_USB_GADGET=CONFIG_USB_ISP1760
	select CONFIG_USB_ISP1760_HCD
	select CONFIG_USB_ISP1761_UDC
	help
	  Select this if you want to use the ISP1760 in both host and
	  peripheral modes.

endchoice

endif