-
Notifications
You must be signed in to change notification settings - Fork 7.6k
dts: xilinx: add cadence spi controllers to zynqmp.dtsi #90960
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
base: main
Are you sure you want to change the base?
dts: xilinx: add cadence spi controllers to zynqmp.dtsi #90960
Conversation
Shouldn't this wait until #88777 was merged, then? |
The driver in its initial state has already been merged. Yes, software making use of this driver won't be functional until #88777 gets merged, but seeing as the driver is already available to the build system I don't particularly see why we this change needs to wait in the meantime. |
Merging the changes in this PR without the fix in #88777 will let users enable the SPI hardware in their board DTS, but it will not be functional - correct? If so, we need to merge them in the right order. |
It will build but not run correctly. Putting this PR in draft state as I don't see a way to add dependencies on other PRs. Will take out of draft when #88777 gets merged. |
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.
LGTM, we are using essentially the same definitions without issues.
b22d043
to
6c71312
Compare
Adds spi controller nodes for Cadence SPI controllers in zynqmp.dtsi. Signed-off-by: Michael Estes <michael.estes@byteserv.io>
6c71312
to
be8f49b
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.
Are there no board, where SPI should now be enabled?
We have this driver on our list to test. And we will do wiring in all of our hard SOCs in QEMU. |
Right now there are only three boards upstream (1 QEMU) that use the ZynqMP RPU. As far as I can tell none have a great use case for this. I have a separate PR open to add support for the Avnet ZUBoard 1CG which does have a SPI pressure sensor, so once this gets merged I can definitely update that PR to enable the SPI bus. |
Adds spi controller nodes for Cadence SPI controllers in zynqmp.dtsi. A driver for the Cadence SPI peripheral on AMD devices was recently merged into Zephyr, this PR adds support for those peripherals on ZynqMP devices. The driver was confirmed to be functional on a ZUBoard 1CG (XCZU1CG) with the fix in PR 88777.