Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame^] | 1 | menu "Demo for driver model" |
| 2 | |
Simon Glass | 2a4eead | 2015-02-05 21:41:34 -0700 | [diff] [blame] | 3 | config 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 | |
| 12 | config 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 | |
| 21 | config 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 Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame^] | 29 | |
| 30 | endmenu |