Messages in this thread | | | Date | Mon, 23 Apr 2018 09:53:53 +0100 | From | Charles Keepax <> | Subject | Re: [PATCH 13/18 v2] regulator: wm8994: Pass descriptor instead of GPIO number |
| |
On Mon, Apr 23, 2018 at 01:07:37AM +0200, Linus Walleij wrote: > Instead of passing a global GPIO number for the enable GPIO, pass > a descriptor looked up from the device tree node or the board file > decriptor table for the regulator. > > There is a single board file passing the GPIOs for LDO1 and LDO2 > through platform data, so augment this to pass descriptors > associated with the i2c device as well. > > The special GPIO enable DT property for the enable GPIO is > nonstandard but this was accomodated in > commit 6a537d48461deacc57c07ed86d9915e5aa4b3539 > "gpio: of: Support regulator nonstandard GPIO properties". > > Cc: patches@opensource.cirrus.com > Cc: Charles Keepax <ckeepax@opensource.cirrus.com> > Acked-by: Lee Jones <lee.jones@linaro.org> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > ChangeLog v1->v2: > - Rebase the patch on the other changes. > - Collect Lee's ACK. > ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks, Charles
| |