Add support for RP1's SPI target mode#7132
Open
pelwell wants to merge 645 commits intoraspberrypi:rpi-6.18.yfrom
Open
Add support for RP1's SPI target mode#7132pelwell wants to merge 645 commits intoraspberrypi:rpi-6.18.yfrom
pelwell wants to merge 645 commits intoraspberrypi:rpi-6.18.yfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RP1 has two SPI target (slave) interfaces - SPI4 on GPIOs 8-11 and SPI7 with a number of positions from GPIO45 upwards. Until recently, the Linux driver for the Synopsys SPI block did not support target mode, but a patch has just appeared in the
nextbranch that does just that.This patch set adds the two required patches, rebasing the downstream patches on top of them. Currently there is no
spi4-pi5overlay (the only one we are likely to require), but getting the driver changes in now should shake out any major breakage with the SPI controller instances.