History log of /rk3399_ARM-atf/drivers/st/ (Results 151 – 175 of 305)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2444d23119-Jan-2022 Yann Gautier <yann.gautier@st.com>

refactor(st-clock): use refcnt instead of secure status

Rework the internal functions __stm32mp1_clk_enable/disable to check for
reference count instead of secure status for a clock.
Some functions

refactor(st-clock): use refcnt instead of secure status

Rework the internal functions __stm32mp1_clk_enable/disable to check for
reference count instead of secure status for a clock.
Some functions now unused can be removed.

Change-Id: Ie4359110d7144229f85c961dcd5a019222c3fd25
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...

0b1cfc2927-Jan-2022 Madhukar Pappireddy <madhukar.pappireddy@arm.com>

Merge "fix(st-ddr): add missing debug.h" into integration


/rk3399_ARM-atf/.commitlintrc.js
/rk3399_ARM-atf/.cz.json
/rk3399_ARM-atf/.versionrc.js
/rk3399_ARM-atf/Makefile
/rk3399_ARM-atf/bl1/bl1_main.c
/rk3399_ARM-atf/bl2/bl2_main.c
/rk3399_ARM-atf/changelog.yaml
/rk3399_ARM-atf/common/bl_common.c
/rk3399_ARM-atf/docs/about/maintainers.rst
/rk3399_ARM-atf/docs/change-log.md
/rk3399_ARM-atf/docs/getting_started/build-options.rst
/rk3399_ARM-atf/docs/plat/index.rst
/rk3399_ARM-atf/docs/plat/nxp/nxp-layerscape.rst
/rk3399_ARM-atf/docs/process/commit-style.rst
/rk3399_ARM-atf/drivers/auth/auth_mod.c
/rk3399_ARM-atf/drivers/auth/crypto_mod.c
/rk3399_ARM-atf/drivers/auth/mbedtls/mbedtls_crypto.c
/rk3399_ARM-atf/drivers/nxp/drivers.mk
/rk3399_ARM-atf/drivers/nxp/ifc/nand/ifc.h
/rk3399_ARM-atf/drivers/nxp/ifc/nand/ifc_nand.c
/rk3399_ARM-atf/drivers/nxp/ifc/nand/ifc_nand.mk
/rk3399_ARM-atf/drivers/nxp/ifc/nor/ifc_nor.c
/rk3399_ARM-atf/drivers/nxp/ifc/nor/ifc_nor.mk
/rk3399_ARM-atf/drivers/nxp/tzc/plat_tzc380.c
/rk3399_ARM-atf/drivers/nxp/tzc/tzc.mk
ddr/stm32mp_ddr.c
ddr/stm32mp_ddr_test.c
ddr/stm32mp_ram.c
/rk3399_ARM-atf/fdts/tc.dts
/rk3399_ARM-atf/include/drivers/arm/tzc380.h
/rk3399_ARM-atf/include/drivers/auth/auth_mod.h
/rk3399_ARM-atf/include/drivers/auth/crypto_mod.h
/rk3399_ARM-atf/include/drivers/nxp/csu/csu.h
/rk3399_ARM-atf/include/drivers/nxp/dcfg/dcfg_lsch2.h
/rk3399_ARM-atf/include/drivers/nxp/dcfg/scfg.h
/rk3399_ARM-atf/include/drivers/nxp/ifc/ifc_nand.h
/rk3399_ARM-atf/include/drivers/nxp/ifc/ifc_nor.h
/rk3399_ARM-atf/include/drivers/nxp/tzc/plat_tzc380.h
/rk3399_ARM-atf/package-lock.json
/rk3399_ARM-atf/package.json
/rk3399_ARM-atf/plat/arm/board/fvp/fvp_bl2_measured_boot.c
/rk3399_ARM-atf/plat/arm/board/fvp/fvp_common.c
/rk3399_ARM-atf/plat/arm/board/fvp/include/platform_def.h
/rk3399_ARM-atf/plat/arm/board/fvp/platform.mk
/rk3399_ARM-atf/plat/arm/board/tc/platform.mk
/rk3399_ARM-atf/plat/arm/common/arm_bl1_setup.c
/rk3399_ARM-atf/plat/arm/common/arm_common.mk
/rk3399_ARM-atf/plat/arm/common/arm_dyn_cfg.c
/rk3399_ARM-atf/plat/imx/imx8m/imx8mp/include/platform_def.h
/rk3399_ARM-atf/plat/nxp/common/aarch64/ls_helpers.S
/rk3399_ARM-atf/plat/nxp/common/include/default/ch_2/soc_default_base_addr.h
/rk3399_ARM-atf/plat/nxp/common/include/default/ch_2/soc_default_helper_macros.h
/rk3399_ARM-atf/plat/nxp/common/setup/include/plat_common.h
/rk3399_ARM-atf/plat/nxp/common/setup/ls_bl2_el3_setup.c
/rk3399_ARM-atf/plat/nxp/common/setup/ls_io_storage.c
/rk3399_ARM-atf/plat/nxp/common/soc_errata/errata.c
/rk3399_ARM-atf/plat/nxp/common/soc_errata/errata.h
/rk3399_ARM-atf/plat/nxp/common/soc_errata/errata.mk
/rk3399_ARM-atf/plat/nxp/common/soc_errata/errata_a008850.c
/rk3399_ARM-atf/plat/nxp/common/soc_errata/errata_list.h
/rk3399_ARM-atf/plat/nxp/soc-ls1028a/soc.c
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/aarch64/ls1043a.S
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/aarch64/ls1043a_helpers.S
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/include/ns_access.h
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/include/soc.h
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/ddr_init.c
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/plat_def.h
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/platform.c
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/platform.mk
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/platform_def.h
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/ls1043ardb/policy.h
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/soc.c
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/soc.def
/rk3399_ARM-atf/plat/nxp/soc-ls1043a/soc.mk
/rk3399_ARM-atf/plat/renesas/common/common.mk
/rk3399_ARM-atf/plat/st/stm32mp1/bl2_plat_setup.c
/rk3399_ARM-atf/plat/st/stm32mp1/include/stm32mp1_private.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1.ld.S
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_syscfg.c
/rk3399_ARM-atf/tools/conventional-changelog-tf-a/package.json
15ca2c5e19-Jan-2022 Yann Gautier <yann.gautier@st.com>

