plat/arm: Add MHUv2 support to SCMI driver
authorSamarth Parikh <samarth.parikh@arm.com>
Thu, 23 Nov 2017 08:53:21 +0000 (14:23 +0530)
committerSamarth Parikh <samarth.parikh@arm.com>
Mon, 16 Apr 2018 15:22:14 +0000 (20:52 +0530)
commita427785c8316a2e0400e9be3ab765db36f65f25f
treef6620967980446aa61e6fb1b87effe5796de77db
parent02956560a281eec4e9b49451f1b47369304a84b4
plat/arm: Add MHUv2 support to SCMI driver

Currently the SCMI driver supports MHUv1, but Arm platforms may have
varied versions of MHU driver, with MHUv2 controllers being in the
latest Arm platforms.

This patch updates the SCMI driver to support MHUv2, specifically that
the sender must send the wake-up to the receiver before initiating any
data transfer.

Also, the existing mhu driver files, css_mhu.c and css_mhu.h, have been
moved from the scpi directory to a new directory, css/drivers/mhu.

Change-Id: I9b46b492a3e1d9e26db12d83a9773958a8c8402f
Signed-off-by: Samarth Parikh <samarth.parikh@arm.com>
14 files changed:
plat/arm/css/common/css_common.mk
plat/arm/css/common/sp_min/css_sp_min.mk
plat/arm/css/drivers/mhu/css_mhu.c [new file with mode: 0644]
plat/arm/css/drivers/mhu/css_mhu.h [new file with mode: 0644]
plat/arm/css/drivers/mhu/css_mhu_doorbell.c [new file with mode: 0644]
plat/arm/css/drivers/mhu/css_mhu_doorbell.h [new file with mode: 0644]
plat/arm/css/drivers/scmi/scmi.h
plat/arm/css/drivers/scmi/scmi_common.c
plat/arm/css/drivers/scmi/scmi_private.h
plat/arm/css/drivers/scp/css_bom_bootloader.c
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/drivers/scpi/css_mhu.c [deleted file]
plat/arm/css/drivers/scpi/css_mhu.h [deleted file]
plat/arm/css/drivers/scpi/css_scpi.c