diff mbox series

ARM: dts: exynos: Disable pull control for S5M8767 PMIC

Message ID 20180906154135.1605-1-m.szyprowski@samsung.com
State New
Headers show
Series ARM: dts: exynos: Disable pull control for S5M8767 PMIC | expand

Commit Message

Marek Szyprowski Sept. 6, 2018, 3:41 p.m. UTC
S5M8767 PMIC interrupt line on Exynos5250-based Arndale board has
external pull-up resistors, so disable any pull control for it in
in controller node. This fixes support for S5M8767 interrupts and
enables operation of wakeup from S5M8767 RTC alarm.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.17.1

Comments

Krzysztof Kozlowski Sept. 6, 2018, 4:15 p.m. UTC | #1
On Thu, Sep 06, 2018 at 05:41:35PM +0200, Marek Szyprowski wrote:
> S5M8767 PMIC interrupt line on Exynos5250-based Arndale board has

> external pull-up resistors, so disable any pull control for it in

> in controller node. This fixes support for S5M8767 interrupts and

> enables operation of wakeup from S5M8767 RTC alarm.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/boot/dts/exynos5250-arndale.dts | 9 +++++++++


Thanks, applied.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 7a8a5c55701a..015cf6dd957f 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -168,6 +168,8 @@ 
 		reg = <0x66>;
 		interrupt-parent = <&gpx3>;
 		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&s5m8767_irq>;
 
 		vinb1-supply = <&main_dc_reg>;
 		vinb2-supply = <&main_dc_reg>;
@@ -535,6 +537,13 @@ 
 	cap-sd-highspeed;
 };
 
+&pinctrl_0 {
+	s5m8767_irq: s5m8767-irq {
+		samsung,pins = "gpx3-2";
+		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+	};
+};
+
 &rtc {
 	status = "okay";
 };