I designed a board with multiple MCP23S17 on the same chipselect, unfortunately I discovered after that the current dts (https://github.com/raspberrypi/linux/bl ... verlay.dts) can only handle the configuration interrupt configuration if there is only one device.
I took a (quick) look on the driver and it seems to support different configuration for each device on the same bus, but I am not really sure the interrupt handling could manage it correctly. I am not sufficiently aware of the driver architecture and device tree configuration on linux to confirm this without deep investigation.
- Do you know if I can manage this case if I write my own dts
- If I configure manually in my program the interrupt configuration in the MCP23, how can I configure the interrupt handling according to my configuration