I just tried that, and the device defers probing (on Pi5 at least)I suspect that part of the solution to enabling the pulls will be adding a gpio-ranges declaration to provide the mapping between GPIO and pinctrl/pinconf spaces. It would look something like this:Code:
mcp23017_20: mcp@20 {...gpio-ranges = <&mcp23017_20 0 0 16>;};
Code:
~ $ cat /sys/kernel/debug/devices_deferred 14-0020mcp230xx: can't add GPIO chip
Statistics: Posted by 6by9 — Fri Dec 20, 2024 6:04 pm