Searched refs:tps380x (Results 1 – 3 of 3) sorted by relevance
41 struct tps380x_reset *tps380x = to_tps380x_reset(rcdev); in tps380x_reset_assert() local43 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() local53 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() local81 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 …]
38 obj-$(CONFIG_RESET_TI_TPS380X) += reset-tps380x.o
4 $id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml#