This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5726: Fixed regulator in device tree

Part Number: AM5726

Tool/software: Linux

I need a little help with regulators in my device tree.  After adding smps9_reg to my tps659038_pmic regulator

smps9_reg: smps9 {
    /* VDD_1V0 */
    regulator-name = "smps9";
    regulator-min-microvolt = <1000000>;
    regulator-max-microvolt = <1000000>;
};

I also added vdd_1v0 to my device tree

vdd_1v0: fixedregulator-vdd_1v0 {
    compatible = "regulator-fixed";
    regulator-name = "vdd_1v0";
    vin-supply = <&smps9_reg>;
    regulator-min-microvolt = <1000000>;
    regulator-max-microvolt = <1000000>;
};

And I added a platform device as a consumer

my_device1 {
    compatible = "asdf,my_device";
    vcc-supply = <&vdd_1v0>;
};

I'd like the 1.0v rail's power to be controllable from user space via a platform device driver, but I've noticed that the rail is powered up during the kernel boot.

I'm certain I'm doing something wrong in my device tree but I'm not sure what to fix.

Thanks in advance for any assistance!