summaryrefslogtreecommitdiff
path: root/include/dt-bindings/pinctrl
diff options
context:
space:
mode:
authorRicardo Silva <rjpdasilva@gmail.com>2018-04-11 22:42:57 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-05-02 14:36:08 +0200
commit574e69953d73f86dcaca34ffc8098e82a62e3746 (patch)
tree14d8dcb47fcdadfa23d0c0f6c3478bc8b3807970 /include/dt-bindings/pinctrl
parente61941d1e972a486660a435cc34f5724c0271a90 (diff)
dt-bindings: pinctrl: mcp23s08: Clarify gpiospec flags cell usage
The pinctrl-mcp23s08 driver doesn't provide a specific gpiospec of_xlate() function, causing the gpiolib-of's of_gpio_simple_xlate() function to be used instead, which takes the gpiospec's second cell as the flags specifier according to 'include/dt-bindings/gpio/gpio.h'. The pinctrl-mcp23s08 bindings document was mentioning that the flags were unused, which is not accurate because values in that second cell are indeed used by the gpiolib-of's of_gpio_simple_xlate() for configuring the gpio (e.g. its polarity). This way, replace the "flags currently unused" reference in the dt-bindings document with references to the appropriate files specifying the possible flag values and gpiospec description. CC: devicetree@vger.kernel.org Signed-off-by: Ricardo Silva <rjpdasilva@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/dt-bindings/pinctrl')
0 files changed, 0 insertions, 0 deletions