fix(st-ddr): add missing debug.h

In a later patch, the stm32mp1_def.h will be reworked. The inclusion
of common/debug.h may not be done there through another included file.
Add this header inclusion

fix(st-ddr): add missing debug.h

In a later patch, the stm32mp1_def.h will be reworked. The inclusion
of common/debug.h may not be done there through another included file.
Add this header inclusion in the files that need it.

Change-Id: I83687f7910032ca38c0856796580a650e1e41a68
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...


/rk3399_ARM-atf/docs/plat/allwinner.rst
/rk3399_ARM-atf/drivers/renesas/common/pwrc/pwrc.c
/rk3399_ARM-atf/drivers/renesas/common/pwrc/pwrc.h
ddr/stm32mp_ddr.c
ddr/stm32mp_ddr_test.c
ddr/stm32mp_ram.c
/rk3399_ARM-atf/drivers/ufs/ufs.c
/rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_a53.h
/rk3399_ARM-atf/lib/cpus/aarch64/rainier.S
/rk3399_ARM-atf/plat/arm/board/morello/platform.mk
/rk3399_ARM-atf/plat/imx/imx8m/imx8mp/include/platform_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/aarch64/platform_common.c
/rk3399_ARM-atf/plat/mediatek/mt8186/bl31_plat_setup.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_lp_irqremain.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_lp_irqremain.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/build.mk
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_bus26m.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_cpu_buck_ldo.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_dram.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_internal.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_syspll.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_cond.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_cond.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_conservation.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_conservation.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_constraint.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_extern.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_extern.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_idle.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_idle.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_pmic_wrap.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_pmic_wrap.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_reg.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_resource_req.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_suspend.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_suspend.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_vcorefs.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_vcorefs.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_notifier.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_sspm_intc.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_sspm_notifier.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/pcm_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/sleep_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/mt_spm_resource_req.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_mtk_lpm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_pm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_uart.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/platform_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/sspm_reg.h
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_sip_calls.c
/rk3399_ARM-atf/plat/mediatek/mt8186/platform.mk
/rk3399_ARM-atf/plat/mediatek/mt8195/platform.mk
/rk3399_ARM-atf/plat/renesas/common/bl31_plat_setup.c
/rk3399_ARM-atf/plat/renesas/common/include/rcar_version.h
/rk3399_ARM-atf/plat/renesas/common/plat_pm.c
/rk3399_ARM-atf/plat/st/common/stm32mp_auth.c
/rk3399_ARM-atf/plat/st/common/stm32mp_common.c
/rk3399_ARM-atf/plat/st/stm32mp1/include/platform_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/platform.mk
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1.ld.S
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_fip_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_private.c
44fb470b07-Sep-2021 Yann Gautier <yann.gautier@foss.st.com>

