Skip to content

Commit

Permalink
ARM: ux500: Move board specific GPIO info out to subordinate DTS files
Browse files Browse the repository at this point in the history
GPIO numbers for the newly created gpio-regulator will differ from
board to board. Therefore it's not sensible to leave this information
in the top level DTSI file. Let's move them out to the DTS files
where they can correctly vary.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Lee Jones committed Nov 27, 2012
1 parent c94a4ab commit 8ad49c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/dbx5x0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,6 @@
regulator-name = "mmci-reg";
regulator-type = "voltage";

gpios = <&tc3589x_gpio 18 0x4>;
gpio-enable = <&tc3589x_gpio 17 0x4>;
states = <1800000 0x1
2900000 0x0>;

Expand Down
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/hrefprev60.dts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,12 @@
reset-gpio = <&tc3589x_gpio 13 0x4>;
};
};

vmmci: regulator-gpio {
gpios = <&tc3589x_gpio 18 0x4>;
gpio-enable = <&tc3589x_gpio 17 0x4>;

status = "okay";
};
};
};

0 comments on commit 8ad49c6

Please sign in to comment.