Hello everyone,
I'm trying to compile a Yocto image that must disable data lines for PCIe, USB1, USB2, LVDS, and ETH1 (RGMII) when entering suspend mode and restoring the original state after waking up. Basically, for other devices, I'm changing the pinctrl to use another configuration of pin to decrease the power consumption, but these peripherals I'm not finding a way to disable them.
My findings suggest creating a driver to write some registers when entering suspend mode, but I don't know if it'll solve the problem. I tried to find in the bindings some configurations in the device tree but with not much success (only some possibilities to interact with regulators, but nothing so much different from implementing a driver).
Please, can someone give me tips or a direction about a good way to disable these peripherals? I'm a beginner doing this.
Thanks very much for the support.