Skip to content

Commit

Permalink
plat: rpi: rpi5: enable scmi Pin control protocol
Browse files Browse the repository at this point in the history
Enable ARM SCMI Pin control protocol for RPI5.

Signed-off-by: Grygorii Strashko <[email protected]>
  • Loading branch information
Grygorii Strashko committed Aug 30, 2024
1 parent 00fdab8 commit a43cf84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions plat/rpi/rpi5/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ BL31_SOURCES += drivers/scmi-msg/base.c \
plat/rpi/rpi5/scmi/scmi.c \
plat/rpi/rpi5/scmi/scmi_reset.c \
plat/rpi/rpi5/rpi5_svc_setup.c

BL31_SOURCES += drivers/scmi-msg/scmi_pinctrl.c \
plat/rpi/rpi5/bcm2712_pinctrl.c
endif

$(eval $(call add_define,RPI3_BL33_IN_AARCH32))
Expand Down
2 changes: 1 addition & 1 deletion plat/rpi/rpi5/rpi5_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void plat_rpi_bl31_custom_setup(void)
/* Enable arch timer */
generic_delay_timer_init();

#ifdef SCMI_SERVER_SUPPORT
#if SCMI_SERVER_SUPPORT
rpi5_init_scmi_server();
#endif
}
1 change: 1 addition & 0 deletions plat/rpi/rpi5/scmi/scmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const char *plat_scmi_sub_vendor_name(void)

static const uint8_t plat_protocol_list[] = {
SCMI_PROTOCOL_ID_RESET_DOMAIN,
SCMI_PROTOCOL_ID_PINCTRL,
0U /* Null termination */
};

Expand Down

0 comments on commit a43cf84

Please sign in to comment.