uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub is defined as one that implements per-port power switching. This utility can be build in Yocto using the below recipe.
Above is the bitbake recipe for version 2.0.0.
Above is the bitbake recipe for version git.