Skip to content

Draft: [DRIVER] fxl6408: add I2C GPIO expander driver

Alessandro Pecugi requested to merge fxl6408 into seco_5.10.110

Add minimal driver for Fairchild FXL6408 8-bit I2C-controlled GPIO expander using the generic regmap based GPIO driver (GPIO_REGMAP).

The driver implements setting the GPIO direction, reading inputs and writing outputs.

In addition to that the FXL6408 has the following functionalities:

  • allows to monitor input ports for data transitions with an interrupt pin
  • all inputs can be configured with pull-up or pull-down resistors

Code from linux 6.5

Also add it to seco_linux_defconfig (using the output of make savedefconfig)

Merge request reports

Loading