diff options
author | Simon Shields <simon@lineageos.org> | 2018-07-21 15:50:50 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-07-23 20:09:45 +0300 |
commit | 492413dd6d19448c40e2ac946b65f8e60dd306e1 (patch) | |
tree | dd680fb602c455d53f11f082a2d5d3b8a18c7b96 /arch/arm/boot/dts/exynos4412-midas.dtsi | |
parent | 43efe4fab743149df2310c3293c8f7f4fb3a53e1 (diff) | |
download | linux-492413dd6d19448c40e2ac946b65f8e60dd306e1.tar.xz |
ARM: dts: exynos: Add pinctrl config for Midas keys
This pins are externally pulled up, and so we should explicitly
configure them to disable the SoC-internal pull-downs. Previously
we relied on the bootloader doing this in order to allow the buttons
to function properly.
Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-midas.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-midas.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index 4a194a35b8a0..635e5ea87a6c 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -94,6 +94,8 @@ gpio-keys { compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&gpio_keys>; key-down { gpios = <&gpx3 3 GPIO_ACTIVE_LOW>; @@ -1009,6 +1011,11 @@ pinctrl-names = "default"; pinctrl-0 = <&sleep1>; + gpio_keys: gpio-keys { + samsung,pins = "gpx0-1", "gpx2-2", "gpx2-7", "gpx3-3"; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + }; + max77693_irq: max77693-irq { samsung,pins = "gpx1-5"; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |