rockchip_sip_svc.h 681 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef ROCKCHIP_SIP_SVC_H
  7. #define ROCKCHIP_SIP_SVC_H
  8. /* SMC function IDs for SiP Service queries */
  9. #define SIP_SVC_CALL_COUNT 0x8200ff00
  10. #define SIP_SVC_UID 0x8200ff01
  11. #define SIP_SVC_VERSION 0x8200ff03
  12. #define RK_SIP_SCMI_AGENT0 0x82000010
  13. /* rockchip SiP Service Calls version numbers */
  14. #define RK_SIP_SVC_VERSION_MAJOR 0x0
  15. #define RK_SIP_SVC_VERSION_MINOR 0x1
  16. /* Number of ROCKCHIP SiP Calls implemented */
  17. #define RK_COMMON_SIP_NUM_CALLS 0x3
  18. enum {
  19. RK_SIP_E_SUCCESS = 0,
  20. RK_SIP_E_INVALID_PARAM = -1
  21. };
  22. #endif /* ROCKCHIP_SIP_SVC_H */