Enable Regulator using GPIO
Hi,
I want to use GPIO to enable regulator in device tree as shown below.
gpio_reg: gpio_reg {
compatible = "regulator-fixed"
regulator-name = "gpio_reg";
gpio = <&tlmm_pinmux 23 0>;
regulator-min-microvolt = <1800000>;
regulatot-max-microvolt = <1800000>;
enable-active-high;
status = "ok"
}
but i dont see any GPIO toggling happening on gpio23.
if i use gpio directly from sysfs without using in device tree i can see gpio toggling.
Is something i am missing to specify in device tree to enable regulator?
Thanks,
Ashok
|