Thread (17 messages) 17 messages, 3 authors, 2017-03-28

[RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

From: Linus Walleij <hidden>
Date: 2017-03-28 09:41:23
Also in: linux-amlogic, linux-gpio, lkml

On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong [off-list ref] wrote:

'> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges
is needed when gpiochip_add_data() is called but in the current implementation
the ranges are added from the driver afterwards.

A simple solution is to rely on the DR gpio-ranges attribute and remove the
call to gpiochip_add_pin_range().

Signed-off-by: Neil Armstrong <redacted>
This is fine once the ranges have been applied to the device trees I guess.

Tell me when you want me to merge this.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help