MLK-20023 Move Busfreq support to OPTEE OS
authorCedric Neveux <cedric.neveux@nxp.com>
Thu, 18 Oct 2018 11:48:16 +0000 (13:48 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit9b56d153668ba0ee0db5a43098d5f56c2b6ea12e
tree2bdeaf0cc5d0aa427bde46063ed8feb1fe1b1a93
parent6183dc0d80c929523232d3bbf4e9d0dfb759092f
MLK-20023 Move Busfreq support to OPTEE OS

  - When OPTEE OS is present and if it support the busfreq
    for the running the i.MX, the busfreq is executed in
    the OPTEE OS by calling a specific SMC function
  - Only a WFE function is copied into the OCRAM to
    synchronize all Cores in multi-core devices
  - OPTEE OS add a DT property 'busfreq=1' in the 'firmware/optee'
    node to indicate the busfreq support

Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/busfreq-imx.c
arch/arm/mach-imx/busfreq_optee.c [new file with mode: 0644]
arch/arm/mach-imx/smc_sip.h [new file with mode: 0644]
arch/arm/mach-imx/smp_wfe_imx6.S