diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-02-17 15:42:47 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-07 08:27:29 +0400 |
commit | 86853c83e33738397564e9377ceeff94d4bc041c (patch) | |
tree | 94b4df911227c48b62ace647d0989a2b4da0d019 /arch/arm/boot/dts/spear1310.dtsi | |
parent | e3929714942b242ecb55657e70d51e0eb4c77726 (diff) | |
download | linux-86853c83e33738397564e9377ceeff94d4bc041c.tar.xz |
gpio: add gpio offset in gpio range cells property
Add gpio offset into "gpio-range-cells" property. It's used to support
sparse pinctrl range in gpio chip.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/spear1310.dtsi')
-rw-r--r-- | arch/arm/boot/dts/spear1310.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/spear1310.dtsi b/arch/arm/boot/dts/spear1310.dtsi index 1513c1927cc8..122ae94076c8 100644 --- a/arch/arm/boot/dts/spear1310.dtsi +++ b/arch/arm/boot/dts/spear1310.dtsi @@ -89,7 +89,7 @@ pinmux: pinmux@e0700000 { compatible = "st,spear1310-pinmux"; reg = <0xe0700000 0x1000>; - #gpio-range-cells = <2>; + #gpio-range-cells = <3>; }; apb { @@ -212,7 +212,7 @@ interrupt-controller; gpio-controller; #gpio-cells = <2>; - gpio-ranges = <&pinmux 0 246>; + gpio-ranges = <&pinmux 0 0 246>; status = "disabled"; st-plgpio,ngpio = <246>; |