Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 52fd8683 authored by Heiko Stübner's avatar Heiko Stübner Committed by Stephen Boyd
Browse files

pinctrl: add function to parse generic pinconfig properties from a dt node



pinconf_generic_parse_dt_config() takes a node as input and generates an
array of generic pinconfig values from the properties of this node.

As I couldn't find a mechanism to count the number of properties of a node
the function uses internally an array to accept one of parameter and copies
the real present options to a smaller variable at its end.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


Git-commit: 7db9af4b6e41be599e0fcd50d687138a5
Change-Id: I7a83d144622b31c70b7dd04fc60729f48867ab2a
Signed-off-by: default avatarHanumant Singh <hanumant@codeaurora.org>
parent 14423b9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment