summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5420-arndale-octa.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-04-02 16:15:20 +0200
committerKukjin Kim <kgene@kernel.org>2015-05-17 10:51:06 +0900
commit1fed2252713eee81f30c7b09eb64a468bd2e7916 (patch)
tree4e40456bac66ffb19c4beb6fb3f7e568d3ced3f2 /arch/arm/boot/dts/exynos5420-arndale-octa.dts
parentd1ed0d21695f632f8ec7bf8588abcf6a8da2b105 (diff)
downloadlinux-1fed2252713eee81f30c7b09eb64a468bd2e7916.tar.bz2
ARM: dts: fix pinctrl for s2mps11-irq on exynos5420-arndale-octa
On Arndale Octa the S2MPS11 RTC alarm interrupt was not handled at all because of wrong configuration of interrupt and gpx3-2. 1. Interrupt is signaled by falling edge. 2. This GPIO line is hard-wired on the board to PVDD_APIO_1V8 through a resistor so pull-up/down must be disabled. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-arndale-octa.dts')
-rw-r--r--arch/arm/boot/dts/exynos5420-arndale-octa.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index b82b6fa15f48..4efcf7c8f609 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -90,7 +90,9 @@
s2mps11,buck4-ramp-enable = <1>;
interrupt-parent = <&gpx3>;
- interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&s2mps11_irq>;
s2mps11_osc: clocks {
#clock-cells = <1>;
@@ -376,3 +378,12 @@
&cci {
status = "disabled";
};
+
+&pinctrl_0 {
+ s2mps11_irq: s2mps11-irq {
+ samsung,pins = "gpx3-2";
+ samsung,pin-function = <0xf>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+};