Searched hist:"0 f98dd1b27d27412af3aef6a49ea6975988e33e7" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-mockup.c | 0f98dd1b27d27412af3aef6a49ea6975988e33e7 Wed Aug 31 11:45:46 CEST 2016 Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> 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>
|
H A D | Makefile | diff 0f98dd1b27d27412af3aef6a49ea6975988e33e7 Wed Aug 31 11:45:46 CEST 2016 Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> 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>
|
H A D | Kconfig | diff 0f98dd1b27d27412af3aef6a49ea6975988e33e7 Wed Aug 31 11:45:46 CEST 2016 Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> 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>
|