Thread (8 messages) 8 messages, 3 authors, 2016-09-12

[PATCH v2 3/3] gpio: mxc: add generic gpio request/free callbacks to pinctrl

From: Linus Walleij <hidden>
Date: 2016-09-12 12:29:38
Also in: linux-gpio

On Thu, Sep 8, 2016 at 3:48 AM, Vladimir Zapolskiy
[off-list ref] wrote:
If a GPIO controller description in board DTB contains information
about mappings between GPIOs and pads under IOMUX control use it to
request and free GPIOs with respect to pinctrl/pinmux subsystems.

One of immediate positive functional changes is inability to
request non-existing GPIOs, i.e. if there is no pad such. Also
pinctrl/pinmux may now properly account pads occupied by requested
GPIOs.

The change has no effect, if "gpio-ranges" property is not found
including the case if a board has no DTB firmware.

Signed-off-by: Vladimir Zapolskiy <redacted>
---
Changes from v1 to v2:
* none
Patch applied with Shawn's ACK.

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