Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) # Phy drivers for TI platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) config PHY_DA8XX_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 	tristate "TI DA8xx USB PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 	depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 	  Enable this to support the USB PHY on DA8xx SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 	  This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) config PHY_DM816X_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	tristate "TI dm816x USB PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	depends on USB_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	select USB_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	  Enable this for dm816x USB to work.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) config PHY_AM654_SERDES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	tristate "TI AM654 SERDES support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	depends on OF && ARCH_K3 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	select MULTIPLEXER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	select MUX_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	  This option enables support for TI AM654 SerDes PHY used for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	  PCIe.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) config PHY_J721E_WIZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	tristate "TI J721E WIZ (SERDES Wrapper) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	depends on OF && ARCH_K3 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	depends on HAS_IOMEM && OF_ADDRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	select MULTIPLEXER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	select MUX_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	  This option enables support for WIZ module present in TI's J721E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	  SoC. WIZ is a serdes wrapper used to configure some of the input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	  signals to the SERDES (Sierra/Torrent). This driver configures
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	  three clock selects (pll0, pll1, dig) and resets for each of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	  lanes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) config OMAP_CONTROL_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	tristate "OMAP CONTROL PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	  Enable this to add support for the PHY part present in the control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	  module. This driver has API to power on the USB2 PHY and to write to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  the mailbox. The mailbox is present only in omap4 and the register to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	  (PIPE3 PHY).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) config OMAP_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	tristate "OMAP USB2 PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	depends on ARCH_OMAP2PLUS || ARCH_K3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	depends on USB_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	select USB_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	  Enable this to support the transceiver that is part of SOC. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 	  driver takes care of all the PHY functionality apart from comparator.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	  The USB OTG controller communicates with the comparator using this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	  driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) config TI_PIPE3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	tristate "TI PIPE3 PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	select OMAP_CONTROL_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	  driver takes care of all the PHY functionality apart from comparator.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	  This driver interacts with the "OMAP Control PHY Driver" to power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  on/off the PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) config PHY_TUSB1210
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	tristate "TI TUSB1210 ULPI PHY module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	depends on USB_ULPI_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	  Support for TI TUSB1210 USB ULPI PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) config TWL4030_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	tristate "TWL4030 USB Transceiver Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	depends on USB_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	select USB_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	  Enable this to support the USB OTG transceiver on TWL4030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	  family chips (including the TWL5030 and TPS659x0 devices).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	  This transceiver supports high and full speed devices plus,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	  in host mode, low speed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) config PHY_TI_GMII_SEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	select REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	  This driver supports configuring of the TI CPSW Port mode depending on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	  the Ethernet PHY connected to the CPSW Port.