Peng Fan | 5c2218a | 2021-08-07 16:00:31 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2021 NXP |
| 4 | */ |
| 5 | |
| 6 | #ifndef __ARCH_IMX8ULP_SYS_PROTO_H |
Andre Przywara | ccbd20d | 2023-05-15 14:52:10 +0100 | [diff] [blame] | 7 | #define __ARCH_IMX8ULP_SYS_PROTO_H |
Peng Fan | 5c2218a | 2021-08-07 16:00:31 +0800 | [diff] [blame] | 8 | |
| 9 | #include <asm/mach-imx/sys_proto.h> |
| 10 | |
Peng Fan | 7253016 | 2021-08-07 16:00:33 +0800 | [diff] [blame] | 11 | enum bt_mode get_boot_mode(void); |
Peng Fan | fe1bf87 | 2021-08-07 16:00:56 +0800 | [diff] [blame] | 12 | int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm); |
| 13 | int xrdc_config_pdac_openacc(u32 bridge, u32 index); |
Ye Li | 715cfa0 | 2021-10-29 09:46:23 +0800 | [diff] [blame] | 14 | void set_lpav_qos(void); |
Ye Li | 133f8b8 | 2021-10-29 09:46:25 +0800 | [diff] [blame] | 15 | void load_lposc_fuse(void); |
Ye Li | 2e9f15c | 2022-04-06 14:30:08 +0800 | [diff] [blame] | 16 | bool m33_image_booted(void); |
Ye Li | 80b3315 | 2023-01-31 16:42:17 +0800 | [diff] [blame] | 17 | bool is_m33_handshake_necessary(void); |
Ye Li | 2e9f15c | 2022-04-06 14:30:08 +0800 | [diff] [blame] | 18 | int m33_image_handshake(ulong timeout_ms); |
Ye Li | d5ffe55 | 2023-01-31 16:42:13 +0800 | [diff] [blame] | 19 | int imx8ulp_dm_post_init(void); |
Peng Fan | 5c2218a | 2021-08-07 16:00:31 +0800 | [diff] [blame] | 20 | #endif |