Re: [PATCH v2 1/2] HID: i2c-hid: add reset gpio property

From: Brian Norris
Date: Fri Nov 03 2017 - 22:29:52 EST


On Tue, Oct 31, 2017 at 11:03:15AM +0800, Lin Huang wrote:
> some i2c hid devices have reset gpio, need to control
> it in the driver.
>
> Signed-off-by: Lin Huang <hl@xxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - Add 10us in usleep_range() upper range
> - reuse post_power_delay_ms as deassert reset delay
> - delete deassert_reset_us property
>
> drivers/hid/i2c-hid/i2c-hid.c | 61 +++++++++++++++++++++++++++--------
> include/linux/platform_data/i2c-hid.h | 3 ++
> 2 files changed, 50 insertions(+), 14 deletions(-)

Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>