]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3fa7967c270252f58dc31529784038ab16341dc
treeb016c812709e4cc33496caac213a1315ca0d9e39
parentb6b38d73ff6f9574804dd7d529cc57699c200374
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]