sh: generic push-switch framework.
This adds support for a generic push switch framework. Adaptable for
various switches, including GPIO switches and the push switches commonly
found on Renesas debug boards.
This allows switch states to be trivially reported through sysfs.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
Showing
arch/sh/drivers/Kconfig
0 → 100644
arch/sh/drivers/push-switch.c
0 → 100644
include/asm-sh/push-switch.h
0 → 100644
想要评论请 注册 或 登录