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


Groups > linux.kernel > #1481421

Re: Regulator probe

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: Regulator probe
Date 2016-09-12 17:30 +0200
Message-ID <sgBlf-548-7@gated-at.bofh.it> (permalink)
References (5 earlier) <sftzr-2Vd-5@gated-at.bofh.it> <sfw4h-4M9-11@gated-at.bofh.it> <sfwGZ-5gP-7@gated-at.bofh.it> <sfx0n-5nv-69@gated-at.bofh.it> <sfOkx-7U8-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Sep 10, 2016 at 02:03:35PM +0300, Andy Shevchenko wrote:

> Please, correct me if I'm wrong in the following:
> 1) mapping is what kept in the regulator_map_list;
> 2) the only way to list something for this mapping is to use one of
> regulator drivers that will call regulator_register() at the end;
> 3) in case of fixed voltage regulator it prepares configuration and
> description (based on platform code for example) of the regulator and
> calls devm_regulator_register();
> 4) regulator_register() _will not_ add fixed regulator to the mapping if
> GPIO is deferred;
> 5) regulator_dev_lookup() didn't see the regulator before
> deferred_probe_initcall() happened.

> If the above is correct, how to add mapping to be seen in 5) ?

You may need to extend the interfaces offered by the core - one of the
great advantages of an open source kernel like Linux is that you can
modify the whole system if needed.

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


Thread

Re: Regulator probe Mark Brown <broonie@kernel.org> - 2016-09-09 17:40 +0200
  Re: Regulator probe Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-09-09 18:20 +0200
    Re: Regulator probe Mark Brown <broonie@kernel.org> - 2016-09-09 18:40 +0200
      Re: Regulator probe Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-09-09 19:10 +0200
        Re: Regulator probe Mark Brown <broonie@kernel.org> - 2016-09-09 19:20 +0200
      Re: Regulator probe Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-09-10 13:10 +0200
        Re: Regulator probe Mark Brown <broonie@kernel.org> - 2016-09-12 17:30 +0200
          Re: Regulator probe Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-09-12 18:10 +0200

csiph-web