All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mighty M <mightymb17@gmail.com>
To: linux-omap@vger.kernel.org
Subject: Re: Regulators not working
Date: Mon, 31 May 2021 23:41:04 +0530	[thread overview]
Message-ID: <CACLAQJEpPJJJWXQLq=wD5Zquw-c0wBFEBXTrZXm_-8R27LxfHA@mail.gmail.com> (raw)
In-Reply-To: <CACLAQJFXr2PeuV9rJtyVTB0ib9QgsHC7W14qA_aCm9qKh81JOA@mail.gmail.com>

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)

  reply	other threads:[~2021-05-31 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 17:19 Regulators not working Mighty M
2021-05-31 18:11 ` Mighty M [this message]
2021-06-02  5:37   ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACLAQJEpPJJJWXQLq=wD5Zquw-c0wBFEBXTrZXm_-8R27LxfHA@mail.gmail.com' \
    --to=mightymb17@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.