Question
OPTEE panic fixed_regulator_probe failed
First time trying to get OPTEE working on custom board. The boot stops when OPTEE panics
NOTICE: CPU: STM32MP157AAC Rev.Z
NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
NOTICE: BL2: v2.8-stm32mp1-r1.0(release):custom()
NOTICE: BL2: Built : 12:30:08, Apr 11 2024
NOTICE: BL2: Booting BL32
I/TC: Early console on UART#4
I/TC:
I/TC: Pager is enabled. Hashes: 3040 bytes
I/TC: Pager pool size: 92kB
I/TC: Embedded DTB found
I/TC: OP-TEE version: Unknown_3.19 (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))) #3 Fri Apr 12 07:13:59 UTC 2024 arm
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
E/TC:0 0 regulator_set_flag:484 vdd_usb lacks set_flag handler
E/TC:0 0 fixed_regulator_probe:69 regulator_register(vdd_usb) failed with 0xffff0000
E/TC:0 0 Panic
On device tree (root entry):
vdd_usb: vdd_usb {
compatible = "regulator-fixed";
regulator-name = "vdd_usb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <70000>;
regulator-boot-on;
regulator-pull-down;
};
This used to work with only tf-a and u-boot, but doesn't seem with OPTEE. Any ideas?
