All of lore.kernel.org
 help / color / mirror / Atom feed
* Regulators not working
@ 2021-05-27 17:19 Mighty M
  2021-05-31 18:11 ` Mighty M
  0 siblings, 1 reply; 3+ messages in thread
From: Mighty M @ 2021-05-27 17:19 UTC (permalink / raw)
  To: linux-omap

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regulators not working
  2021-05-27 17:19 Regulators not working Mighty M
@ 2021-05-31 18:11 ` Mighty M
  2021-06-02  5:37   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Mighty M @ 2021-05-31 18:11 UTC (permalink / raw)
  To: linux-omap

On Thu, May 27, 2021 at 10:49 PM Mighty M <mightymb17@gmail.com> wrote:
>
> 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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regulators not working
  2021-05-31 18:11 ` Mighty M
@ 2021-06-02  5:37   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2021-06-02  5:37 UTC (permalink / raw)
  To: Mighty M; +Cc: linux-omap

* Mighty M <mightymb17@gmail.com> [210531 18:11]:
> On Thu, May 27, 2021 at 10:49 PM Mighty M <mightymb17@gmail.com> wrote:
> >
> > 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-02  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 17:19 Regulators not working Mighty M
2021-05-31 18:11 ` Mighty M
2021-06-02  5:37   ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.