[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1711211330090.11505@cbobk.fhfr.pm>
Date: Tue, 21 Nov 2017 13:30:27 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Rajat Jain <rajatja@...gle.com>
cc: Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
David Arcari <darcari@...hat.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
HungNien Chen <hn.chen@...dahitech.com>,
Hans de Goede <hdegoede@...hat.com>,
Brian Norris <briannorris@...omium.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>, dtor@...gle.com,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
rajatxjain@...il.com,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [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@...gle.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
Powered by blists - more mailing lists