fix(st-clock): correct types in error messages

Replace wrong %d with the correct types.
This issue was found with the compilation flag:
-Wformat-signedness

Change-Id: Iec3817a245f964ce444b59561b777

fix(st-clock): correct types in error messages

Replace wrong %d with the correct types.
This issue was found with the compilation flag:
-Wformat-signedness

Change-Id: Iec3817a245f964ce444b59561b777ce06c51a60a
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>

show more ...

b208e3da15-May-2020 Gabriel Fernandez <gabriel.fernandez@st.com>

refactor(st-clock): directly use oscillator name

Instead of transmitting an 'enum stm32mp_osc_id', just send
directly the clock name with a 'const char *'

Change-Id: I866b05cbb1685a9b9f80e63dcd5ba7

refactor(st-clock): directly use oscillator name

Instead of transmitting an 'enum stm32mp_osc_id', just send
directly the clock name with a 'const char *'

Change-Id: I866b05cbb1685a9b9f80e63dcd5ba7b1d35fc932
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>

show more ...

31e9750b02-Jul-2019 Lionel Debieve <lionel.debieve@st.com>

feat(st-clock): check HSE configuration in serial boot

In case of programmer mode, the bootrom manages to auto-detect
HSE clock configuration. In order to detect a bad device tree
setting in BL2, it

feat(st-clock): check HSE configuration in serial boot

In case of programmer mode, the bootrom manages to auto-detect
HSE clock configuration. In order to detect a bad device tree
setting in BL2, it will crash during programming if the configuration
is not aligned with the auto-detection.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: I230697695745d6282d14b1ebfa6e4c4caa0cd8e2

show more ...

bcccdacc01-Jul-2019 Patrick Delaunay <patrick.delaunay@st.com>

feat(st-clock): manage disabled oscillator

Support "disabled" status for oscillator in device tree.

At boot time, the clock tree initialization performs the following
tasks:
- enabling of the oscil

feat(st-clock): manage disabled oscillator

Support "disabled" status for oscillator in device tree.

At boot time, the clock tree initialization performs the following
tasks:
- enabling of the oscillators present in the device tree and not
disabled,
- disabling of the HSI oscillator if the node is absent or disabled
(always activated by bootROM).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Change-Id: I176276022334f3d97ba0250b54062f0ae970e239

show more ...

964e5ff113-Nov-2019 Nicolas Le Bayon <nicolas.le.bayon@st.com>

refactor(st-clock): improve DT parsing for PLL nodes

Add a function to get PLL settings from DT:
"cfg" property is mandatory, an error is generated if not found.
"frac" is optional, default value is

refactor(st-clock): improve DT parsing for PLL nodes

Add a function to get PLL settings from DT:
"cfg" property is mandatory, an error is generated if not found.
"frac" is optional, default value is returned if not found.
"csg" is optional too, a boolean value indicates if it has been
found, and its value is updated.

Store each PLL node validity information, this avoids parsing DT
several times.

Change-Id: I039466fbe1e67d160f7112814e7bb63b661804d0
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>

show more ...


