]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: demo: Add a simple GPIO demonstration
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jan 2015 03:05:31 +0000 (20:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:51 +0000 (17:09 -0700)
commita02af4aeece40e93bc7d79cd5dc912409efb7020
tree799cf6f844e86be0164e4cc1649b62d1c9911eb5
parent5d1c17e9a5803af9c65966e469437735ac29659e
dm: demo: Add a simple GPIO demonstration

Add a new 'demo light' command which uses GPIOs to control imaginary lights.
Each light is assigned a bit number in the overall value. This provides an
example driver for using the new GPIO API.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
common/cmd_demo.c
drivers/demo/demo-shape.c
drivers/demo/demo-uclass.c
include/dm-demo.h