diff options
author | Daniel Mack <daniel@zonque.org> | 2019-04-24 20:58:56 +0200 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2019-06-24 11:35:01 +0200 |
commit | 6205661df99d6537f7e7a0e0e57618f25e60db9c (patch) | |
tree | 12f37621610e536c22b42ff56d8e7adfd75d7949 /arch/arm/boot/dts/pxa300-raumfeld-controller.dts | |
parent | 8ab7079676b5126ba36936903eb5295d1a5696c5 (diff) | |
download | lwn-6205661df99d6537f7e7a0e0e57618f25e60db9c.tar.gz lwn-6205661df99d6537f7e7a0e0e57618f25e60db9c.zip |
ARM: pxa: raumfeld-controller: fix 'dock detect' GPIO key
The dock detection input key is active low. Also add a pinmux for it.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/boot/dts/pxa300-raumfeld-controller.dts')
-rw-r--r-- | arch/arm/boot/dts/pxa300-raumfeld-controller.dts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/pxa300-raumfeld-controller.dts b/arch/arm/boot/dts/pxa300-raumfeld-controller.dts index 65d825091f0d..e0e1f99c6b22 100644 --- a/arch/arm/boot/dts/pxa300-raumfeld-controller.dts +++ b/arch/arm/boot/dts/pxa300-raumfeld-controller.dts @@ -109,9 +109,10 @@ }; &keys { + pinctrl-0 = <&gpio_keys_pins &dock_detect_pins>; dock-detect { label = "dock detect"; - gpios = <&gpio 116 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 116 GPIO_ACTIVE_LOW>; linux,code = <KEY_F5>; }; }; @@ -236,6 +237,14 @@ pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT); }; + dock_detect_pins: dock_detect_pins { + pinctrl-single,pins = < + MFP_PIN_PXA300(116) MFP_AF0 /* DOCK_DETECT */ + >; + pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_HIGH); + pinctrl-single,bias-pullup = MPF_PULL_UP; + }; + lcdc_pins: lcdc-pins { pinctrl-single,pins = < MFP_PIN_PXA300(54) MFP_AF1 /* LDD_0 */ |