Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 492413dd authored by Simon Shields's avatar Simon Shields Committed by Krzysztof Kozlowski
Browse files

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: default avatarSimon Shields <simon@lineageos.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 43efe4fa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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>;