]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: gpio: add basic driver for simulating GPIOs
authorSimon Glass <sjg@chromium.org>
Wed, 15 Feb 2012 23:51:13 +0000 (15:51 -0800)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 15:03:42 +0000 (11:03 -0400)
commit8d30fcd9a15da1fbe803af6d584ef0c4997e47e0
treee71c7bbdbb57bf093e6a04dea4c08dbb387a6687
parentd9165153caea9f342410ed3ac87cb68768ebec78
sandbox: gpio: add basic driver for simulating GPIOs

This provides a way of simulating GPIOs by setting values which are seen
by the normal gpio_get/set_value() calls.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/sandbox/include/asm/gpio.h [new file with mode: 0644]
drivers/gpio/Makefile
drivers/gpio/sandbox.c [new file with mode: 0644]