# moxa-gpio-pca953x-driver

## PCA953x 16-bit I/O expander
the PCA953x 16-bit I/O expander driver is based on
https://github.com/torvalds/linux/blob/v6.1/drivers/gpio/gpio-pca953x.c

### Compile & install the driver

#### Install build-essential packages
```
sudo apt-get install build-essential linux-headers-`uname -r`
```

#### Compile the driver
```
make
```

#### Compile and install the driver
```
make install
```

#### Load the watchdog driver
```
modprobe gpio-pca953x
```
