Searched refs:im_pins (Results 1 – 1 of 1) sorted by relevance
86 struct gpio_descs *im_pins; member342 if (lcd->im_pins) { in hx8357_lcd_init()343 gpiod_set_value_cansleep(lcd->im_pins->desc[0], 1); in hx8357_lcd_init()344 gpiod_set_value_cansleep(lcd->im_pins->desc[1], 0); in hx8357_lcd_init()345 gpiod_set_value_cansleep(lcd->im_pins->desc[2], 1); in hx8357_lcd_init()596 lcd->im_pins = devm_gpiod_get_array_optional(dev, "im", GPIOD_OUT_LOW); in hx8357_probe()597 if (IS_ERR(lcd->im_pins)) in hx8357_probe()598 return dev_err_probe(dev, PTR_ERR(lcd->im_pins), "failed to request im GPIOs\n"); in hx8357_probe()599 if (lcd->im_pins) { in hx8357_probe()600 if (lcd->im_pins->ndescs < HX8357_NUM_IM_PINS) in hx8357_probe()[all …]