Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1616218 > unrolled thread

Re: [PATCH v5 2/3] gpio: wm831x: Add basic device tree support

Started byAndy Shevchenko <andy.shevchenko@gmail.com>
First post2017-04-04 19:10 +0200
Last post2017-04-04 19:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v5 2/3] gpio: wm831x: Add basic device tree support Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-04 19:10 +0200

#1616218 — Re: [PATCH v5 2/3] gpio: wm831x: Add basic device tree support

FromAndy Shevchenko <andy.shevchenko@gmail.com>
Date2017-04-04 19:10 +0200
SubjectRe: [PATCH v5 2/3] gpio: wm831x: Add basic device tree support
Message-ID<tsA7U-7Nb-31@gated-at.bofh.it>
On Thu, Mar 23, 2017 at 1:47 PM, Lee Jones <lee.jones@linaro.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@opensource.wolfsonmicro.com>
>> Acked-by: Linus Walleij <linus.walleij@linaro.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web