Hi,
I'm using a imx6q board with a PMIC chip(MMPF0100F0EP ). I defined the pmic: pfuze100@08 in the device tree. but I still find a regulator defined in the device tree like below , it's use the regulator-fixed driver.
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
reg_usb_otg_vbus: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio3 22 0>;
enable-active-high;
vin-supply = <&swbst_reg>;
};
reg_usb_h1_vbus: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
.....
So, what's the difference between fixed-regulator and pfuze100 regulator?
If I use the pfuze100, can I remove the fixed-regulator definition?
Thanks.
Hi siming
for regulator-fixed one can look in linux documentation
Best regards
igor