]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29e59b89968abe0d53ab611177722c55e2d4da7a
tree3f520ca9ede18f7eefd127b2e642c8eae3810d70
parent1cbf77500ffa929a49ff4eb6cc02d8cce0db7d72
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