blob: 98bb6333c1c0ef5f1874b3ac611351aed2402b1e [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001menu "Demo for driver model"
2
Simon Glass2b98fb42015-02-05 21:41:34 -07003config 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.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +090029
30endmenu