-
Notifications
You must be signed in to change notification settings - Fork 8.2k
[TOPIC-GPIO] Add LiteX GPIO driver #18038
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
Conversation
|
All checks are passing now. Review history of this comment for details about previous failed status. |
6339ac0 to
a4fa26d
Compare
galak
left a comment
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.
Minor change to DTS binding.
a4fa26d to
0dee24a
Compare
|
You'll need the fix in: Also, instead of |
Re-based and fixed up the yaml to be |
Thanks. |
32b2b1c to
421abbf
Compare
|
I fixed the base addresses of gpio ports in the DTS. |
421abbf to
36d411c
Compare
|
@galak Is there anything else I should do to have this PR merged? |
05e2fce to
758db80
Compare
|
@galak The code is rebased on top of the 2.0.0 release and all requested changes are applied. Can we merge it? |
758db80 to
48e14d8
Compare
|
Rebased to resolve conflicts after merging #18649. |
|
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
48e14d8 to
d26ff17
Compare
|
@galak Is there something blocking this PR from being merged? |
|
@mnkp You are right - I had pushed a wrong branch. Sorry for the confussion. It's fixed now - the current version is using the new GPIO API and the PR is now targetting |
mnkp
left a comment
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.
It seems like this PR is missing updates of the soc .dts file.
|
@mnkp you mention lack of changes to the soc dts. I believe the relevant changes are in riscv32-litex-vexriscv.dtsi. Am I missing something? |
Yes, they are. Sorry, I somehow overlooked the file. |
0a0a998 to
fccde29
Compare
|
@mnkp the requested changes are implemented, tested and pushed. |
|
Can you rebase this on |
ea64d74 to
c0350aa
Compare
|
@galak It's rebased |
|
@galak can you take another look? |
pabigot
left a comment
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.
I don't have this board and haven't inspected this closely, and a quick search didn't locate any documentation (was curious about only having 4 GPIO signals supported).
Assuming it passes both tests the only thing that I'd recommend doing is below. I won't insist on it since the issue's likely to be fixed before the topic branch merges.
c0350aa to
a58f4ba
Compare
galak
left a comment
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.
minor dts binding update needed.
a58f4ba to
e9d1cce
Compare
This commits adds GPIO driver for LiteX SoC builder. Due to the fact that GPIO in LiteX is unidirectional and can be configured with different pins amount per port, additional entries were added to the dts file. Signed-off-by: Robert Winkler <[email protected]> Signed-off-by: Mateusz Holenko <[email protected]> Signed-off-by: Piotr Zierhoffer <[email protected]>
Enable LiteX GPIO driver in litex_vexriscv board. Signed-off-by: Robert Winkler <[email protected]> Signed-off-by: Mateusz Holenko <[email protected]> Signed-off-by: Piotr Zierhoffer <[email protected]>
e9d1cce to
da934e3
Compare
This adds LiteX GPIO driver and enables it in litex_vexriscv board.