Searched refs:ihid_goodix (Results 1 – 1 of 1) sorted by relevance
37 struct i2c_hid_of_goodix *ihid_goodix = in goodix_i2c_hid_power_up() local46 if (ihid_goodix->no_reset_during_suspend) in goodix_i2c_hid_power_up()47 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 1); in goodix_i2c_hid_power_up()49 ret = regulator_enable(ihid_goodix->vdd); in goodix_i2c_hid_power_up()53 ret = regulator_enable(ihid_goodix->vddio); in goodix_i2c_hid_power_up()57 if (ihid_goodix->timings->post_power_delay_ms) in goodix_i2c_hid_power_up()58 msleep(ihid_goodix->timings->post_power_delay_ms); in goodix_i2c_hid_power_up()60 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 0); in goodix_i2c_hid_power_up()61 if (ihid_goodix->timings->post_gpio_reset_delay_ms) in goodix_i2c_hid_power_up()62 msleep(ihid_goodix->timings->post_gpio_reset_delay_ms); in goodix_i2c_hid_power_up()[all …]