I am working with some hardware powered off the board’s built in regulator that is being controlled by smd_rpm_regulators in the kernel. I can successfully change voltages and whether or not they are always on or on at boot via the device tree. However, changing the device tree every time I’d like to do this is a bit cumbersome, and I would rather like to do this interactively whilst the board is powered on.
Is this possible? If so is there any sample code out there that would help me to construct an application that I can use to act upon these regulators?