[U-Boot] [PATCH 09/21] dm: demo: Add a simple GPIO demonstration

Simon Glass sjg at chromium.org
Thu Jan 15 05:40:03 CET 2015


On 5 January 2015 at 20:05, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  arch/sandbox/dts/sandbox.dts | 11 ++++++-
>  common/cmd_demo.c            | 29 +++++++++++++++++-
>  drivers/demo/demo-shape.c    | 71 ++++++++++++++++++++++++++++++++++++++++++++
>  drivers/demo/demo-uclass.c   | 20 +++++++++++++
>  include/dm-demo.h            |  4 +++
>  5 files changed, 133 insertions(+), 2 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list