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: patc...@opensource.cirrus.com > Cc: Charles Keepax <ckee...@opensource.cirrus.com> > Acked-by: Lee Jones <lee.jo...@linaro.org> > Signed-off-by: Linus Walleij <linus.wall...@linaro.org> > --- > ChangeLog v1->v2: > - Rebase the patch on the other changes. > - Collect Lee's ACK. > ---
Acked-by: Charles Keepax <ckee...@opensource.cirrus.com> Thanks, Charles