May I ask you that you have sorted out how to write the overlay with pullups enabled?
Code:
fragment@20 {target = <&mcp23017_20>;mcp23017_20_irq: __overlay__ {interrupt-controller;interrupt-parent = <&gpio>;interrupts = <18 2>;interrupt-names = "mcp23017@20 irq";#interrupt-cells=<2>;microchip,irq-mirror;pinctrl-names = "default";pinctrl-0 = <&mcp23017_20_pins>, <&gpio20pullups>;gpio20pullups: pinmux {pins = "gpio11", "gpio12", "gpio13", "gpio14", "gpio15";bias-pull-up;};};};
I've tested this with a gpio-mouse driver (that's just buttons connected to the MCP23017 for mimicking a mouse - viewtopic.php?t=381494 - and as evtest gives results I assume that works (as there is no external pull-up connected)
Statistics: Posted by aBUGSworstnightmare — Tue Dec 24, 2024 5:28 pm