]> git.baikalelectronics.ru Git - kernel.git/commit
bindings: update imx and mxs #gpio-cells
authorShawn Guo <shawn.guo@linaro.org>
Thu, 28 Jun 2012 03:15:37 +0000 (11:15 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 6 Jul 2012 11:57:42 +0000 (19:57 +0800)
commit4f14ccbbaa30ace880a2445548c2264f4c783290
tree9425508f4c8c4cf68abf529dbd164b8ba2acd296
parenta4eda19827b5714b4b7518206cb9ccadf352d5c9
bindings: update imx and mxs #gpio-cells

The of_get_named_gpio_flags can retrieve the second cell of
gpio-specifier as the "flags".  The imx and mxs gpio driver do not
have their own .xlate callback, which means of_gpio_simple_xlate is
used and it's a 1:1 mapping between gpio controller flags and Linux
"enum of_gpio_flags".

Update imx and mxs bindings document to make it clear.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
Documentation/devicetree/bindings/gpio/gpio-mxs.txt