Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444218

"coupled" regulator support

From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject "coupled" regulator support
Date 2016-07-15 14:10 +0200
Message-ID <rVa6l-6K7-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I dunno how to name this kind of regulator, my situation is:

multiple devices connects to one voltage regulator_dev, e.g devA and devB connects
to regR, regR only support two voltage v1 and v2, let's say v1 < v2

regR can only be set to v1 if devA and devB all call for set voltage to v1
regR can set to v2 if devA or devB call for set voltage to v2

To support this situation, I'd like to add flag to regulator structure and
patch regulator_check_consumers() to check whether we are safe to set the vol

Is this patch acceptable or we already have elegant solution?

Thanks in advance,
Jisheng

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

"coupled" regulator support Jisheng Zhang <jszhang@marvell.com> - 2016-07-15 14:10 +0200
  Re: "coupled" regulator support Mark Brown <broonie@kernel.org> - 2016-07-15 15:00 +0200
    Re: "coupled" regulator support Jisheng Zhang <jszhang@marvell.com> - 2016-07-18 08:50 +0200
      Re: "coupled" regulator support Mark Brown <broonie@kernel.org> - 2016-07-18 20:10 +0200
        Re: "coupled" regulator support Jisheng Zhang <jszhang@marvell.com> - 2016-07-21 13:00 +0200

csiph-web