This is an input-only gpio driver for use with 74x165
style parallel-input shift registers, (using SPI peripheral)
The user can choose to either use cs-gpios of spi or
load-gpios for connecting to the SH/LD pin of the shift
register. The difference is that cs-gpios will keep
the input latch enabled while idle, and load-gpios will
instead pulse the SH/LD signal before the register
content is shifted. In both cases the gpio should be
configured GPIO_ACTIVE_HIGH.
Updated existing pre-commit hooks and added some new hooks:
- Remove trailing whitespace
- Ensure every non-empty file ends with a new line
- Check YAML file validity
- Prevent adding large files
- Ensure any scripts with shebangs are executable
Added a GitHub action to run pre-commit on every commit. Removed any
existing actions which duplicate pre-commit.
Ran pre-commit on the codebase.
* Move away from DT_LABEL.
* Move to DEVICE_DT_GET for non-behavior device access.
* Move various drivers to `gpio_spec_dt` and `DT` related macros.
* Remove mcp23017 while at it, since better upstream driver is
available.