lkml.org 
[lkml]   [2017]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] HID: i2c-hid: Allow ACPI systems to specify "post-power-on-delay-ms"
On Tue, 3 Oct 2017, Rajat Jain wrote:

> 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>
> ---
> v3: introduce i2c_hid_fwnode_probe() to parse common device_properties.
> Also fixup the binding doc to indicate that regulator isn't a
> requirement for "post-power-on-delay-ms"
> v2: Don't change any other existing logic, only read "post-power-on-delay-ms"
> in i2c_hid_acpi_pdata() also.
> v1: Try to unify everything using device properties, convert i2c_hid_of_probe()
> to i2c_hid_fwnode_probe() and call i2c_hid_acpi_pdata() if can't get
> HID register address using device_property.

Queued now for 4.16 merge window.

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2017-11-21 13:31    [W:0.079 / U:1.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site