/rk3399_ARM-atf/docs/plat/allwinner.rst
/rk3399_ARM-atf/drivers/renesas/common/pwrc/pwrc.c
/rk3399_ARM-atf/drivers/renesas/common/pwrc/pwrc.h
clk/stm32mp1_clk.c
/rk3399_ARM-atf/drivers/ufs/ufs.c
/rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_a53.h
/rk3399_ARM-atf/lib/cpus/aarch64/rainier.S
/rk3399_ARM-atf/plat/arm/board/morello/platform.mk
/rk3399_ARM-atf/plat/mediatek/mt8186/aarch64/platform_common.c
/rk3399_ARM-atf/plat/mediatek/mt8186/bl31_plat_setup.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_lp_irqremain.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_lp_irqremain.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/build.mk
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_bus26m.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_cpu_buck_ldo.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_dram.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_internal.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/mt_spm_rc_syspll.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_cond.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_cond.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_conservation.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_conservation.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_constraint.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_extern.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_extern.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_idle.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_idle.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_pmic_wrap.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_pmic_wrap.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_reg.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_resource_req.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_suspend.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_suspend.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_vcorefs.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/mt_spm_vcorefs.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_notifier.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_sspm_intc.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/notifier/mt_spm_sspm_notifier.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/pcm_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/sleep_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/mt_spm_resource_req.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_mtk_lpm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_pm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_uart.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/platform_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/sspm_reg.h
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_sip_calls.c
/rk3399_ARM-atf/plat/mediatek/mt8186/platform.mk
/rk3399_ARM-atf/plat/mediatek/mt8195/platform.mk
/rk3399_ARM-atf/plat/renesas/common/bl31_plat_setup.c
/rk3399_ARM-atf/plat/renesas/common/include/rcar_version.h
/rk3399_ARM-atf/plat/renesas/common/plat_pm.c
/rk3399_ARM-atf/plat/st/common/stm32mp_auth.c
/rk3399_ARM-atf/plat/st/common/stm32mp_common.c
/rk3399_ARM-atf/plat/st/stm32mp1/include/platform_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/platform.mk
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1.ld.S
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_fip_def.h
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_private.c
63d2159802-Mar-2021 Nicolas Le Bayon <nicolas.le.bayon@foss.st.com>

refactor(st-ddr): move basic tests in a dedicated file

These basic tests are generic and should be used independently of the
driver, depending on the plaftorm characteristics.

Change-Id: I38161b659

refactor(st-ddr): move basic tests in a dedicated file

These basic tests are generic and should be used independently of the
driver, depending on the plaftorm characteristics.

Change-Id: I38161b659ef2a23fd30a56e1c9b1bd98461a2fe4
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com>

show more ...

06e55dc818-May-2021 Nicolas Le Bayon <nicolas.le.bayon@st.com>

refactor(st-ddr): reorganize generic and specific elements

stm32mp_ddrctl structure contains DDRCTRL registers definitions.
stm32mp_ddr_info contains general DDR information extracted from DT.
stm32

refactor(st-ddr): reorganize generic and specific elements

stm32mp_ddrctl structure contains DDRCTRL registers definitions.
stm32mp_ddr_info contains general DDR information extracted from DT.
stm32mp_ddr_size moves to the generic side.
stm32mp1_ddr_priv contains platform private data.

stm32mp_ddr_dt_get_info() and stm32mp_ddr_dt_get_param() allow to
retrieve data from DT. They are located in new generic c/h files in
which stm32mp_ddr_param structure is declared. Platform makefile
is updated.

Adapt driver with this new classification.

Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Change-Id: I4187376c9fff1a30e7a94407d188391547107997

show more ...

88f4fb8f17-Sep-2020 Yann Gautier <yann.gautier@st.com>

feat(stm32mp1): allow configuration of DDR AXI ports number

A new flag STM32MP_DDR_DUAL_AXI_PORT is added, and enabled by default.
It will allow choosing single or dual AXI ports for DDR.

Change-Id

feat(stm32mp1): allow configuration of DDR AXI ports number

A new flag STM32MP_DDR_DUAL_AXI_PORT is added, and enabled by default.
It will allow choosing single or dual AXI ports for DDR.

Change-Id: I48826a66a6f4d18df87e081c0960af89ddda1b9d
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...

ba7d2e2625-Feb-2019 Yann Gautier <yann.gautier@st.com>

refactor(st-ddr): update parameter array initialization

Force alignment of the size of parameters array with the expected
value by the binding.
The registers dynamic structs are removed as not used

refactor(st-ddr): update parameter array initialization

Force alignment of the size of parameters array with the expected
value by the binding.
The registers dynamic structs are removed as not used in TF-A.

