Question
How to enable/disable pwr_sw1 and pwr_sw1 via sysfs?
We need to enable/disable pwr_sw1 and pwr_sw1 preferably via sysfs:
vdd_usb_sw: pwr_sw1 {
regulator-name = "vdd_usb_sw";
};
vdd_sd_sw: pwr_sw2 {
regulator-name = "vdd_sd_sw";
regulator-always-on;
regulator-boot-on;
regulator-active-discharge = <1>;
};How can we achieve this?
