• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1menu "Demo for driver model"
2
3config DM_DEMO
4	bool "Enable demo uclass support"
5	depends on DM
6	help
7	  This uclass allows you to play around with driver model. It provides
8	  an interface to a couple of demo devices. You can access it using
9	  the 'demo' command or by calling the uclass functions from your
10	  own code.
11
12config DM_DEMO_SIMPLE
13	bool "Enable simple demo device for driver model"
14	depends on DM_DEMO
15	help
16	  This device allows you to play around with driver model. It prints
17	  a message when the 'demo hello' command is executed which targets
18	  this device. It can be used to help understand how driver model
19	  works.
20
21config DM_DEMO_SHAPE
22	bool "Enable shape demo device for driver model"
23	depends on DM_DEMO
24	help
25	  This device allows you to play around with driver model. It prints
26	  a shape when the 'demo hello' command is executed which targets
27	  this device. It can be used to help understand how driver model
28	  works.
29
30endmenu
31