Skip to content

Integrate linux-seco-imx/seco_lf-6.6.23-2.0.0_e39-e83-p3-defconfig-gpio-pi4io

Commit: clea-os/bsp/nxp/linux-seco-imx@3e52fc5f

[MX8/MX9][DEFCONFIG]Enable driver for pi4io-gpio expander

--

Commit: clea-os/bsp/nxp/linux-seco-imx@a660a15b

[DRIVER][I2C][GPIO] Adapt to Linux 6.6 GPIO/I2C APIs

Update the driver to build on v6.6:

  • include <linux/gpio/driver.h> and replace deprecated GPIOF_DIR_* with GPIO_LINE_DIRECTION_* throughout
  • adjust helpers and checks to use GPIO_LINE_DIRECTION_* values
  • switch probe to the single-argument (struct i2c_client *) form used in 6.6
  • provide and wire up .of_match_table (rename pi4io_of_table -> pi4io_of_match) and keep the i2c_device_id table for non-DT systems

No functional change intended; this is required for compiling on Linux 6.6.

--

Commit: clea-os/bsp/nxp/linux-seco-imx@837a5681

[DRIVER][I2C][GPIO] PI4IO: Change call to reset-gpio to 'cansleep' variant

On some setups the reset-gpio is driven by a gpio-expander on a slow bus. We are not in a hurry so always use the cansleep variant.

--

Commit: clea-os/bsp/nxp/linux-seco-imx@1a1565bd

[DRIVER][I2C][GPIO] PI4IO: Add support for pull-up and pull-down

The callback to set pull up and pull down was not implemented in the current driver code. With the change gpioget -B pull-down ... makes a difference compared to not set the bias.

--

Commit: clea-os/bsp/nxp/linux-seco-imx@9912f643

[DRIVER][I2C][GPIO] PI4IO: Edited some comments and small clean-up

--

Commit: clea-os/bsp/nxp/linux-seco-imx@d52d0000

[DRIVER][I2C][GPIO] PI4IO: Added IRQ support

BCS 746-001420

--

Commit: clea-os/bsp/nxp/linux-seco-imx@704746cd

[DRIVER][I2C][GPIO] PI4IO: Get input status from PI4IO

The driver didn't support the reading of the input status yet.

BCS 746-001155

--

Commit: clea-os/bsp/nxp/linux-seco-imx@a8e9c7c7

[DRIVER][I2C][GPIO] PI4IO: Added reset gpio to PI4IO

BCS 746-001106

--

Commit: clea-os/bsp/nxp/linux-seco-imx@bcd1a05b

[DRIVER][I2C][GPIO] PI4IO: Added DT support to PI4IO GPIO Expander

BCS 746-001106

--

Commit: clea-os/bsp/nxp/linux-seco-imx@34bcb753

[DRIVER][I2C][GPIO] PI4IO: Added driver for PI4IOE5V6408 GPIO Expander

Ported driver for the PI4IOE5V6408 GPIO I2C Expander from https://coral.googlesource.com/linux-imx/+/refs/heads/master/drivers/gpio/gpio-pi4ioe5v6408.c

BCS 746-001106

Merge request reports

Loading