sh: generic push-switch framework.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 24 Nov 2006 02:22:57 +0000 (11:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:38 +0000 (10:45 +0900)
commit9f5e8eee5cfe1328660c71812d87c2a67bda389f
treeb016c812709e4cc33496caac213a1315ca0d9e39
parent99a596f93be10001c50894bcab69e458a49a3b8c
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: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/drivers/Kconfig [new file with mode: 0644]
arch/sh/drivers/Makefile
arch/sh/drivers/push-switch.c [new file with mode: 0644]
include/asm-sh/push-switch.h [new file with mode: 0644]