AnsweredAssumed Answered

Changing the voltage of the regulator through the device tree

Question asked by alanmartinovic on Mar 18, 2014
Latest reply on Mar 18, 2014 by Wlodek_D.

Hy,

I would like to change the voltage level of the regulator to get a constant voltage output of 5V.

In the device tree, both regulator-min-microvolt and regulator-max-microvolt have been set to 5V.

I'm using imx28 and the kernel is 3.14.0-rc5. The entry in the device tree looks like this:

 

 

reg_usb1_vbus: usb1_vbus {

compatible = "regulator-fixed";

regulator-name = "usb1_vbus";

regulator-min-microvolt = <5000000>; #This was 3300000

regulator-max-microvolt = <5000000>; #This was 3300000

gpio = <&gpio3 28 0>;

enable-active-high;

 

However, that doesn’t change the actual voltage on the GPIO pin.

Are there other places that require a change to get a fixed 5V output?

Outcomes