[RFC PATCH] Add support for devicetree to i8042 serio driver
Tony Prisk
linux at prisktech.co.nz
Sun Dec 30 17:47:08 EST 2012
Since this patch may adversely affect a lot of users, I thought I'd post this
as an RFC first. I don't think the changes should affect any existing i8042
implementations, but can never be certain.
Limitations:
This patch does not overcome the problem of only being able to select
a single i8042 platform at compile-time. If compiling for a multiplatform
kernel, all platforms must use the DT version or only one platform
can have i8042 support.
The DT version assumes memory-mapped i8042 registers. It can not handle
IO-mapped modules (eg. x86)
Tony Prisk (1):
input: i8042: Add support for devicetree to i8042 serio driver
.../devicetree/bindings/input/intel-8042.txt | 29 +++++
drivers/input/serio/Kconfig | 10 +-
drivers/input/serio/i8042-dt.h | 127 ++++++++++++++++++++
drivers/input/serio/i8042.c | 15 ++-
drivers/input/serio/i8042.h | 4 +-
5 files changed, 181 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/intel-8042.txt
create mode 100644 drivers/input/serio/i8042-dt.h
--
1.7.9.5
More information about the linux-arm-kernel
mailing list