of_phy_simple_xlate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

of_phy_simple_xlate β€” literally returns the phy instance from phy provider πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct phy * of_phy_simple_xlate (struct device *dev , const struct of_phandle_args *args );

πŸ’… ARGUMENTS πŸ’…

  • dev β€” the PHY provider device (not used here, lowkey just vibing)
  • args β€” of_phandle_args (that's it, that's the whole description, no cap)

🌸 DESCRIPTION 🌸

Okay so this one is intended to be used by a phy provider for the common case where #phy-cells is 0. ✨

For other cases where #phy-cells is greater than 0, the phy provider should provide a custom of_xlate function that reads the args and returns the appropriate phy. Periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/phy/phy-core.c β€” plus the whole phy friend group:


that's the whole page bestie 🫢 β€” source/version vibes: ./drivers/phy, date: October 2026, slay πŸ’…βœ¨

πŸ“¦ where this page comes from