pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args
authorTony Lindgren <tony@atomide.com>
Thu, 3 Nov 2016 16:35:47 +0000 (09:35 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Nov 2016 21:50:55 +0000 (22:50 +0100)
commit42124bc598f64f84b3335d5a058304207695b84f
tree0faea03d1084618e3799c5eda2b20aebdbe59f10
parentb83bd893f3a04d35f5bfcf399c1034660e5b2403
pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

Introduce #pinctrl-cells helper binding and generic helper functions
pinctrl_count_index_with_args() and pinctrl_parse_index_with_args().

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
[Forward-declare of_phandle_args]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
drivers/pinctrl/devicetree.c
drivers/pinctrl/devicetree.h