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


Groups > linux.kernel > #1532199

Re: [PATCH 2/2] regulator: core: Allow enable GPIO to be specified using GPIOD

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] regulator: core: Allow enable GPIO to be specified using GPIOD
Date 2016-11-29 12:50 +0100
Message-ID <sIP57-7Uu-3@gated-at.bofh.it> (permalink)
References <sIOVr-7QX-1@gated-at.bofh.it> <sIOVs-7QX-29@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 Tue, Nov 29, 2016 at 11:30:45AM +0000, Charles Keepax wrote:
> The regulator subsystem has used GPIOs internally for a while, however,
> end drivers must still specify their enable GPIO using a GPIO number. This
> patch allows the end drivers to specify the enable GPIO using GPIOD
> directly.

The reason we don't support descriptors is that the GPIO API currently
doesn't support having more than one user of a descriptor but GPIO
enables for regulators get shared often enough to be interesting.  If
drivers start using this then that'd mean that the shared enable support
would become erratic depending on which driver was in use.

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


Thread

[PATCH 1/2] regulator: core: Correct type of mode in regulator_mode_constrain Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-11-29 12:40 +0100
  Re: [PATCH 2/2] regulator: core: Allow enable GPIO to be specified  using GPIOD Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-11-29 12:40 +0100
  [PATCH 2/2] regulator: core: Allow enable GPIO to be specified using GPIOD Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-11-29 12:40 +0100
    Re: [PATCH 2/2] regulator: core: Allow enable GPIO to be specified  using GPIOD Mark Brown <broonie@kernel.org> - 2016-11-29 12:50 +0100
      Re: [PATCH 2/2] regulator: core: Allow enable GPIO to be specified  using GPIOD Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-11-29 13:00 +0100
  Applied "regulator: core: Correct type of mode in regulator_mode_constrain" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-11-30 19:10 +0100

csiph-web