Messages in this thread | | | From | Tony Prisk <> | Subject | [RFC PATCH] Add support for devicetree to i8042 serio driver | Date | Mon, 31 Dec 2012 11:47:08 +1300 |
| |
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
| |