Change-Id: I7a41f355a435f54fbf23f468cca87c7f8f7e69e8
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...

5def13eb10-Sep-2021 Nicolas Le Bayon <nicolas.le.bayon@st.com>

feat(st-ddr): add read valid training support

Add the read data eye training = training for optimal read valid placement
(RVTRN) when the built-in calibration is executed for LPDDR2 and LPDDR3.

Sig

feat(st-ddr): add read valid training support

Add the read data eye training = training for optimal read valid placement
(RVTRN) when the built-in calibration is executed for LPDDR2 and LPDDR3.

Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Change-Id: I7ac1c77c21ebc30315b532741f2f255c2312d5b2

show more ...

26cf5cf630-Apr-2021 Patrick Delaunay <patrick.delaunay@foss.st.com>

refactor(stm32mp1): remove the support of calibration result

The support of a predefined DDR PHY tuning result is removed for
STM32MP1 driver because it is not needed at the supported frequency
when

refactor(stm32mp1): remove the support of calibration result

The support of a predefined DDR PHY tuning result is removed for
STM32MP1 driver because it is not needed at the supported frequency
when built-in calibration is executed.

The calibration parameters were provided in the device tree by the
optional node "st,phy-cal", activated in ddr helper file by the
compilation flag DDR_PHY_CAL_SKIP and filled with values generated
by CubeMX.

This patch
- updates the binding file to remove "st,phy-cal" support
- updates the device trees and remove the associated defines
- simplifies the STM32MP1 DDR driver and remove the support of
the optional "st,phy-cal"

After this patch the built-in calibration is always executed.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Change-Id: I3fc445520c259f7f05730aefc25e64b328bf7159

show more ...

a078134e07-Sep-2021 Yann Gautier <yann.gautier@foss.st.com>

fix(st-ddr): correct DDR warnings

Replace %d with %u in logs, to avoid warning when
-Wformat-signedness is enabled.
And correct the order of includes.

Change-Id: I7c711a37fc1deceb8853831a8a09ae5042

fix(st-ddr): correct DDR warnings

Replace %d with %u in logs, to avoid warning when
-Wformat-signedness is enabled.
And correct the order of includes.

Change-Id: I7c711a37fc1deceb8853831a8a09ae50422859c9
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>

show more ...

d50e7a7104-Jan-2022 Yann Gautier <yann.gautier@st.com>

fix(st-sdmmc2): check regulator enable/disable return

The issue was reported by Coverity [1]. The return of the functions
regulator_disable() and regulator_enable() was not checked.
If they fail, th

fix(st-sdmmc2): check regulator enable/disable return

The issue was reported by Coverity [1]. The return of the functions
regulator_disable() and regulator_enable() was not checked.
If they fail, this means there is an issue either with PMIC or I2C.
The board should the stop booting with a panic().

[1] https://scan4.scan.coverity.com/reports.htm#v47771/p11439/mergedDefectId=374565

Change-Id: If5dfd5643c210e03ae4b1f4cab0168c0db89f60e
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...

93b153b523-Dec-2021 Madhukar Pappireddy <madhukar.pappireddy@arm.com>

Merge changes from topic "st_regulator" into integration

* changes:
feat(st-sdmmc2): manage cards power cycle
feat(stm32mp1): register fixed regulator
feat(st-drivers): introduce fixed regulat

Merge changes from topic "st_regulator" into integration

* changes:
feat(st-sdmmc2): manage cards power cycle
feat(stm32mp1): register fixed regulator
feat(st-drivers): introduce fixed regulator driver
refactor(st): update CPU and VDD voltage get
refactor(stm32mp1-fdts): update regulator description
refactor(st-pmic): use regulator framework for DDR init
feat(st-pmic): register the PMIC to regulator framework
refactor(st-pmic): split initialize_pmic()
feat(stm32mp1): add regulator framework compilation
feat(regulator): add a regulator framework
feat(stpmic1): add new services
feat(stpmic1): add USB OTG regulators
refactor(st-pmic): improve driver usage
refactor(stpmic1): set stpmic1_is_regulator_enabled() as boolean
refactor(stm32mp1): re-order drivers init

show more ...


