Commit 6205661d authored by Daniel Mack's avatar Daniel Mack Committed by Robert Jarzmik

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: default avatarDaniel Mack <daniel@zonque.org>
Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent 8ab70796
......@@ -109,9 +109,10 @@ &pwm0 {
};
&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 @@ MFP_PIN_PXA300(105) MFP_AF0 /* PWM */
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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment