Kconfig 959 B

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