Skip to content

Conversation

@zacck
Copy link
Contributor

@zacck zacck commented Jul 25, 2025

Introduce I2C to SPI bridge driver support for the SC18IS6906 bridge from NXP.

This adds an SPIO controller available on the bridge from NXP. Ideally this enables one to add an SPI Bus master through i2c

@zacck
Copy link
Contributor Author

zacck commented Jul 25, 2025

@josuah @Pancakem can I ask for your eyes please as I set up my emulator does this make sense?

@pdgendt
Copy link
Contributor

pdgendt commented Jul 25, 2025

Squash your commits so there's only two:

  • Introduce the new driver
  • Add testcase

@zacck zacck force-pushed the pr-sc18is606-bridge branch from 2188e56 to 81d2b2b Compare August 1, 2025 07:20
@zacck zacck force-pushed the pr-sc18is606-bridge branch from 60168f8 to a5e687e Compare August 11, 2025 12:04
@zacck zacck force-pushed the pr-sc18is606-bridge branch 2 times, most recently from 55a4762 to 3216479 Compare August 15, 2025 09:51
@zacck zacck marked this pull request as ready for review August 15, 2025 09:51
@zacck
Copy link
Contributor Author

zacck commented Aug 15, 2025

@pdgendt I tried to work through all the stuff I think this is ready for merge, unless I missed something

Copy link
Contributor

@josuah josuah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is another review round, I will pursue further but this hopefully allow you to move forward.

Thank you for the changes and the patience!

@zacck zacck force-pushed the pr-sc18is606-bridge branch from 44e48b6 to 937df4a Compare August 15, 2025 11:08
Copy link
Member

@seov-nordic seov-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few (mostly minor) suggestions. But the return code comment requires attention

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@zacck zacck force-pushed the pr-sc18is606-bridge branch 2 times, most recently from 2b049d7 to 1248551 Compare September 15, 2025 06:36
@zacck
Copy link
Contributor Author

zacck commented Sep 15, 2025

@kartben I removed the PM work as I was unsure of some bits, I think this them passes the rest of the stuff. Please re run Copilot if you wish.

@zacck zacck force-pushed the pr-sc18is606-bridge branch from 1248551 to 500a06a Compare September 15, 2025 06:38
@sonarqubecloud
Copy link

seov-nordic
seov-nordic previously approved these changes Sep 18, 2025
Copy link
Member

@seov-nordic seov-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work! some final bits from me

@zacck
Copy link
Contributor Author

zacck commented Sep 18, 2025

great work! some final bits from me

Oh my I can’t believe, will do the clarity bits

@zacck
Copy link
Contributor Author

zacck commented Oct 15, 2025

@tbursztyka @pdgendt If I could have another pass of reviews please

Added the driver implementation and Kconfig choices

Signed-off-by: Zacck Osiemo <[email protected]>
@zacck
Copy link
Contributor Author

zacck commented Oct 16, 2025

@pdgendt @seov-nordic Here are the recommendations put in if I may ask for another round of reviews please.

@zacck zacck force-pushed the pr-sc18is606-bridge branch from a7149cc to 3d3b0c6 Compare October 17, 2025 03:38
@zacck
Copy link
Contributor Author

zacck commented Oct 17, 2025

@pdgendt I broke the tests, fixed now could I please ask for another pass please cc @tbursztyka @seov-nordic Thank you all so much for the patience.

Apply correct device tree overlay is applied for SC18IS606

Signed-off-by: Zacck Osiemo <[email protected]>
@zacck zacck force-pushed the pr-sc18is606-bridge branch from 3d3b0c6 to 28c9990 Compare October 17, 2025 04:15
@sonarqubecloud
Copy link

Copy link
Contributor

@pdgendt pdgendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple nits

return ret;
}

if (cfg->reset_gpios.port) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (cfg->reset_gpios.port) {
if (cfg->reset_gpios.port != NULL) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do in the GPIO PR

}
}

if (cfg->int_gpios.port) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (cfg->int_gpios.port) {
if (cfg->int_gpios.port != NULL) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do in the GPIO PR

@cfriedt cfriedt merged commit 9a48b1a into zephyrproject-rtos:main Oct 22, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Devicetree Bindings area: MFD area: SPI SPI bus area: Tests Issues related to a particular existing or missing test platform: NXP Drivers NXP Semiconductors, drivers platform: NXP NXP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants