Home
last modified time | relevance | path

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

/linux/drivers/reset/
H A Dreset-tps380x.c41 struct tps380x_reset *tps380x = to_tps380x_reset(rcdev); in tps380x_reset_assert() local
43 gpiod_set_value_cansleep(tps380x->reset_gpio, 1); in tps380x_reset_assert()
51 struct tps380x_reset *tps380x = to_tps380x_reset(rcdev); in tps380x_reset_deassert() local
53 gpiod_set_value_cansleep(tps380x->reset_gpio, 0); in tps380x_reset_deassert()
54 msleep(tps380x->reset_ms); in tps380x_reset_deassert()
75 struct tps380x_reset *tps380x; in tps380x_reset_probe() local
81 tps380x = devm_kzalloc(dev, sizeof(*tps380x), GFP_KERNEL); in tps380x_reset_probe()
82 if (!tps380x) in tps380x_reset_probe()
85 tps380x->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in tps380x_reset_probe()
86 if (IS_ERR(tps380x->reset_gpio)) in tps380x_reset_probe()
[all …]
H A DMakefile40 obj-$(CONFIG_RESET_TI_TPS380X) += reset-tps380x.o