Skip to content

Conversation

CkovMk
Copy link
Contributor

@CkovMk CkovMk commented Sep 19, 2025

depends on #93242

add support for pca9538, pcal9539.

Add support for pcal6408 and pcal6416, which is originally supported
by pcal64xxa driver. These device has the same register layout as
pcal9538 and pcal9539 respectively, which means they can be seamlessly
supported by pca_series driver.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
The reset function is originally designed to have no return value. If
the GPIO toggle fails, there's no indication for failure until I2C
transaction fails. Account for this by adding return value to the reset
function.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
Enables pca_series driver to set drive strength for part no with
PCA_HAS_LATCH capability.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
On certain platforms I2C is not enabled by default, causing build error.
Change pca_series driver to select I2C.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
pca6416a driver can be replaced by pca_series driver, which covers a
larger number of devices.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
@CkovMk
Copy link
Contributor Author

CkovMk commented Sep 19, 2025

Preserving pca_series commits for CI check. Once CI passes I will drop commits from the other PR and make it clean for review.

@CkovMk CkovMk force-pushed the pr/enable-pca6408-on-frdm-imx93 branch from cb4c4cf to db17edc Compare September 19, 2025 08:23
Enable  pcal6408 gpio expander on FRDM-IMX93 board. This expander has
its reset pin controlled by another expander, and both expanders is
driven by the same pca_series driver. To guarentee correct init order,
pcal6408 is set to deferred init in a board init function.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
@CkovMk CkovMk force-pushed the pr/enable-pca6408-on-frdm-imx93 branch from db17edc to 738648a Compare September 19, 2025 08:39
@CkovMk CkovMk closed this Sep 19, 2025
@CkovMk CkovMk reopened this Sep 19, 2025
@CkovMk
Copy link
Contributor Author

CkovMk commented Sep 19, 2025

re-trigger ci

Copy link

@CkovMk
Copy link
Contributor Author

CkovMk commented Sep 19, 2025

CI failure caused by regression: #96158, not the scope of this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants