aboutsummaryrefslogtreecommitdiff
path: root/product/morello
AgeCommit message (Collapse)Author
2020-10-02docs: Fix unbalanced Doxygen groupsChris Kay
This commit fixes a number of places where Doxygen groups commands have been mismatched. Change-Id: If2e18c5e45a9a5d16a5c1f48fdaa975189957400 Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-10-02docs: Replace `\ref` with `::`Chris Kay
The code-base is currently fairly inconsistent with its usage of the `::` prefix and the `\ref`. This commit replaces any instances of `\ref` with `::`. Change-Id: I02c1b6e2caf0f333388f44ac51ede060aa0568c3 Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-10-02docs: Normalize Doxygen paragraph indentationChris Kay
Doxygen continutation line intendation across the code-base is currently inconsistent in spite of the code-style documentation specifying a two-tab indent on continuation lines. Change-Id: I0944d749042972797bde1997f02afd98d4028c1a Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-10-02docs: Prefer `\` to `@` in Doxygen commentsChris Kay
This commit replaces any instances of `@`-style Doxygen commands with their `\`-style equivalents. This is done for consistency across the codebase. The `\sa` Doxygen command has been added to the Clang-Format configuration to prevent it from reflowing see-also comments, which often exceed the column limit due to referring to long URLs. Change-Id: Ia4ebe8bd310293da9e2af55fe253f0762807e88a Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-10-02docs: Ensure Doxygen return values use referencesChris Kay
At present a lot of the code-base uses `\retval` commands to framework status codes but does not explicitly link to them. In some cases it's necessary to explicitly link to these status codes to have Doxygen generate a link to the relevant enumeration, and we can do this by prefixing the name with `::`. This style is already used in much of the code-base, so should not conflict with any existing styles. Change-Id: Ifc78eb425981bee3a01c791757a41a61c20e636c Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-09-15morello: add scmi resource permission module configAnurag Koul
Change-Id: Idd19ca56f5a80cfef7aa4f8bd6b58b4e5f75fdff Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add support for dvfs & scmi perfAnurag Koul
Enable DVFS (frequency scaling only) for AP cores for Morello FVP platform. Change-Id: I3dbad248d4dc96ccf0dba132a7e9e325d9c3b4b2 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: enable cli debug over scp uartAnurag Koul
Enable UART debug and disable log buffering in release mode. Change-Id: I46348685431b3e28b69f616c95a65ba3a01a9206 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/mcp_romfw: enable mcp romfw image buildAnurag Koul
Change-Id: Ife7e94f1e47f19ae4779d8f868c7907af4341f34 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/mcp_romfw: add mcp_romfw config filesAnurag Koul
Change-Id: I0d1c55647c9f3759490a86dfe105d86d55dd8753 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_romfw: enable scp romfw image buildAnurag Koul
Change-Id: I862e118e48ec578589174d4a0dcaa80686324a10 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/module: add morello_rom moduleAnurag Koul
This module performs first level of firmware capsule image parsing - fetches the RAM firmware, copies it to the appropriate memory locations, and passes on the control to it. Change-Id: I8c7828a46ac11f77ec207743bd03bf8e2287b777 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/scp_romfw: add scp_romfw config filesAnurag Koul
Change-Id: I860182e537cd10f8cb08ca781fe13ec13fc19bc0 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/mcp_ramfw_fvp: enable mcp ramfw image buildAnurag Koul
Change-Id: Ia125e31e4118377449a4219b415cbf733b6a5892 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/module: add morello_mcp_system moduleAnurag Koul
Add a new module, "morello_mcp_system", which is the main system module for MCP, and runs after all the other modules have run. Change-Id: I8182d12eeaa765049ea3054f43ea56b053432ddd Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/mcp_ramfw_fvp: add mhu & scmi related configsAnurag Koul
Change-Id: I0366bfb94d4b82ccb1ec1198520c31d8747a310c Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/module: add scmi_agent moduleAnurag Koul
Add a new module, scmi_agent, to be used by MCP for SCMI communication with SCP. Change-Id: I6c63542e640bdba577a8458b4050efcf3f2e89fe Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/module: add scmi_management moduleAnurag Koul
Add a protocol type module for facilitating SCMI communication between MCP and SCP. Signed-off-by: Anurag Koul <anurag.koul@arm.com> Change-Id: Ie62493f90af6b29674b45a74f3e1dbe3e8f0c5ca
2020-09-15morello/module: add morello_smt moduleAnurag Koul
This patch adds a module, morello_smt, based on core smt module but modified to support smt master interface APIs until SCMI agent support is added in the core module. Signed-off-by: Anurag Koul <anurag.koul@arm.com> Change-Id: I861ae553b994d4cd2cdd7e0cc81f65a2fcf47dc4
2020-09-15morello: add morello_mhu moduleAnurag Koul
This patch adds a module, morello_mhu, which is based on core mhu module but is modified to work for Morello platform until SCMI agent support is added. Change-Id: I653f515d513011c10e1131b30ee0ba33fd1ef3ff Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/mcp_ramfw_fvp: add config files for mcp ramfwAnurag Koul
Change-Id: Ib2d83545a4ab1f484b83a384e2483aa526785118 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add pik register definitions for mcpAnurag Koul
Change-Id: I36b84a067abf874bcde95d3383dc0b51c1768ad4 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add memory map headers for mcpAnurag Koul
- Add MCP's peripheral memory map. - Add MCP software mappings of memory shared b/w SCP and MCP. - Add MCP's internal/external system memory map (ROM, SRAM, Flash, etc.). Change-Id: I12a83a6b94d8635b10d078e969b780176e5b4cea Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add interrupt map header for mcpAnurag Koul
Change-Id: Icdbe0c65d1b8c5d065715487020fe951308c0036 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: enable scp ramfw image buildAnurag Koul
Change-Id: I9943ab41335083a930cbab7e7ed9fdcd62cac73f Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/scp_ramfw_fvp: add ssc & system_info configsAnurag Koul
Change-Id: Icaca4d2643f1ae838cb20b99a8032a732a48fcb9 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add config data for fipAnurag Koul
Change-Id: Ie950543b222213cb21a00fcd6ccd26325fd88c8c Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add timer and gtimer configsAnurag Koul
Change-Id: I5018c5d2edc5fe546525668fbd2eba30cbf59107 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add log module related configAnurag Koul
Add log & pl011 config data for log module. Change-Id: I059f937915989927641b63512b90b542de1a9f64 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/scp_ramfw_fvp: add scmi related config dataAnurag Koul
Add config data for SCMI Base, System Power; and SMT modules. Change-Id: I7e9f38f2f1ad897d8d1cdc063585cd77cbd870b1 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add mhu & sds config dataAnurag Koul
Change-Id: Id7c1471470bd5368c645303f9b356114fb5219c6 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add power mgmt config dataAnurag Koul
Define and add configs for system power domains, PPUs, etc. Change-Id: Ibad28c2efc703837f32e0a1e76059aa53ff95320 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add clocks' config dataAnurag Koul
Add config files for all system clocks/PLLs. Change-Id: If116e6101d4488229a7c2a91f4ee845ee43034b3 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add apcontext config dataAnurag Koul
Change-Id: I1b537aa1eca3779faa02a7d0e93527b86cb02c4a Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add mpu configAnurag Koul
- Define SCP RAM firmware target for Morello FVP. - Add config for MPU. Change-Id: I899b06cc6b9fd20379806337e0652c1047846562 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/scp_ramfw_fvp: add cmsis rtx supportAnurag Koul
Change-Id: I03e170883fdc3e79a55bceb7b5c1cb9b31656eb6 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/module: add cmn_skeena module and config dataAnurag Koul
Add new interconnect module, CMN Skeena, for Morello. Change-Id: I0e4d8af58b3cb0ec5c3ee76bd85389c6b75a0903 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/module: add dmc_bing module and config dataAnurag Koul
Add DMC Bing module for Morello DDR memory controller. There generally is no DDR PHY modelled in FVP environments, and as such, ramfw for Morello FVP lacks any config data/file for DDR PHY. Change-Id: I8723505c20b2d75831ade517a276b50b473b4393 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello/module: add morello system moduleAnurag Koul
This patch adds a module, 'morello_system', which is primarily responsible for switching SYSTOP power domain, copying AP firmware (BL31) to DDR, and powering up the primary AP core. Change-Id: Ia0a117239d1f8490037ab58f01aab1d3094ee75e Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello/module: add morello pll moduleAnurag Koul
Morello has its PLL different from the PLLs used in other platforms (which make use of system_pll module). This patch adds a module, 'morello_pll', for handling Morello PLL. Change-Id: Idc1b7aa15d1a819272f4f4afb651eb5e7c092cc0 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add morello core support functionsAnurag Koul
Add Morello core support functions for determining core count, cluster count, multi-chip mode, etc. Change-Id: I9943f566bf07af403d8e03991fc1d7fa51c96853 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add include headers and register definitionsAnurag Koul
Add register definitions for Morello SCC. Add include headers (enumerations, macro definitions, identifiers, etc.) for Morello SDS, SCMI, MHU. Power Domain, System Clock modules. Change-Id: I2441bd6bac0dd355caa1de865ebde9c54d06edd2 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello: add pik register definitions headersAnurag Koul
Add PIK register definition files for: - Power Control Registers - System PIK - Debug Top Power Control Logic - SCP PIK - GPU PIK - DPU PIK Change-Id: I258e5ee2d6f4b924e9378fecec888cbed0532825 Signed-off-by: Anurag Koul <anurag.koul@arm.com> Co-authored-by: Manoj Kumar <manoj.kumar3@arm.com>
2020-09-15morello: add memory map headers for scpAnurag Koul
- Add SCP's peripheral memory map. - Add SCP software defined memory map shared b/w AP and SCP cores. - Add SCP's internal/external system memory map (ROM, SRAM, Flash, etc.). Change-Id: I2875e979bd95c7dc11e5f36e38e4337470f024e3 Signed-off-by: Anurag Koul <anurag.koul@arm.com>
2020-09-15morello: add interrupt map header for scpAnurag Koul
Add SCP IRQ map for Morello platform Change-Id: I2a5d1e2bd28a44484b0ccc8b9ce96bd45a9696e7 Signed-off-by: Anurag Koul <anurag.koul@arm.com>