/rk3399_ARM-atf/.cz.json
/rk3399_ARM-atf/Makefile
/rk3399_ARM-atf/docs/design/cpu-specific-build-macros.rst
mmc/stm32_sdmmc2.c
pmic/stm32mp_pmic.c
pmic/stpmic1.c
regulator/regulator_core.c
regulator/regulator_fixed.c
/rk3399_ARM-atf/fdts/stm32mp157c-ed1.dts
/rk3399_ARM-atf/fdts/stm32mp15xx-dkx.dtsi
/rk3399_ARM-atf/include/drivers/st/regulator.h
/rk3399_ARM-atf/include/drivers/st/regulator_fixed.h
/rk3399_ARM-atf/include/drivers/st/stm32_sdmmc2.h
/rk3399_ARM-atf/include/drivers/st/stm32mp_pmic.h
/rk3399_ARM-atf/include/drivers/st/stpmic1.h
/rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_x2.h
/rk3399_ARM-atf/lib/cpus/aarch64/cortex_x2.S
/rk3399_ARM-atf/lib/cpus/cpu-ops.mk
/rk3399_ARM-atf/make_helpers/defaults.mk
/rk3399_ARM-atf/plat/mediatek/mt8186/aarch64/platform_common.c
/rk3399_ARM-atf/plat/mediatek/mt8186/bl31_plat_setup.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/dcm/mtk_dcm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/dcm/mtk_dcm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/dcm/mtk_dcm_utils.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/dcm/mtk_dcm_utils.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/emi_mpu/emi_mpu.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/emi_mpu/emi_mpu.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/gpio/mtgpio.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/gpio/mtgpio.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/build.mk
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm_cpc.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm_cpc.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm_mbox.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm_mbox.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_cpu_pm_mbox_sspm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_mcdi.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/mcdi/mt_mcdi.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/pmic/pmic.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/pmic/pmic.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/pmic/pmic_wrap_init.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/rtc/rtc.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/rtc/rtc.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spmc/mtspmc.c
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spmc/mtspmc.h
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spmc/mtspmc_private.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/mcucfg.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_mtk_lpm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_pm.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/plat_sip_calls.h
/rk3399_ARM-atf/plat/mediatek/mt8186/include/platform_def.h
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_pm.c
/rk3399_ARM-atf/plat/mediatek/mt8186/plat_sip_calls.c
/rk3399_ARM-atf/plat/mediatek/mt8186/platform.mk
/rk3399_ARM-atf/plat/st/common/include/stm32mp_dt.h
/rk3399_ARM-atf/plat/st/common/stm32mp_dt.c
/rk3399_ARM-atf/plat/st/stm32mp1/bl2_plat_setup.c
/rk3399_ARM-atf/plat/st/stm32mp1/platform.mk
/rk3399_ARM-atf/plat/st/stm32mp1/stm32mp1_def.h
/rk3399_ARM-atf/plat/xilinx/versal/bl31_versal_setup.c
/rk3399_ARM-atf/plat/xilinx/zynqmp/bl31_zynqmp_setup.c
/rk3399_ARM-atf/services/std_svc/rmmd/trp/trp_entry.S
/rk3399_ARM-atf/tools/fiptool/Makefile
/rk3399_ARM-atf/tools/fiptool/fiptool.c
258bef9110-May-2019 Yann Gautier <yann.gautier@st.com>

feat(st-sdmmc2): manage cards power cycle

To correctly initialize the MMC devices, a power cycle is required.
For this we need to:
- disable vmmc-supply regulator
- make the power cycle required for

feat(st-sdmmc2): manage cards power cycle

To correctly initialize the MMC devices, a power cycle is required.
For this we need to:
- disable vmmc-supply regulator
- make the power cycle required for SDMMC2 peripheral
- enable regulators

Change-Id: I2be6d9082d1cc4c864a82cf2c31ff8522e2d31a2
Signed-off-by: Yann Gautier <yann.gautier@st.com>

show more ...

5d6a264620-Jan-2021 Pascal Paillet <p.paillet@st.com>

feat(st-drivers): introduce fixed regulator driver

Fixed regulator is mainly used when no pmic is available

Change-Id: Ib6a998684bcb055ba95a093bee563372d9051474
Signed-off-by: Pascal Paillet <p.pai

