summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "revert(commitlint): disable `signed-off-by` rule" into integrationOlivier Deprez2021-04-301-1/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | revert(commitlint): disable `signed-off-by` ruleChris Kay2021-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `signed-off-by` rule does not correctly detect the `Signed-off-by:` trailer if it's not the last trailer. Therefore, this rule has been disabled until we can resolve this in the commitlint upstream. Change-Id: I50ea29067528f3c1c25beeea5eb25134b25b2af2 Signed-off-by: Chris Kay <chris.kay@arm.com>
* | | | Merge changes from topic "fw-update" into integrationOlivier Deprez2021-04-2910-7/+146
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | * changes: docs: add build options for GPT support enablement feat(plat/arm): add GPT parser support
| * | | docs: add build options for GPT support enablementManish V Badarkhe2021-04-292-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Documented the build options used in Arm GPT parser enablement. Change-Id: I9d7ef2f44b8f9d2731dd17c2639e5ed0eb6d0b3a Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
| * | | feat(plat/arm): add GPT parser supportManish V Badarkhe2021-04-298-8/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added GPT parser support in BL2 for Arm platforms to get the entry address and length of the FIP in the GPT image. Also, increased BL2 maximum size for FVP platform to successfully compile ROM-enabled build with this change. Verified this change using a patch: https://review.trustedfirmware.org/c/ci/tf-a-ci-scripts/+/9654 Change-Id: Ie8026db054966653b739a82d9ba106d283f534d0 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
* | | | Merge changes I15e7cc43,Id7411bd5,I92bafe70,I8f1c0658 into integrationManish Pandey2021-04-2918-63/+240
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: stm32mp1: enable PIE for BL32 stm32mp1: set BL sizes regardless of flags Add PIE support for AARCH32 Avoid the use of linker *_SIZE__ macros
| * | | | stm32mp1: enable PIE for BL32Yann Gautier2021-04-214-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to prepare future support of FIP, BL32 (SP_min) is compiled as Position Independent Executable. Change-Id: I15e7cc433fb03e1833002f4fe2eaecb6ed42eb47 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
| * | | | stm32mp1: set BL sizes regardless of flagsYann Gautier2021-04-211-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BL2 size is set to 100kB, and BL32 to 72kB, regardless of OP-TEE or stack protector flags. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Id7411bd55a4140718d64a647d81037720615fc81
| * | | | Add PIE support for AARCH32Yann Gautier2021-04-219-18/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only BL32 (SP_min) is supported at the moment, BL1 and BL2_AT_EL3 are just stubbed with _pie_fixup_size=0. The changes are an adaptation for AARCH32 on what has been done for PIE support on AARCH64. The RELA_SECTION is redefined for AARCH32, as the created section is .rel.dyn and the symbols are .rel*. Change-Id: I92bafe70e6b77735f6f890f32f2b637b98cf01b9 Signed-off-by: Yann Gautier <yann.gautier@st.com>
| * | | | Avoid the use of linker *_SIZE__ macrosYann Gautier2021-04-215-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of end addresses is preferred over the size of sections. This was done for some AARCH64 files for PIE with commit [1], and some extra explanations can be found in its commit message. Align the missing AARCH64 files. For AARCH32 files, this is required to prepare PIE support introduction. [1] f1722b693d36 ("PIE: Use PC relative adrp/adr for symbol reference") Change-Id: I8f1c06580182b10c680310850f72904e58a54d7d Signed-off-by: Yann Gautier <yann.gautier@st.com>
* | | | | Merge "refactor(plat/arm): replace FIP base and size macro with a generic ↵Mark Dykes2021-04-287-14/+14
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | name" into integration
| * | | | refactor(plat/arm): replace FIP base and size macro with a generic nameManish V Badarkhe2021-04-287-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced PLAT_ARM_FIP_BASE and PLAT_ARM_FIP_MAX_SIZE macro with a generic name PLAT_ARM_FLASH_IMAGE_BASE and PLAT_ARM_FLASH_IMAGE_MAX_SIZE so that these macros can be reused in the subsequent GPT based support changes. Change-Id: I88fdbd53e1966578af4f1e8e9d5fef42c27b1173 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
* | | | | Merge "refactor(plat/arm): store UUID as a string, rather than ints" into ↵Mark Dykes2021-04-285-61/+59
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | integration
| * | | | | refactor(plat/arm): store UUID as a string, rather than intsDavid Horstmann2021-04-285-61/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: Breaking change to the way UUIDs are stored in the DT Currently, UUIDs are stored in the device tree as sequences of 4 integers. There is a mismatch in endianness between the way UUIDs are represented in memory and the way they are parsed from the device tree. As a result, we must either store the UUIDs in little-endian format in the DT (which means that they do not match up with their string representations) or perform endianness conversion after parsing them. Currently, TF-A chooses the second option, with unwieldy endianness-conversion taking place after reading a UUID. To fix this problem, and to make it convenient to copy and paste UUIDs from other tools, change to store UUIDs in string format, using a new wrapper function to parse them from the device tree. Change-Id: I38bd63c907be14e412f03ef0aab9dcabfba0eaa0 Signed-off-by: David Horstmann <david.horstmann@arm.com>
* | | | | | Merge "feat(fdt): introduce wrapper function to read DT UUIDs" into integrationMark Dykes2021-04-284-2/+187
|\ \ \ \ \ \ | |/ / / / /
| * | | | | feat(fdt): introduce wrapper function to read DT UUIDsDavid Horstmann2021-04-284-2/+187
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TF-A does not have the capability to read UUIDs in string form from the device tree. This capability is useful for readability, so add a wrapper function, fdtw_read_uuid() to parse UUIDs from the DT. This function should parse a string of the form: "aabbccdd-eeff-4099-8877-665544332211" to the byte sequence in memory: [aa bb cc dd ee ff 40 99 88 77 66 55 44 33 22 11] Change-Id: I99a92fbeb40f4f4713f3458b36cb3863354d2bdf Signed-off-by: David Horstmann <david.horstmann@arm.com>
* | | | | Merge "fix(driver/auth): avoid NV counter upgrade without certificate ↵Mark Dykes2021-04-281-13/+34
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | validation" into integration
| * | | | | fix(driver/auth): avoid NV counter upgrade without certificate validationManish V Badarkhe2021-04-271-13/+34
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Platform NV counter get updated (if cert NV counter > plat NV counter) before authenticating the certificate if the platform specifies NV counter method before signature authentication in its CoT, and this provides an opportunity for a tempered certificate to upgrade the platform NV counter. This is theoretical issue, as in practice none of the standard CoT (TBBR, dualroot) or upstream platforms ones (NXP) exercised this issue. To fix this issue, modified the auth_nvctr method to do only NV counter check, and flags if the NV counter upgrade is needed or not. Then ensured that the platform NV counter gets upgraded with the NV counter value from the certificate only after that certificate gets authenticated. This change is verified manually by modifying the CoT that specifies certificate with: 1. NV counter authentication before signature authentication method 2. NV counter authentication method only Change-Id: I1ad17f1a911fb1035a1a60976cc26b2965b05166 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
* | | | | Merge changes from topic "mp/update_release_timelines" into integrationMadhukar Pappireddy2021-04-281-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: docs: update release information for v2.6 docs: update code freeze & target date for v2.5
| * | | | | docs: update release information for v2.6Madhukar Pappireddy2021-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated tentative code freeze and release target date for v2.6 release. Change-Id: I3dd6cfef1a07f3e0159ec7996d18f6cbcb975da7 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
| * | | | | docs: update code freeze & target date for v2.5Madhukar Pappireddy2021-04-281-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated code freeze and release target date for v2.5 release. Change-Id: I72850eed2aa77d3adecaf71d74e9ecebcc36d5b4 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
* | | | | Merge changes from topic "mit-license" into integrationOlivier Deprez2021-04-288-6/+39
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | * changes: fix(dt-bindings): fix static checks docs(license): rectify `arm-gic.h` license
| * | | | fix(dt-bindings): fix static checksAlexei Fedorov2021-04-276-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes static checks errors reported for missing copyright in `include/dt-bindings/interrupt-controller/arm-gic.h` and the include order of header files in `.dts` and `.dtsi` files. Change-Id: I2baaf2719fd2c84cbcc08a8f0c4440a17a9f24f6 Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Signed-off-by: Chris Kay <chris.kay@arm.com>
| * | | | docs(license): rectify `arm-gic.h` licenseChris Kay2021-04-263-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `arm-gic.h` file distributed by the Linux kernel is disjunctively dual-licensed under the GPL-2.0 or MIT licenses, but the BSD-3-Clause license has been applied in violation of the requirements of both licenses. This change ensures the file is correctly licensed under the terms of the MIT license, and that we comply with it by distributing a copy of the license text. Change-Id: Ie90066753a5eb8c0e2fc95ba43e3f5bcbe2fa459 Signed-off-by: Chris Kay <chris.kay@arm.com>
* | | | | Merge changes I2c9aecc9,Ie6a019f4,Ief6f0a63,Iec9c80f2 into integrationManish Pandey2021-04-284-0/+399
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: fdts: stm32mp1: add support for the Seeed Odyssey SoM and board fdts: stm32mp1: add alternative SDMMC2 pins to the pinctrl fdts: stm32mp1: add I2C2 pins in the pinctrl fdts: stm32mp1: add the I2C2 peripheral in the SoC DTS
| * | | | | fdts: stm32mp1: add support for the Seeed Odyssey SoM and boardGrzegorz Szymaszek2021-04-212-0/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seeed Studio’s SoM‐STM32MP157C is a System‐on‐Module that integrates the STM32MP157C MPU (the 650 MHz dual‐core variant with a GPU and a cryptographic processor) the STPMIC1A PMIC, 512 MB of DDR3 RAM and a 4 GB eMMC. There are two LEDs as well, one hardwired to the PMIC’s VDD output, and the other available at the MPU’s port PG3. The SoM can be plugged into a carrier board using its three 70‑pin connectors. Seeed Odyssey‐STM32MP157C is the reference carrier board for the SoM in a Raspberry Pi‐like form factor. It features a WiFi/Bluetooth chip, a microSD card port and various I/O interfaces. The device tree is based on the DKx boards. TF‑A was successfully tested on the board with Buildroot 2021.02 and U-Boot 2021.04. Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Change-Id: I2c9aecc925561e8d338dddbb192d3bb23a533914
| * | | | | fdts: stm32mp1: add alternative SDMMC2 pins to the pinctrlGrzegorz Szymaszek2021-04-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new pins—PA8, PA9, PE5, and PC7—are described in a new pinctrl node named “sdmmc2-d47-3”, AKA phandle “sdmmc2_d47_pins_d”. These names are identical to their Linux kernel counterparts (commit 7af08140979a6e7e12b78c93b8625c8d25b084e2). Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Change-Id: Ie6a019f4361790f6b5d4910ce1e7b507a6c6a21a
| * | | | | fdts: stm32mp1: add I2C2 pins in the pinctrlGrzegorz Szymaszek2021-04-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some STM32MP1‐based boards, like Seeed Studio’s SoM‐STM32MP157C, have the SoC connected to the PMIC via I2C2 instead of I2C4 (which is used on the official ST development boards). This commit brings TF‑A one step closer to boot on such boards. The pins used, PH4 and PH5, are described in a new pinctrl node named “i2c2-0”, AKA phandle “i2c2_pins_a”. These names are identical to their Linux kernel counterparts (commit 7af08140979a6e7e12b78c93b8625c8d25b084e2). Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Change-Id: Ief6f0a632cfa992dcf3fed95d266ad6a07a96fe0
| * | | | | fdts: stm32mp1: add the I2C2 peripheral in the SoC DTSGrzegorz Szymaszek2021-04-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some STM32MP1‐based boards, like Seeed Studio’s SoM‐STM32MP157C, have the SoC connected to the PMIC via I2C2 instead of I2C4 (which is used on the official ST development boards). This commit brings TF‑A one step closer to boot on such boards. Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Change-Id: Iec9c80f29ce95496e8f1b079b7a23f1914b74901
* | | | | | Merge "plat: marvell: armada: a3k: Add new compile option ↵Manish Pandey2021-04-274-4/+17
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | A3720_DB_PM_WAKEUP_SRC" into integration
| * | | | | plat: marvell: armada: a3k: Add new compile option A3720_DB_PM_WAKEUP_SRCPali Rohár2021-04-274-4/+17
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new compile option is only for Armada 3720 Development Board. When it is set to 1 then TF-A will setup PM wake up src configuration. By default this new option is disabled as it is board specific and no other A37xx board has PM wake up src configuration. Currently neither upstream U-Boot nor upstream Linux kernel has wakeup support for A37xx platforms, so having it disabled does not cause any issue. Prior this commit PM wake up src configuration specific for Armada 3720 Development Board was enabled for every A37xx board. After this change it is enabled only when compiling with build flag A3720_DB_PM_WAKEUP_SRC=1 Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: I09fea1172c532df639acb3bb009cfde32d3c5766
* | | | | Merge changes from topic "rd_plat_variants" into integrationManish Pandey2021-04-2712-1/+66
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: feat(board/rdn2): add support for variant 1 of rd-n2 platform feat(plat/sgi): introduce platform variant build option
| * | | | | feat(board/rdn2): add support for variant 1 of rd-n2 platformAditya Angadi2021-04-275-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add board support for RD-N2 Cfg1 variant of RD-N2 platform. It is a variant of RD-N2 platform with a reduced interconnect mesh size (3x3) and core count (8-cores). Its platform variant id is 1. Change-Id: I34ad35c5a5c1e9b69a658fb92ed00e5bc5fe72f3 Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
| * | | | | feat(plat/sgi): introduce platform variant build optionAditya Angadi2021-04-278-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A Neoverse reference design platform can have two or more variants that differ in core count, cluster count or other peripherals. To allow reuse of platform code across all the variants of a platform, introduce build option CSS_SGI_PLATFORM_VARIANT for Arm Neoverse reference design platforms. The range of allowed values for the build option is platform specific. The recommended range is an interval of non negative integers. An example usage of the build option is make PLAT=rdn2 CSS_SGI_PLATFORM_VARIANT=1 Change-Id: Iaae79c0b4d0dc700521bf6e9b4979339eafe0359 Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
* | | | | | Merge changes I36e45c0a,I69c21293 into integrationManish Pandey2021-04-274-1/+108
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: plat/qemu: add "max" cpu support Add support for QEMU "max" CPU
| * | | | | plat/qemu: add "max" cpu supportLeif Lindholm2021-04-132-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to qemu "max" cpu for both "qemu" ('virt') and "qemu_sbsa" ('sbsa-ref') platforms. Change-Id: I36e45c0a3c4e30ba546d2a3cb44dfef11a680305 Signed-off-by: Leif Lindholm <leif@nuviainc.com>
| * | | | | Add support for QEMU "max" CPULeif Lindholm2021-04-132-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable basic support for QEMU "max" CPU. The "max" CPU does not attampt to emulate any specific CPU, but rather just enables all the functions emulated by QEMU. Change-Id: I69c212932ef61433509662d0fefbabb1e9e71cf2 Signed-off-by: Leif Lindholm <leif@nuviainc.com>
* | | | | | Merge changes from topic "sgm775_deprecation" into integrationManish Pandey2021-04-263-0/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: build: deprecate Arm sgm775 FVP platform docs: introduce process for platform deprecation
| * | | | | | build: deprecate Arm sgm775 FVP platformManish Pandey2021-04-232-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sgm775 is an old platform and is no longer maintained by Arm and its fast model FVP_CSS_SGM-775 is no longer available for download. This platform is now superseded by Total Compute(tc) platforms. This platform is now deprecated but the source will be kept for cooling off period of 2 release cycle before removing it completely. Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I8fe1fc3da0c508dba62ed4fc60cbc1642e0f7f2a
| * | | | | | docs: introduce process for platform deprecationManish Pandey2021-04-232-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: Ifb8a3220f2fc2286fa91614887d17f54178ed002
* | | | | | | Merge "plat/arm: move compile time switch from source to dt file" into ↵Manish Pandey2021-04-262-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | integration
| * | | | | | | plat/arm: move compile time switch from source to dt fileManish Pandey2021-04-262-3/+3
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help in keeping source file generic and conditional compilation can be contained in platform provided dt files. Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I3c6e0a429073f0afb412b9ba521ce43f880b57fe
* | | | | | | Merge changes I20c73f6e,I9962263c,I177796e3,I6ff6875c,I21fe9d85, ... into ↵Manish Pandey2021-04-2649-433/+3184
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integration * changes: mediatek: mt8195: add rtc power off sequence mediatek: mt8195: add power-off support mediatek: mt8195: Add reboot function for PSCI mediatek: mt8195: Add gpio driver mediatek: mt8195: Add SiP service mediatek: mt8195: Add CPU hotplug and MCDI support mediatek: mt8195: Add MCDI drivers mediatek: mt8195: Add SPMC driver mediatek: mt8195: Initialize delay_timer mediatek: mt8195: initialize systimer mediatek: mt8192: move timer driver to common folder mediatek: mt8195: add sys_cirq support mediatek: mt8195: initialize GIC Initialize platform for MediaTek MT8195
| * | | | | | mediatek: mt8195: add rtc power off sequenceYidi Lin2021-04-237-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mt8195 also uses mt6359p RTC. Revice mt8192 RTC and share the driver with mt8195. Change-Id: I20c73f6e0af67ef9d4c3d4e0ff373f93950e07db Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
| * | | | | | mediatek: mt8195: add power-off supportYidi Lin2021-04-236-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mt8195 also uses PMIC mt6359p. The only difference is the pwrap register definition. Change-Id: I9962263c46187d1344f14f857bf4b51e33aedda0 Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
| * | | | | | mediatek: mt8195: Add reboot function for PSCIYidi Lin2021-04-231-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add system_reset function in PSCI ops Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: I177796e30198b0a53402093ee0917dda43074385
| * | | | | | mediatek: mt8195: Add gpio drivermtk208952021-04-2311-409/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add gpio driver. Signed-off-by: mtk20895 <zhiqiang.ma@mediatek.com> Change-Id: I6ff6875c35294f56f2d8298d75cd18c230aad211
| * | | | | | mediatek: mt8195: Add SiP serviceYidi Lin2021-04-233-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the basic SiP service Change-Id: I21fe9d85eac4be9101b12c4b6c28294c5b93cb5f Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
| * | | | | | mediatek: mt8195: Add CPU hotplug and MCDI supportJames Liao2021-04-234-45/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement PSCI platform OPs to support CPU hotplug and MCDI. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Change-Id: I1321f7989c8a3d116d698768a7146e8f180ee9c0
| * | | | | | mediatek: mt8195: Add MCDI driversJames Liao2021-04-239-0/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MCDI related drivers to handle CPU powered on/off in CPU suspend. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Change-Id: I6a6f9bf5d1d8bda1ee603d8bf3fc206437de7ad8