mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 08:16:12 +07:00
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>
This commit is contained in:
parent
8ab7079676
commit
6205661df9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user