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> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html