I have an x86 computer with a TCA6408A i2c expander, specifically a PCSF51 board. I can use i2c with the expander to set the GPIO pins on the computer to high or low. I saw that there is a Linux driver (gpio-pca953x.c) which can expose a GPIO device for this expander (so as to not have to interface with i2c directly). How can I instantiate this driver such that a GPIO device is visible in /dev?
I found this documentation, and other similar questions on stack overflow, but my computer is x86 so it does not have a device tree. This question asks for a similar thing, but the user uses device tree. This question also asks the same, but there is no mention of how to load and set up the driver, and my board does not have the Raspberry Pi's /boot/config.txt.