-
Notifications
You must be signed in to change notification settings - Fork 8.1k
drivers: spi: Add NXP SC18IS606 I2C to SPI bridge #93706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: spi: Add NXP SC18IS606 I2C to SPI bridge #93706
Conversation
|
Squash your commits so there's only two:
|
2188e56 to
81d2b2b
Compare
60168f8 to
a5e687e
Compare
55a4762 to
3216479
Compare
|
@pdgendt I tried to work through all the stuff I think this is ready for merge, unless I missed something |
3216479 to
44e48b6
Compare
There was a problem hiding this 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!
44e48b6 to
937df4a
Compare
There was a problem hiding this 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
There was a problem hiding this 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.
2b049d7 to
1248551
Compare
|
@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. |
1248551 to
500a06a
Compare
|
There was a problem hiding this 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
Oh my I can’t believe, will do the clarity bits |
|
@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]>
500a06a to
a7149cc
Compare
|
@pdgendt @seov-nordic Here are the recommendations put in if I may ask for another round of reviews please. |
a7149cc to
3d3b0c6
Compare
|
@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]>
3d3b0c6 to
28c9990
Compare
|
There was a problem hiding this 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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (cfg->reset_gpios.port) { | |
| if (cfg->reset_gpios.port != NULL) { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (cfg->int_gpios.port) { | |
| if (cfg->int_gpios.port != NULL) { |
There was a problem hiding this comment.
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



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