--- v5
+++ v6
@@ -9,7 +9,15 @@
This series was:
- Tested on a device that uses normal i2c-hid.
- Tested on a device that has a Goodix i2c-hid device.
-- NOT tested on any ACPI devices (just compile tested).
+- Tested on an ACPI device, but an earlier version of the series.
+
+Changes in v6:
+- ACPI probe function should have been "static"
+- Don't export suspend/resume, just export dev_pm_ops from core.
+- Fixed crash in ACPI module (missing init of "client")
+- No need for regulator include in the core.
+- Removed i2c_device_id table from ACPI module.
+- Suspend/resume are no longer exported from the core.
Changes in v5:
- Add shutdown_tail op and use it in ACPI.
@@ -47,13 +55,13 @@
drivers/hid/Makefile | 2 +-
drivers/hid/i2c-hid/Kconfig | 47 +++-
drivers/hid/i2c-hid/Makefile | 6 +-
- drivers/hid/i2c-hid/i2c-hid-acpi.c | 170 ++++++++++++
- drivers/hid/i2c-hid/i2c-hid-core.c | 252 +++---------------
- drivers/hid/i2c-hid/i2c-hid-of-goodix.c | 120 +++++++++
- drivers/hid/i2c-hid/i2c-hid-of.c | 147 ++++++++++
- drivers/hid/i2c-hid/i2c-hid.h | 25 ++
+ drivers/hid/i2c-hid/i2c-hid-acpi.c | 159 +++++++++++
+ drivers/hid/i2c-hid/i2c-hid-core.c | 254 +++---------------
+ drivers/hid/i2c-hid/i2c-hid-of-goodix.c | 116 ++++++++
+ drivers/hid/i2c-hid/i2c-hid-of.c | 143 ++++++++++
+ drivers/hid/i2c-hid/i2c-hid.h | 22 ++
include/linux/platform_data/i2c-hid.h | 41 ---
- 11 files changed, 615 insertions(+), 263 deletions(-)
+ 11 files changed, 596 insertions(+), 262 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7375p.yaml
create mode 100644 drivers/hid/i2c-hid/i2c-hid-acpi.c
create mode 100644 drivers/hid/i2c-hid/i2c-hid-of-goodix.c