aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-15arch: add armv8-a supportNicolas Royer
Change-Id: I4ba1332eeea2fd19d2ae60281e0894a1c262ea58 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15arm: Arm toolchain does not support S-Record formatjimqui01
The armclang toolchain does not support S-Records. Change-Id: I9de19e9c857e7437782b959d583ce1fdb8188652
2020-10-15misc: Add maintainer for rcar platformNicolas Royer
This patch adds the maintainers for the rcar platform. Change-Id: I794005a6cd2148fc2431029ca67c53d63e7302c1 Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar system_power module and config dataNicolas Royer
Change-Id: I4267a31991d36fd7b63b13a7cdb16ab28dda1c2d Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar system module and config dataNicolas Royer
Change-Id: I8ec83b7f1c9c58c2937a990e8043a6aa7a0f4588 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar sd_clock module and config dataNicolas Royer
Change-Id: I3c1d31d82a6bdd8ad490ff1f0e609d93ebcd5da0 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar reg_sensor moduleNicolas Royer
Change-Id: I59ba3eb358fcfc9b76e0b7daa7621abfaeec5028 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Chikara Asou <chikara.aso.uj@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar power_domain module and config dataNicolas Royer
Change-Id: I44796fe0ea4c66e90d77c6cd93843914a7978f3b Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar pmic module and config dataNicolas Royer
Change-Id: Id50d856cdc888badf5dd658496d6d69d2ed3c06f Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar pd_sysc module and config dataNicolas Royer
Change-Id: I69b575fbeaeb33fc1b76618d3d516c26e6c9a793 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar pd_core module and config dataNicolas Royer
Change-Id: Iaec89b1b8d61222d836c02bc31313b3fc98a55f6 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar mstp_clock module and config dataNicolas Royer
Change-Id: I979fecb8b71fb7a1f962574d8bc6f439e7bfb68d Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar mock_pmic module and config dataNicolas Royer
Change-Id: I5c9e5c41af22725d70bf57fd84b83138b07d61f7 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar mfismh module and config dataNicolas Royer
Change-Id: Id87daed4990c2af79f608f74438d6062915d74f1 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar dvfs module and config dataNicolas Royer
Change-Id: I6118b0ca36937fb02fb8101a152071f4cbfb74a8 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar clock module and config dataNicolas Royer
Change-Id: I942313cc1e17053597df7c5543758defd768eff4 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15rcar/module: add rcar scif module and config dataNicolas Royer
Change-Id: I1e4b7df885634f599f652e88ea06b42a9a1d7ae1 Signed-off-by: Tsutomu Muroya <tsutomu.muroya.jy@bp.renesas.com> Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-15tools: add rcar platform supportNicolas Royer
Add support for rcar to the various tools scripts. Change-Id: If5f4add3f9120ecda437ef6e2e86b6277446450e Signed-off-by: Nicolas Royer <nroyer@baylibre.com>
2020-10-12Update cppcheck_suppress_list.txttarek-arm
2020-10-12Update cppcheck_suppress_list.txttarek-arm
2020-10-12Update cppcheck_suppress_list.txttarek-arm
2020-10-12Rcar: Disable CPP checking for Rcar platform.Jim Quigley
This patch disables CI cppcheck for the Rcar product. Change-Id: Ic9cbd4b2512bd0eb7bf79a5b3794fc8341307ea7 Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-10-08tc0/pl011: Do not subscribe to power domain notification for pl011Usama Arif
The SYSTOP power domain is already ON in RAM firmware, therefore do not wait for notification. Change-Id: I9b2dc28fa2736169ce9f2dcec2e5986e5a994da5 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-10-07module: power domain: add a missing returnVincent Guittot
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2020-10-07juno/xrp7724: Log out of margin in place of propagating errorNicola Mazzucato
Currently when the voltage measured on the rail after a set voltage operation is out of margin an error is returned. Upon this error, no further action is taken. This causes the framework to log an error, while this is rather a driver expectation. Manual testings have also shown that the threshold is probably too tight as in some circumstances the deviation from the target reaches 30-35 mV. Since no action is taken after the margin comparison, simply log the fact from the driver itself and return FWK_SUCCESS, as the event has been processed correctly. Change-Id: I6db0950a9376bec4b29f1d2d08a31e669f76f9c9 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2020-10-07dvfs: Fix set_rate frequency multiplierNicola Mazzucato
The recent change of frequency unit from Hz to kHz has left one set_rate call with the previous units, resulting in a failed frequency change. Align the remaining set_rate with the correct frequency unit. Change-Id: I850e4433fe9b9f56a3167461afca482e3f1dcf88 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2020-10-07fwk_mm: Restore trap on allocation failureNicola Mazzucato
The recent change to the standard library memory allocator has removed the trapping mechanism that prevented the function to return a NULL pointer. As some callers make the assumption that the pointer returned is always !NULL, this may cause a NULL pointer dereference. Reintroduce the trapping instead of returning a NULL pointer. Furthermore, add a new fwk_mm_alloc_notrap() function to be used specifically by fwk_io_vprintf() which handles the case for a null pointer. Change-Id: I1e2b77a3cd6ea31a9c97c2d4752ad6b63302b43a Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2020-10-07mod_scmi_perf: Fix mispelling of _SCMI_Nicola Mazzucato
Fix some mispelling of SCMI (it is not SMCI). Change-Id: Ib2a6eb5ecfe6592236a583c2dded2aadae4ce4af Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2020-10-07Update mod_scmi_voltage_domain.cjimqui01
Remove unused variables.
2020-10-07module: Voltage Domain driver and related SCMIv3 protocol driverEtienne Carriere
Introduces a basic Voltage Domain driver and a SCMI voltage domain protocol driver. SCMI voltage domain protocol is introduced in SCMI specification v3. Module voltage_domain is a generic HAL for voltage domains, aka power supply regulators drivers. Based on module configuration, the module binds each element to the voltage domain backend driver thru a generic driver interface: - set & get config, using SCMI voltage domain configuration format. - set & get voltage level, in microvolt (uV) Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
2020-10-07fwk: Some checks in event handling should be for DEBUG builds onlyJim Quigley
We can remove some of the data checking in the event handler for release builds, saving a few cycles. Change-Id: Ie77a35de5cacdc9f13fa690e75a9d5d12999d4e8 Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-10-07fwk: Avoid duplicate calls in event frameworkJim Quigley
If we know whether or not the therad is running in an interrupt context we don't need to check this again, saving a few cycles. Change-Id: I91e32ae0ec8c6f5dc5114f760fc764920c70e371 Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-10-06module: dvfs: fix get_opp_for_voltageVincent Guittot
get_opp_for_voltage() should use voltage instead of level where looking for an OPP. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2020-10-02docs: Fix multiple `\retval` commands errorsChris Kay
More recent versions of Doxygen now complain when multiple `\retval` commands are found with the same return value. This commit fixes these issues, replacing them instead with a single `\retval` containing a list of possible reasons the function might return the value. Change-Id: I8d1a09de92ffb0f6c9c662b2c28c999f52dd7d1d Signed-off-by: Chris Kay <chris.kay@arm.com>
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-28tc0: Memory and interrupt map changes for tc0Usama Arif
These are part of architecture changes introduced in tc0. Change-Id: I92a52849db7016569cfcab8b0deea0963a596322 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-28tc0: use UART0 from RoS AP memory mapUsama Arif
The SCP UART is no longer available after platform architecture changes. The #define base addresses are also changed to UINT32_T to support large additions. Change-Id: I71b2d74cb18bd3ef48fdf5f6dae5dbee4844ad46 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-28tc0: Add a second scmi and mhuv2 channelUsama Arif
There are now 2 mhuv2 channels available in tc0, channel 0 and 1. This gives 2 scmi OSPM agents. This is part of architecture changes in tc0. Change-Id: I372183cc4994a5bd0388bf348f7d3670ecbb7c3b Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-28tc0: Change memory configurationUsama Arif
Previously tc0 had a seperate ITC and DTC RAM. Now there is just a single RAM present. This is part of architecture changes to tc0. Change-Id: I4c366eba943135b1cdbdb9e07d785b132ac11d97 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-28tc0: Change processor from Cortex-M7 to Cortex-M3Usama Arif
This is part of architecture changes introduced to platform. Change-Id: I62dbdb6724e512c65d11332edc59f188e31de7a0 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-25tc0: apply clang-format to platformUsama Arif
Any new patches apply clang-format to them. This patch will allow consistency to entire platform. Change-Id: I295b0e00eeb22affb97062a5fa243d0dafdd5654 Signed-off-by: Usama Arif <usama.arif@arm.com>
2020-09-21fwk: Remove all FWK_LOG_TRACE code when LOG_LEVEL=TRACE not setJim Quigley
The logging framework does not remove the FWK_LOG_x code completely when LEVEL_x is not set. This can lead to embedded code or macro's being executed unnecessarily impacting performance. Change-Id: I741b383cb74b2cf27740640769ea8f0fcd08fa2e Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-09-18product/tc0: Add pd_id for pl011 moduleUsama Arif
This is needed due to recently introduced changes in mod_pl011 that perform safety check to see if the device is powered on or off. The pl011 config is split into ROM and RAM firmware as only RAM firmware has power domain. Change-Id: I877b8b3963e5a605acd8af0d771b9b61909fafaf Signed-off-by: Usama Arif <usama.arif@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-15ci: Add morello platformAnurag Koul
Build morello firmware with gcc and armclang compiler for release and debug modes. Change-Id: Idf289c89b6f7e4567537d88111623b295984ff42 Signed-off-by: Anurag Koul <anurag.koul@arm.com>