tps65090_fet_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tps65090_fet_enable(9) β€” Kernel API Manual energy ✨

πŸŽ€ NAME πŸŽ€

tps65090_fet_enable β€” Enable a FET, trying a few times if it fails πŸ’–

✨ SYNOPSIS ✨

int tps65090_fet_enable (struct regulator_dev *rdev );

🫢 ARGUMENTS 🫢

  • rdev β€” Regulator device. That's the whole vibe for this one πŸŽ€

🌸 DESCRIPTION 🌸

okay so some versions of the tps65090 have issues when turning on the FETs 😭 no cap.

This function goes through several steps to ensure the best chance of the FET going on. Specifically:

  • We'll make sure that we bump the "overcurrent wait" to the maximum, which increases the chances that we'll turn on properly πŸ”₯
  • We'll retry turning the FET on multiple times (turning off in between) πŸ”

⭐ RETURN ⭐

0 if ok, non-zero if it fails. That's it, that's the return vibe πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


okay bye bestie 😭🫢 source/version: ./drivers/regulator, date: October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from