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: [email protected] > Cc: Charles Keepax <[email protected]> > Acked-by: Lee Jones <[email protected]> > Signed-off-by: Linus Walleij <[email protected]> > --- > ChangeLog v1->v2: > - Rebase the patch on the other changes. > - Collect Lee's ACK. > ---
Acked-by: Charles Keepax <[email protected]> Thanks, Charles

