linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: linux-kernel@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Subject: fixed-regulator with enable from another regulator
Date: Fri, 27 Jan 2023 22:33:14 +0100	[thread overview]
Message-ID: <Y9RDGnZLg6wGJWwn@francesco-nb.int.toradex.com> (raw)

Hello all,
I am trying to figure out if it is possible with the current
regulator-fixed or with any other solution already implemented in Linux
to have a regulator enabled from another one.

I am not talking about the regulator vin-supply, I am really talking
about the enable input signal of a LDO connected to the output of another
regulator, a sort of "chained" regulator.

As an example something like this

<reg_1v8>[out] ---> [vin-supply]<reg_1v0>[out] --->
<reg_3v3>[out] ---> [enable]

<reg_1v8>[out] ---> [vin-supply]<reg_1v2>[out] --->
<reg_3v3>[out] ---> [enable]

<gpio1> ---> [enable]<reg_3v3>[out]--->

in which toggling <gpio1> control 3 different outputs.

I am still not 100% sure if describing this specific hardware connection
would be required on my system, maybe I can just ignore all of that.

Any thought?

Francesco


             reply	other threads:[~2023-01-27 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 21:33 Francesco Dolcini [this message]
2023-01-28 13:16 ` fixed-regulator with enable from another regulator Mark Brown
2023-01-28 13:43   ` Francesco Dolcini

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=Y9RDGnZLg6wGJWwn@francesco-nb.int.toradex.com \
    --to=francesco@dolcini.it \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).