firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_drivers-phy-goke-Kconfig...

30 lines
860 B
Diff

--- linux-4.9.37/drivers/phy/goke/Kconfig 1970-01-01 03:00:00.000000000 +0300
+++ linux-4.9.y/drivers/phy/goke/Kconfig 2021-06-07 13:01:34.000000000 +0300
@@ -0,0 +1,26 @@
+config PHY_GOKE_USBP2
+ tristate "GOKE USBP2 PHY Driver"
+ select GENERIC_PHY
+ default n
+ help
+ Support for PHY on goke Socs. This Phy supports
+ USB 1.5Mb/s, USB 12Mb/s, USB 480Mb/s speeds. It suppots one
+ USB host port to accept one USB device. Support init the phy
+ and adjust phy Eye Diagram.
+
+menuconfig USB_MODE_OPTION
+ bool "goke USB related configuration"
+
+if USB_MODE_OPTION
+
+config USB_DRD0_IN_HOST
+ bool "USB DRD0 Mode Select HOST"
+ help
+ Select whether the USB drd0 is working in host mode.
+
+config USB_DRD0_IN_DEVICE
+ bool "USB DRD0 Mode Select DEVICE"
+ help
+ Select whether the USB drd0 is working in device mode.
+
+endif # USB_MODE_OPTION