-
Notifications
You must be signed in to change notification settings - Fork 3
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
rpi5: add pinctrl and scmi pinctrl Pin control protocol support #15
Conversation
f567b45
to
923e777
Compare
Ready for review. |
|
||
uint16_t pinctrl_get_groups_count() | ||
{ | ||
return 0; |
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 think here and below should be -ENOTSUP
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.
No get _count should return 0 as safe value.
923e777
to
8a00a45
Compare
15257e0
to
dd1ee9a
Compare
This defines the generic interface, and ops, which should provide the platform specific implementation of pin control subsystem. This driver was designed to be used from agents via SCP, as well as from the other drivers, which requires pins configuration. Signed-off-by: Oleksii Moisieiev <[email protected]> Signed-off-by: Grygorii Strashko <[email protected]>
Add RPI5 BCM2712 pinctrl driver. Signed-off-by: Grygorii Strashko <[email protected]>
Add ARM SCMI Pin control protocol implementation according to the SCMI spec v3.2. Limitation: - PINCTRL_SETTINGS_GET supports only one Config per request. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Oleksii Moisieiev <[email protected]>
Enable ARM SCMI Pin control protocol for RPI5. Signed-off-by: Grygorii Strashko <[email protected]>
dd1ee9a
to
a43cf84
Compare
Optimized generic pinctrl interface |
LGTM |
Closed as all work is now done in PR #18 |
Based on the PR #14
tested with https://github.com/GrygiriiS/linux/commits/gs_scmi_pinctrl_am_1/
Not tested under XEN as it depends on:
ARM TF #16
XEN xen-troops/xen#209