From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20180214155512.17218-1-ckeepax@opensource.cirrus.com> References: <20180214155512.17218-1-ckeepax@opensource.cirrus.com> From: Linus Walleij Date: Thu, 22 Feb 2018 15:46:55 +0100 Message-ID: Subject: Re: [PATCH 1/2] mfd: arizona: Update reset pin to use GPIOD Content-Type: text/plain; charset="UTF-8" To: Charles Keepax Cc: Lee Jones , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , patches@opensource.cirrus.com List-ID: On Wed, Feb 14, 2018 at 4:55 PM, Charles Keepax wrote: > Now GPIOD has support for both pdata systems and for non-standard DT > bindings the Arizona reset GPIO can be converted to use it. > > Signed-off-by: Charles Keepax (...) > + pdata->reset = devm_gpiod_get_from_of_node(arizona->dev, > + arizona->dev->of_node, > + "wlf,reset", 0, > + GPIOD_OUT_LOW, > + "arizona /RESET"); It seems this call is really useful. Reviewed-by: Linus Walleij Also thanks for testing this API, I had nothing to test it on... Yours, Linus Walleij