[PATCH 1/2] Convert power recovery pin to a fixed regulator

Mark Brown broonie at kernel.org
Sun Aug 11 14:24:44 EDT 2013


On Sun, Aug 11, 2013 at 03:26:49PM +0100, Jamie Lentin wrote:
> dnskw_gpio_register() is broken, and probably has been for a while,
> since dnskw_init() is called too early to register GPIOs. Instead use a
> fixed regulator to turn the pin high, which knows to defer the
> registration until later.

So, this is really abuse of the regulator API since it knows how to set
a GPIO.  Perhaps the reset controller might be a better fit, or pinctrl
defaults?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130811/d37d8977/attachment.sig>


More information about the linux-arm-kernel mailing list