Home
last modified time | relevance | path

Searched refs:st7920 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/sitronix/
H A Dst7920.c232 static void st7920_power_on(struct st7920_device *st7920, in st7920_power_on() argument
235 st7920_spi_write(st7920->spi, SET_DISPLAY_ON, NULL, 72, err); in st7920_power_on()
238 static void st7920_power_off(struct st7920_device *st7920, in st7920_power_off() argument
241 st7920_spi_write(st7920->spi, SET_DISPLAY_CLEAR, NULL, 1600, err); in st7920_power_off()
242 st7920_spi_write(st7920->spi, SET_DISPLAY_OFF, NULL, 72, err); in st7920_power_off()
245 static void st7920_hw_reset(struct st7920_device *st7920) in st7920_hw_reset() argument
247 if (!st7920->reset_gpio) in st7920_hw_reset()
250 gpiod_set_value_cansleep(st7920->reset_gpio, 1); in st7920_hw_reset()
252 gpiod_set_value_cansleep(st7920->reset_gpio, 0); in st7920_hw_reset()
256 static int st7920_init(struct st7920_device *st7920) in st7920_init() argument
[all …]
/linux/
H A DMAINTAINERS8357 F: Documentation/devicetree/bindings/display/sitronix,st7920.yaml
8358 F: drivers/gpu/drm/sitronix/st7920.c