summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-clps711x.c
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2016-08-31 11:45:46 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-09-26 20:47:14 +0200
commit0f98dd1b27d27412af3aef6a49ea6975988e33e7 (patch)
treea26a7625f099135f2849cd5fdc86c75626fe518b /drivers/gpio/gpio-clps711x.c
parentgpio: Added zynq specific check for special pins on bank zero (diff)
downloadlinux-0f98dd1b27d27412af3aef6a49ea6975988e33e7.tar.xz
linux-0f98dd1b27d27412af3aef6a49ea6975988e33e7.zip
gpio/mockup: add virtual gpio device
This patch add basic structure of a virtual gpio device(gpio-mockup) for testing gpio subsystem. The tester could manipulate such device through userspace(sysfs or char device) and check the result from debugfs. Currently, it support one or more gpiochip(determined by module parameters with base,ngpio pair). One could test the overlap of different gpiochip and test the direction and/or output values of these chips. Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-clps711x.c')
0 files changed, 0 insertions, 0 deletions