| /rk3399_ARM-atf/plat/st/stm32mp2/ |
| H A D | platform.mk | 11 include plat/st/common/common.mk 101 STM32_LD_FILE := plat/st/stm32mp2/${ARCH}/stm32mp2.ld.S 102 STM32_BINARY_MAPPING := plat/st/stm32mp2/${ARCH}/stm32mp2.S 108 STM32MP_DDR_FW_PATH ?= drivers/st/ddr/phy/firmware/bin/stm32mp2 188 PLAT_INCLUDES += -Iplat/st/stm32mp2/include/ 189 PLAT_INCLUDES += -Idrivers/st/ddr/phy/phyinit/include/ 190 PLAT_INCLUDES += -Idrivers/st/ddr/phy/firmware/include/ 193 PLAT_BL_COMMON_SOURCES += drivers/st/uart/${ARCH}/stm32_console.S 194 PLAT_BL_COMMON_SOURCES += plat/st/stm32mp2/${ARCH}/stm32mp2_helper.S 196 PLAT_BL_COMMON_SOURCES += drivers/st/pmic/stm32mp_pmic2.c \ [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/constraints/ |
| H A D | mt_spm_rc_cpu_buck_ldo.c | 66 const struct rc_common_state *st = (const struct rc_common_state *)val; in update_rc_status() local 68 if (st == NULL) { in update_rc_status() 72 if ((st->type == CONSTRAINT_UPDATE_VALID) && st->value) { in update_rc_status() 73 if ((st->id == MT_RM_CONSTRAINT_ID_ALL) || in update_rc_status() 74 (st->id == MT_RM_CONSTRAINT_ID_CPU_BUCK_LDO)) { in update_rc_status() 75 struct constraint_status *con = (struct constraint_status *)st->value; in update_rc_status() 77 if ((st->act & MT_LPM_SMC_ACT_CLR) > 0U) { in update_rc_status() 157 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_cpu_buck_ldo() local 159 if (st == NULL) { in spm_get_status_rc_cpu_buck_ldo() 163 if ((st->id == MT_RM_CONSTRAINT_ID_ALL) || in spm_get_status_rc_cpu_buck_ldo() [all …]
|
| H A D | mt_spm_rc_dram.c | 159 const struct rc_common_state *st; in update_rc_status() local 161 st = (const struct rc_common_state *)val; in update_rc_status() 163 if (st == NULL) { in update_rc_status() 167 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in update_rc_status() 170 spm_rc_condition_modifier(st->id, st->act, st->value, in update_rc_status() 172 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in update_rc_status() 173 (st->type == CONSTRAINT_RESIDNECY)) { in update_rc_status() 174 spm_rc_constraint_status_set(st->id, st->type, st->act, in update_rc_status() 176 (struct constraint_status * const)st->value, in update_rc_status() 179 INFO("[%s:%d] - Unknown type: 0x%x\n", __func__, __LINE__, st->type); in update_rc_status() [all …]
|
| H A D | mt_spm_rc_syspll.c | 202 const struct rc_common_state *st; in update_rc_status() local 204 st = (const struct rc_common_state *)val; in update_rc_status() 206 if (st == NULL) { in update_rc_status() 210 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in update_rc_status() 213 spm_rc_condition_modifier(st->id, st->act, st->value, in update_rc_status() 215 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in update_rc_status() 216 (st->type == CONSTRAINT_RESIDNECY)) { in update_rc_status() 217 spm_rc_constraint_status_set(st->id, st->type, st->act, in update_rc_status() 219 (struct constraint_status * const)st->value, in update_rc_status() 222 INFO("[%s:%d] - Unknown type: 0x%x\n", __func__, __LINE__, st->type); in update_rc_status() [all …]
|
| /rk3399_ARM-atf/fdts/ |
| H A D | stm32mp157c-ed1.dts | 4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. 17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 36 st,non-secure-otp; 41 st,digbypass; 69 compatible = "st,stpmic1"; 77 compatible = "st,stpmic1-regulators"; 109 st,mask-reset; 139 st,regulator-sink-source; 193 st,clksrc = < 207 st,clkdiv = < [all …]
|
| H A D | stm32mp257f-dk-ca35tdcid-rcc.dtsi | 4 * Author: Loic Pallardy loic.pallardy@foss.st.com for STMicroelectronics. 34 st,busclk = < 43 st,flexgen = < 57 st,kerclk = < 62 pll1: st,pll-1 { 63 st,pll = <&pll1_cfg_1200Mhz>; 71 pll2: st,pll-2 { 72 st,pll = <&pll2_cfg_600Mhz>; 80 pll4: st,pll-4 { 81 st,pll = <&pll4_cfg_1200Mhz>; [all …]
|
| H A D | stm32mp257f-ev1-ca35tdcid-rcc.dtsi | 4 * Author: Loic Pallardy loic.pallardy@foss.st.com for STMicroelectronics. 34 st,busclk = < 43 st,flexgen = < 57 st,kerclk = < 62 pll1: st,pll-1 { 63 st,pll = <&pll1_cfg_1200Mhz>; 71 pll2: st,pll-2 { 72 st,pll = <&pll2_cfg_600Mhz>; 80 pll4: st,pll-4 { 81 st,pll = <&pll4_cfg_1200Mhz>; [all …]
|
| H A D | stm32mp157a-avenger96.dts | 20 compatible = "arrow,stm32mp157a-avenger96", "st,stm32mp157"; 46 compatible = "st,stpmic1"; 53 st,main-control-register = <0x04>; 54 st,vin-control-register = <0xc0>; 55 st,usb-control-register = <0x30>; 58 compatible = "st,stpmic1-regulators"; 90 st,mask-reset; 120 st,regulator-sink-source; 174 st,clksrc = < 218 st,clkdiv = < [all …]
|
| H A D | stm32mp257d-ultra-fly-sbc-ca35tdcid-rcc.dtsi | 29 st,busclk = < 38 st,flexgen = < 52 st,kerclk = < 57 pll1: st,pll-1 { 58 st,pll = <&pll1_cfg_1200Mhz>; 66 pll2: st,pll-2 { 67 st,pll = <&pll2_cfg_600Mhz>; 75 pll4: st,pll-4 { 76 st,pll = <&pll4_cfg_1200Mhz>; 84 pll5: st,pll-5 { [all …]
|
| H A D | stm32mp15xx-osd32.dtsi | 18 compatible = "st,stpmic1"; 25 compatible = "st,stpmic1-regulators"; 54 st,mask-reset; 86 st,regulator-sink-source; 130 compatible = "st,stpmic1-wdt"; 162 st,non-secure-otp; 167 st,digbypass; 184 st,clksrc = < 228 st,clkdiv = < 242 st,pll_vco { [all …]
|
| H A D | stm32mp15xx-dkx.dtsi | 4 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. 34 st,non-secure-otp; 39 st,digbypass; 63 compatible = "st,stpmic1"; 71 compatible = "st,stpmic1-regulators"; 110 st,mask-reset; 142 st,regulator-sink-source; 197 st,clksrc = < 209 st,clkdiv = < 221 st,pll_vco { [all …]
|
| H A D | stm32mp135f-dk.dts | 4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 17 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; 55 st,non-secure-otp; 77 compatible = "st,stpmic1"; 84 compatible = "st,stpmic1-regulators"; 118 st,mask-reset; 188 st,clksrc = < 205 st,clkdiv = < 216 st,pll_vco { 236 pll2:st,pll@1 { [all …]
|
| H A D | stm32mp151.dtsi | 4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. 82 compatible = "st,stm32-timers"; 90 compatible = "st,stm32h7-uart"; 99 compatible = "st,stm32h7-uart"; 108 compatible = "st,stm32h7-uart"; 118 compatible = "st,stm32h7-uart"; 127 compatible = "st,stm32mp15-i2c"; 136 st,syscfg-fmp = <&syscfg 0x4 0x2>; 142 compatible = "st,stm32h7-uart"; 151 compatible = "st,stm32h7-uart"; [all …]
|
| H A D | stm32mp15-ddr.dtsi | 7 st,mem-name = DDR_MEM_NAME; 8 st,mem-speed = <DDR_MEM_SPEED>; 9 st,mem-size = <DDR_MEM_SIZE>; 11 st,ctl-reg = < 39 st,ctl-timing = < 54 st,ctl-map = < 66 st,ctl-perf = < 86 st,phy-reg = < 100 st,phy-timing = <
|
| H A D | stm32mp251.dtsi | 4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 88 compatible = "st,stm32mp25-rifsc"; 94 compatible = "st,stm32h7-uart"; 102 compatible = "st,stm32h7-uart"; 110 compatible = "st,stm32h7-uart"; 118 compatible = "st,stm32h7-uart"; 126 compatible = "st,stm32mp25-i2c"; 134 compatible = "st,stm32mp25-i2c"; 142 compatible = "st,stm32mp25-i2c"; 150 compatible = "st,stm32mp25-i2c"; [all …]
|
| H A D | stm32mp15xx-dhcom-som.dtsi | 23 st,non-secure-otp; 47 compatible = "st,stpmic1"; 55 compatible = "st,stpmic1-regulators"; 87 st,mask-reset; 118 st,regulator-sink-source; 192 st,clksrc = < 236 st,clkdiv = < 250 st,pll_vco { 270 pll2: st,pll@1 { 271 compatible = "st,stm32mp1-pll"; [all …]
|
| H A D | stm32mp157c-odyssey-som.dtsi | 33 st,non-secure-otp; 38 st,digbypass; 66 compatible = "st,stpmic1"; 74 compatible = "st,stpmic1-regulators"; 113 st,mask-reset; 145 st,regulator-sink-source; 189 compatible = "st,stpmic1-wdt"; 206 st,clksrc = < 250 st,clkdiv = < 264 st,pll_vco { [all …]
|
| /rk3399_ARM-atf/plat/st/stm32mp1/sp_min/ |
| H A D | sp_min-stm32mp1.mk | 19 BL32_SOURCES += drivers/st/etzpc/etzpc.c \ 21 plat/st/stm32mp1/sp_min/sp_min_setup.c \ 22 plat/st/stm32mp1/stm32mp1_pm.c \ 23 plat/st/stm32mp1/stm32mp1_shared_resources.c \ 24 plat/st/stm32mp1/stm32mp1_topology.c 35 plat/st/common/stm32mp_gic.c 48 BL32_SOURCES += plat/st/common/stm32mp_svc_setup.c \ 49 plat/st/stm32mp1/services/bsec_svc.c \ 50 plat/st/stm32mp1/services/stm32mp1_svc_setup.c \ 51 plat/st/stm32mp1/stm32mp1_scmi.c
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/constraints/ |
| H A D | mt_spm_rc_vcore.c | 141 const struct rc_common_state *st = (const struct rc_common_state *)val; in spm_update_rc_vcore() local 144 if (!st) in spm_update_rc_vcore() 146 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in spm_update_rc_vcore() 150 st->id, st->act, st->value, in spm_update_rc_vcore() 152 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_vcore() 153 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_vcore() 155 st->id, st->type, st->act, in spm_update_rc_vcore() 158 st->value, in spm_update_rc_vcore() 163 __LINE__, st->type); in spm_update_rc_vcore() 264 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_vcore() local [all …]
|
| H A D | mt_spm_rc_bus26m.c | 144 const struct rc_common_state *st; in spm_update_rc_bus26m() local 146 st = (const struct rc_common_state *)val; in spm_update_rc_bus26m() 148 if (!st) in spm_update_rc_bus26m() 150 if (st->type == CONSTRAINT_UPDATE_COND_CHECK) { in spm_update_rc_bus26m() 153 spm_rc_condition_modifier(st->id, st->act, st->value, in spm_update_rc_bus26m() 156 } else if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_bus26m() 157 (st->type == CONSTRAINT_RESIDNECY)) { in spm_update_rc_bus26m() 158 spm_rc_constraint_status_set(st->id, st->type, st->act, in spm_update_rc_bus26m() 160 st->value, &status); in spm_update_rc_bus26m() 163 __LINE__, st->type); in spm_update_rc_bus26m() [all …]
|
| H A D | mt_spm_rc_syspll.c | 111 const struct rc_common_state *st; in spm_update_rc_syspll() local 113 st = (const struct rc_common_state *)val; in spm_update_rc_syspll() 115 if (!st) in spm_update_rc_syspll() 117 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_syspll() 118 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_syspll() 119 spm_rc_constraint_status_set(st->id, st->type, st->act, in spm_update_rc_syspll() 121 st->value, &status); in spm_update_rc_syspll() 124 __LINE__, st->type); in spm_update_rc_syspll() 237 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_syspll() local 239 if (!st) in spm_get_status_rc_syspll() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/constraints/ |
| H A D | mt_spm_rc_bus26m.c | 113 const struct rc_common_state *st; in spm_update_rc_bus26m() local 115 st = (const struct rc_common_state *)val; in spm_update_rc_bus26m() 117 if (!st) in spm_update_rc_bus26m() 120 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_bus26m() 121 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_bus26m() 122 spm_rc_constraint_status_set(st->id, in spm_update_rc_bus26m() 123 st->type, st->act, in spm_update_rc_bus26m() 125 st->value, in spm_update_rc_bus26m() 129 __func__, __LINE__, st->type); in spm_update_rc_bus26m() 241 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_bus26m() local [all …]
|
| H A D | mt_spm_rc_syspll.c | 113 const struct rc_common_state *st; in spm_update_rc_syspll() local 115 st = (const struct rc_common_state *)val; in spm_update_rc_syspll() 117 if (!st) in spm_update_rc_syspll() 119 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_syspll() 120 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_syspll() 121 spm_rc_constraint_status_set(st->id, st->type, in spm_update_rc_syspll() 122 st->act, in spm_update_rc_syspll() 124 st->value, in spm_update_rc_syspll() 128 __func__, __LINE__, st->type); in spm_update_rc_syspll() 246 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_syspll() local [all …]
|
| H A D | mt_spm_rc_vcore.c | 109 const struct rc_common_state *st; in spm_update_rc_vcore() local 111 st = (const struct rc_common_state *)val; in spm_update_rc_vcore() 113 if (!st) in spm_update_rc_vcore() 116 if ((st->type == CONSTRAINT_UPDATE_VALID) || in spm_update_rc_vcore() 117 (st->type == CONSTRAINT_RESIDNECY)) in spm_update_rc_vcore() 118 spm_rc_constraint_status_set(st->id, in spm_update_rc_vcore() 119 st->type, st->act, in spm_update_rc_vcore() 121 st->value, in spm_update_rc_vcore() 125 __func__, __LINE__, st->type); in spm_update_rc_vcore() 239 struct rc_common_state *st = (struct rc_common_state *)priv; in spm_get_status_rc_vcore() local [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/common/ |
| H A D | mt_spm_constraint.h | 82 #define IS_MT_SPM_RC_BBLPM_MODE(st) \ argument 83 ((st & (MT_SPM_RC_BBLPM_MODE)) == MT_SPM_RC_BBLPM_MODE) 85 #define IS_MT_SPM_RC_NOTIFY_ENABLE(st) \ argument 86 ((st & (MT_SPM_RC_VALID_NOTIFY))) 88 #define MT_SPM_RC_EXTERN_STATUS_SET(v, st) ({v |= (st & 0xffff); }) argument 89 #define MT_SPM_RC_EXTERN_STATUS_CLR(v, st) ({v &= ~(st & 0xffff); }) argument
|