xref: /OK3568_Linux_fs/u-boot/drivers/phy/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun
2*4882a593Smuzhiyunmenu "PHY Subsystem"
3*4882a593Smuzhiyun
4*4882a593Smuzhiyunconfig PHY
5*4882a593Smuzhiyun	bool "PHY Core"
6*4882a593Smuzhiyun	depends on DM
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  PHY support.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  This framework is designed to provide a generic interface for PHY
11*4882a593Smuzhiyun	  devices. PHY devices are dedicated hardware that handle the physical
12*4882a593Smuzhiyun	  layer of the protocols in the OSI model.
13*4882a593Smuzhiyun	  PHYs are commonly used for high speed interfaces such as Serial-ATA
14*4882a593Smuzhiyun	  or PCI express.
15*4882a593Smuzhiyun	  The API provides functions to initialize/deinitialize the
16*4882a593Smuzhiyun	  PHY, power on/off the PHY, and reset the PHY. It's meant to be as
17*4882a593Smuzhiyun	  compatible as possible with the equivalent framework found in the
18*4882a593Smuzhiyun	  linux kernel.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig SPL_PHY
21*4882a593Smuzhiyun	bool "PHY Core in SPL"
22*4882a593Smuzhiyun	depends on DM
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  PHY support in SPL.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	  This framework is designed to provide a generic interface for PHY
27*4882a593Smuzhiyun	  devices. PHY devices are dedicated hardware that handle the physical
28*4882a593Smuzhiyun	  layer of the protocols (https://en.wikipedia.org/wiki/OSI_model).
29*4882a593Smuzhiyun	  PHYs are commonly used for high speed interfaces such as Serial-ATA
30*4882a593Smuzhiyun	  or PCI express.
31*4882a593Smuzhiyun	  The API provides functions to initialize/deinitialize the
32*4882a593Smuzhiyun	  PHY, power on/off the PHY, and reset the PHY. It's meant to be as
33*4882a593Smuzhiyun	  compatible as possible with the equivalent framework found in the
34*4882a593Smuzhiyun	  linux kernel.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig PHY_SANDBOX
37*4882a593Smuzhiyun	bool "Sandbox PHY support"
38*4882a593Smuzhiyun	depends on SANDBOX
39*4882a593Smuzhiyun	depends on PHY
40*4882a593Smuzhiyun	help
41*4882a593Smuzhiyun	  This select a dummy sandbox PHY driver. It used only to implement
42*4882a593Smuzhiyun	  the unit tests for the phy framework
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunconfig NOP_PHY
45*4882a593Smuzhiyun	bool "NOP PHY driver"
46*4882a593Smuzhiyun	depends on PHY
47*4882a593Smuzhiyun	help
48*4882a593Smuzhiyun	  Support for a no-op PHY driver (stubbed PHY driver).
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun	  This is useful when a driver uses the PHY framework but no real PHY
51*4882a593Smuzhiyun	  hardware exists.
52*4882a593Smuzhiyun
53*4882a593Smuzhiyunconfig SPL_NOP_PHY
54*4882a593Smuzhiyun	bool "NOP PHY driver in SPL"
55*4882a593Smuzhiyun	depends on SPL_PHY
56*4882a593Smuzhiyun	help
57*4882a593Smuzhiyun	  Support for a no-op PHY driver (stubbed PHY driver) in the SPL.
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun	  This is useful when a driver uses the PHY framework but no real PHY
60*4882a593Smuzhiyun	  hardware exists.
61*4882a593Smuzhiyun
62*4882a593Smuzhiyunconfig PHY_ROCKCHIP_INNO_USB2
63*4882a593Smuzhiyun	bool "Support Rockchip INNO USB2PHY"
64*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
65*4882a593Smuzhiyun	select PHY
66*4882a593Smuzhiyun	help
67*4882a593Smuzhiyun	  Support for Rockchip USB 2.0 PHY with Innosilicon IP block.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig PHY_ROCKCHIP_NANENG_COMBOPHY
70*4882a593Smuzhiyun	bool "Support Rockchip NANENG combo PHY Driver"
71*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
72*4882a593Smuzhiyun	select PHY
73*4882a593Smuzhiyun	help
74*4882a593Smuzhiyun	  Enable this to support the Rockchip NANENG combo PHY.
75*4882a593Smuzhiyun
76*4882a593Smuzhiyunconfig PHY_ROCKCHIP_NANENG_USB2
77*4882a593Smuzhiyun	bool "Support Rockchip Naneng USB2PHY"
78*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
79*4882a593Smuzhiyun	select PHY
80*4882a593Smuzhiyun	help
81*4882a593Smuzhiyun	  Support for Rockchip USB 2.0 PHY with Naneng IP block.
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunconfig PHY_ROCKCHIP_INNO_USB3
84*4882a593Smuzhiyun	bool "Support Rockchip INNO USB3PHY"
85*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
86*4882a593Smuzhiyun	select PHY
87*4882a593Smuzhiyun	help
88*4882a593Smuzhiyun	  Support for Rockchip USB 3.0 PHY with Innosilicon IP block.
89*4882a593Smuzhiyun
90*4882a593Smuzhiyunconfig PHY_ROCKCHIP_NANENG_EDP
91*4882a593Smuzhiyun	bool "Support Rockchip Naneng eDP Transmitter PHY"
92*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
93*4882a593Smuzhiyun	select PHY
94*4882a593Smuzhiyun	help
95*4882a593Smuzhiyun	  Support for Rockchip eDP Transmitter PHY with Naneng IP block.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyunconfig PHY_ROCKCHIP_SAMSUNG_HDPTX
98*4882a593Smuzhiyun	bool "Rockchip Samsung HDMI/DP Combo PHY driver"
99*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
100*4882a593Smuzhiyun	select PHY
101*4882a593Smuzhiyun	help
102*4882a593Smuzhiyun	  Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
103*4882a593Smuzhiyun
104*4882a593Smuzhiyunconfig PHY_ROCKCHIP_SNPS_PCIE3
105*4882a593Smuzhiyun	bool "Rockchip Snps PCIe3 PHY Driver"
106*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
107*4882a593Smuzhiyun	select PHY
108*4882a593Smuzhiyun	help
109*4882a593Smuzhiyun	  Support for Rockchip PCIe3 PHY with Synopsys IP block.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyunconfig PHY_ROCKCHIP_USBDP
112*4882a593Smuzhiyun	tristate "Rockchip USBDP COMBO PHY Driver"
113*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
114*4882a593Smuzhiyun	select PHY
115*4882a593Smuzhiyun	help
116*4882a593Smuzhiyun	  Enable this to support the Rockchip USB3.0/DP
117*4882a593Smuzhiyun	  combo PHY with Samsung IP block.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyunconfig PHY_ROCKCHIP_TYPEC
120*4882a593Smuzhiyun	bool "Support Rockchip TYPEC PHY Driver"
121*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
122*4882a593Smuzhiyun	select PHY
123*4882a593Smuzhiyun	help
124*4882a593Smuzhiyun	  Enable this to support the Rockchip USB Type-C PHY.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig PIPE3_PHY
127*4882a593Smuzhiyun	bool "Support omap's PIPE3 PHY"
128*4882a593Smuzhiyun	depends on PHY && ARCH_OMAP2PLUS
129*4882a593Smuzhiyun	help
130*4882a593Smuzhiyun	  Support for the omap PIPE3 phy for sata
131*4882a593Smuzhiyun
132*4882a593Smuzhiyun	  This PHY is found on omap devices supporting SATA such as dra7, am57x
133*4882a593Smuzhiyun	  and omap5
134*4882a593Smuzhiyun
135*4882a593Smuzhiyunconfig SPL_PIPE3_PHY
136*4882a593Smuzhiyun	bool "Support omap's PIPE3 PHY in SPL"
137*4882a593Smuzhiyun	depends on SPL_PHY && ARCH_OMAP2PLUS
138*4882a593Smuzhiyun	help
139*4882a593Smuzhiyun	  Support for the omap PIPE3 phy for sata in SPL
140*4882a593Smuzhiyun
141*4882a593Smuzhiyun	  This PHY is found on omap devices supporting SATA such as dra7, am57x
142*4882a593Smuzhiyun	  and omap5
143*4882a593Smuzhiyun
144*4882a593Smuzhiyunendmenu
145