feat(st-drivers): introduce fixed regulator driver

Fixed regulator is mainly used when no pmic is available

Change-Id: Ib6a998684bcb055ba95a093bee563372d9051474
Signed-off-by: Pascal Paillet <p.paillet@st.com>

show more ...

0ba71ac915-Dec-2020 Pascal Paillet <p.paillet@st.com>

refactor(st-pmic): use regulator framework for DDR init

Use regulator framework for DDR initialization.

Change-Id: I9dffe499ca12cdc35904de7daf2dda821b267a31
Signed-off-by: Pascal Paillet <p.paillet

refactor(st-pmic): use regulator framework for DDR init

Use regulator framework for DDR initialization.

Change-Id: I9dffe499ca12cdc35904de7daf2dda821b267a31
Signed-off-by: Pascal Paillet <p.paillet@st.com>
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>

show more ...

85fb175b27-Sep-2021 Yann Gautier <yann.gautier@foss.st.com>

feat(st-pmic): register the PMIC to regulator framework

Register the PMIC to the regulator framework.

Change-Id: Ic825a8ef08505316db3dbd5944d62ea907f73c4a
Signed-off-by: Pascal Paillet <p.paillet@s

feat(st-pmic): register the PMIC to regulator framework

Register the PMIC to the regulator framework.

Change-Id: Ic825a8ef08505316db3dbd5944d62ea907f73c4a
Signed-off-by: Pascal Paillet <p.paillet@st.com>
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>

show more ...

ae7792e018-Nov-2019 Nicolas Le Bayon <nicolas.le.bayon@st.com>

refactor(st-pmic): split initialize_pmic()

print_pmic_info_and_debug() prints the PMIC version ID and displays
regulator information if debug is enabled.
It is under DEBUG flag and called after init

refactor(st-pmic): split initialize_pmic()

print_pmic_info_and_debug() prints the PMIC version ID and displays
regulator information if debug is enabled.
It is under DEBUG flag and called after initialize_pmic() in BL2.

Change-Id: Ib81a625740b7ec6abb49cfca05e44c69efaa4718
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>

show more ...

d5b4a2c415-Dec-2020 Pascal Paillet <p.paillet@st.com>

feat(regulator): add a regulator framework

Add a regulator framework to:
- provide an interface to consumers and drivers,
- connect consumers with drivers,
- handle most of devicetree-parsing,
- han

feat(regulator): add a regulator framework

Add a regulator framework to:
- provide an interface to consumers and drivers,
- connect consumers with drivers,
- handle most of devicetree-parsing,
- handle always-on and boot-on regulators,
- handle min/max voltages,

Change-Id: I23c939fdef2c71a416c44c9de332f70db0d2aa53
Signed-off-by: Pascal Paillet <p.paillet@st.com>

show more ...

ea552bf515-Dec-2020 Pascal Paillet <p.paillet@st.com>

feat(stpmic1): add new services

Add support for ICC, sink mode, bypass mode,
active discharge and list voltages.
Handle LDO3 sink source mode in a different way to avoid
setting voltage while in sin

feat(stpmic1): add new services

Add support for ICC, sink mode, bypass mode,
active discharge and list voltages.
Handle LDO3 sink source mode in a different way to avoid
setting voltage while in sink source mode.

Change-Id: Ib1b909fd8a153f542917f650e43e24317a570534
Signed-off-by: Pascal Paillet <p.paillet@st.com>

show more ...

13fbfe0410-Jan-2020 Etienne Carriere <etienne.carriere@st.com>

feat(stpmic1): add USB OTG regulators

Add regulators boost, pwr_sw1 and pwr_sw2 regulators related to
USB OTG supply BOOST, SW_OTG and SWIN/SWOUT. These regulators are
needed since manipulated durin

feat(stpmic1): add USB OTG regulators

Add regulators boost, pwr_sw1 and pwr_sw2 regulators related to
USB OTG supply BOOST, SW_OTG and SWIN/SWOUT. These regulators are
needed since manipulated during the suspend/resume power sequence
as per FDT description for stm32mp15x-xxx boards from
STMicroelectronics.

Change-Id: I6217de707e49882bd5a9100db43e0d354908800d
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>

show more ...

12345678910>>...13