Commit | Line | Data |
---|---|---|
1e5dd1f8 GKH |
1 | /* |
2 | * Arche Platform driver to enable Unipro link. | |
3 | * | |
4 | * Copyright 2015-2016 Google Inc. | |
5 | * Copyright 2015-2016 Linaro Ltd. | |
6 | * | |
7 | * Released under the GPLv2 only. | |
8 | */ | |
9 | ||
10 | #ifndef __ARCHE_PLATFORM_H | |
11 | #define __ARCHE_PLATFORM_H | |
12 | ||
a821adb4 VH |
13 | enum arche_platform_state { |
14 | ARCHE_PLATFORM_STATE_OFF, | |
15 | ARCHE_PLATFORM_STATE_ACTIVE, | |
16 | ARCHE_PLATFORM_STATE_STANDBY, | |
7691fed2 | 17 | ARCHE_PLATFORM_STATE_FW_FLASHING, |
a821adb4 VH |
18 | }; |
19 | ||
7b62b61c VK |
20 | int __init arche_apb_init(void); |
21 | void __exit arche_apb_exit(void); | |
65fd5a50 VH |
22 | |
23 | /* Operational states for the APB device */ | |
24 | int apb_ctrl_coldboot(struct device *dev); | |
25 | int apb_ctrl_fw_flashing(struct device *dev); | |
26 | int apb_ctrl_standby_boot(struct device *dev); | |
27 | void apb_ctrl_poweroff(struct device *dev); | |
28 | ||
1e5dd1f8 | 29 | #endif /* __ARCHE_PLATFORM_H */ |