Re: Regulators not working
From: Tony Lindgren <tony@atomide.com>
Date: 2021-06-02 05:37:55
* Mighty M [off-list ref] [210531 18:11]:
On Thu, May 27, 2021 at 10:49 PM Mighty M [off-list ref] wrote:quoted
My device has twl6032 regulator, and the regulators are always disabled and off, even after putting regulator-always-on in my dts they are off. Only the twl regulators are affected, the ones i added manually (ie fixed reg with gpio) are working fine. Here is my dts https://pastebin.ubuntu.com/p/pYGG2pTSjB/, my .config https://pastebin.ubuntu.com/p/vVFrbZ4773/ , my dmesg https://pastebin.ubuntu.com/p/tqCXGnPZmF/ it says [ 4.330841] VAUX2_6030: 2800 mV, disabled [ 4.334533] twl6030_reg 48070000.i2c:twl@48:regulator-vaux2: always-on 1 and checking the /sys/class/regulator samsung-espresso10:/sys/devices/platform/44000000.ocp/48000000.interconnect/48000000.interconnect:segment@0/48070000.target-module/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:regulator-vaux2/regulator/regulator.8# cat state disabled samsung-espresso10:/sys/devices/platform/44000000.ocp/48000000.interconnect/48000000.interconnect:segment@0/48070000.target-module/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:regulator-vaux2/regulator/regulator.8# cat status off the regulator_summary https://pastebin.ubuntu.com/p/3DH6h9bkGY/ I cannot understand why the twl pmic isnt working, any help?Fixed using twl6032 compatible regs (https://github.com/MightyM17/linux_openpvrsgx/commit/0941a578af14997bce809a490e3c4ad6974da30d#diff-064ed8561b0ba46b9cd9fb30b57da0d76f2609faeaf0df09bdb7b908ef87a363R342)
OK good to hear. Regards, Tony