xref: /OK3568_Linux_fs/u-boot/drivers/demo/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenu "Demo for driver model"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig DM_DEMO
4*4882a593Smuzhiyun	bool "Enable demo uclass support"
5*4882a593Smuzhiyun	depends on DM
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  This uclass allows you to play around with driver model. It provides
8*4882a593Smuzhiyun	  an interface to a couple of demo devices. You can access it using
9*4882a593Smuzhiyun	  the 'demo' command or by calling the uclass functions from your
10*4882a593Smuzhiyun	  own code.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunconfig DM_DEMO_SIMPLE
13*4882a593Smuzhiyun	bool "Enable simple demo device for driver model"
14*4882a593Smuzhiyun	depends on DM_DEMO
15*4882a593Smuzhiyun	help
16*4882a593Smuzhiyun	  This device allows you to play around with driver model. It prints
17*4882a593Smuzhiyun	  a message when the 'demo hello' command is executed which targets
18*4882a593Smuzhiyun	  this device. It can be used to help understand how driver model
19*4882a593Smuzhiyun	  works.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig DM_DEMO_SHAPE
22*4882a593Smuzhiyun	bool "Enable shape demo device for driver model"
23*4882a593Smuzhiyun	depends on DM_DEMO
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  This device allows you to play around with driver model. It prints
26*4882a593Smuzhiyun	  a shape when the 'demo hello' command is executed which targets
27*4882a593Smuzhiyun	  this device. It can be used to help understand how driver model
28*4882a593Smuzhiyun	  works.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunendmenu
31