Skip to content
Snippets Groups Projects
Commit 39f7611f authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: Add a demonstration/example driver


As an example of how to write a uclass and a driver, provide a demo version
of each, accessible through the 'demo' command.

To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO.

The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and
CONFIG_DM_DEMO_SHAPE.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarPavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: default avatarViktor Křivák <viktor.krivak@gmail.com>
Signed-off-by: default avatarTomas Hlavacek <tmshlvck@gmail.com>
parent 06811959
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment