[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 4 Apr 2017 20:00:14 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Lee Jones <lee.jones@...aro.org>
Cc: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
devicetree <devicetree@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH v5 2/3] gpio: wm831x: Add basic device tree support
On Thu, Mar 23, 2017 at 1:47 PM, Lee Jones <lee.jones@...aro.org> wrote:
> On Fri, 17 Mar 2017, Charles Keepax wrote:
>
>> Now the wm831x-core has basic DT support we can update this driver to
>> allow use of the GPIOs within a device tree system.
>>
>> Signed-off-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
>> Acked-by: Linus Walleij <linus.walleij@...aro.org>
>> ---
>>
>> No changes since v4, still should go through Lee's tree.
>>
>> Thanks,
>> Charles
>>
>> drivers/gpio/gpio-wm831x.c | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> Applied, thanks.
>> +#ifdef CONFIG_OF_GPIO
>> + wm831x_gpio->gpio_chip.of_node = wm831x->dev->of_node;
>> +#endif
Just a bit of off topic.
If we can use struct fwnode_handle we might get rid of all those
CONFIG_OF_GPIO in the drivers.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists