HID: i2c-hid: Allow ACPI systems to specify "post-power-on-delay-ms"
authorRajat Jain <rajatja@google.com>
Tue, 3 Oct 2017 18:19:21 +0000 (11:19 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Nov 2017 12:29:15 +0000 (13:29 +0100)
commit847989e548ee76f06fd51b61c1fb887d1e86a239
tree3f520ca9ede18f7eefd127b2e642c8eae3810d70
parent20df15783a44a289aaa8c8f83b3f715f9040c9c2
HID: i2c-hid: Allow ACPI systems to specify "post-power-on-delay-ms"

The property "post-power-on-delay-ms" allows a platform to specify
the delay needed after power-on, but only via device trees currently.
Use device_property_* instead of of_* reads to allow ACPI systems to
also provide the same information. This is useful for Wacom hardware
on ACPI systems.

Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/devicetree/bindings/input/hid-over-i2c.txt
drivers/hid/i2c-hid/i2c-hid.c