Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/typec/
Dstusb160x.c151 struct regulator *vsys_supply; member
660 chip->vsys_supply = devm_regulator_get_optional(chip->dev, "vsys"); in stusb160x_probe()
661 if (IS_ERR(chip->vsys_supply)) { in stusb160x_probe()
662 ret = PTR_ERR(chip->vsys_supply); in stusb160x_probe()
665 chip->vsys_supply = NULL; in stusb160x_probe()
703 (!chip->vsys_supply || in stusb160x_probe()
704 (regulator_get_voltage(chip->vsys_supply) <= 3100000))) in stusb160x_probe()
707 chip->main_supply = chip->vsys_supply; in stusb160x_probe()