stm32mp157c-dk2 how to add gpio buttons to CN2 connector?
Hello,
I'd like use several gpio buttons to onboard CN2 connector (STM gpios PF0, PF1, PF3, PF4, PF6, PF8). So I've add following string to stm32mp157c-dk2.dts file
buttonkeys {
compatible = "gpio-keys";
left-key {
label="Left key";
gpios=<&gpiof 0 GPIO_ACTIVE_LOW>;
linux,code=<105>;
};
evtest gives me multiple events (press/release) when key not pressed. So what is cause of this and how to correct add gpio processing?
Thanks,
Alex
