1a8fe58ceSMaruthi Bayyavarapu /* 2a8fe58ceSMaruthi Bayyavarapu * Copyright 2015 Advanced Micro Devices, Inc. 3a8fe58ceSMaruthi Bayyavarapu * 4a8fe58ceSMaruthi Bayyavarapu * Permission is hereby granted, free of charge, to any person obtaining a 5a8fe58ceSMaruthi Bayyavarapu * copy of this software and associated documentation files (the "Software"), 6a8fe58ceSMaruthi Bayyavarapu * to deal in the Software without restriction, including without limitation 7a8fe58ceSMaruthi Bayyavarapu * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8a8fe58ceSMaruthi Bayyavarapu * and/or sell copies of the Software, and to permit persons to whom the 9a8fe58ceSMaruthi Bayyavarapu * Software is furnished to do so, subject to the following conditions: 10a8fe58ceSMaruthi Bayyavarapu * 11a8fe58ceSMaruthi Bayyavarapu * The above copyright notice and this permission notice shall be included in 12a8fe58ceSMaruthi Bayyavarapu * all copies or substantial portions of the Software. 13a8fe58ceSMaruthi Bayyavarapu * 14a8fe58ceSMaruthi Bayyavarapu * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15a8fe58ceSMaruthi Bayyavarapu * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16a8fe58ceSMaruthi Bayyavarapu * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17a8fe58ceSMaruthi Bayyavarapu * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18a8fe58ceSMaruthi Bayyavarapu * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19a8fe58ceSMaruthi Bayyavarapu * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20a8fe58ceSMaruthi Bayyavarapu * OTHER DEALINGS IN THE SOFTWARE. 21a8fe58ceSMaruthi Bayyavarapu * 22a8fe58ceSMaruthi Bayyavarapu * Authors: AMD 23a8fe58ceSMaruthi Bayyavarapu * 24a8fe58ceSMaruthi Bayyavarapu */ 25a8fe58ceSMaruthi Bayyavarapu 26a8fe58ceSMaruthi Bayyavarapu #ifndef __AMDGPU_ACP_H__ 27a8fe58ceSMaruthi Bayyavarapu #define __AMDGPU_ACP_H__ 28a8fe58ceSMaruthi Bayyavarapu 29a8fe58ceSMaruthi Bayyavarapu #include <linux/mfd/core.h> 30a8fe58ceSMaruthi Bayyavarapu 31a8fe58ceSMaruthi Bayyavarapu struct amdgpu_acp { 32a8fe58ceSMaruthi Bayyavarapu struct device *parent; 33110e6f26SDave Airlie struct cgs_device *cgs_device; 34a8fe58ceSMaruthi Bayyavarapu struct amd_acp_private *private; 35a8fe58ceSMaruthi Bayyavarapu struct mfd_cell *acp_cell; 36a8fe58ceSMaruthi Bayyavarapu struct resource *acp_res; 3725030321SMaruthi Srinivas Bayyavarapu struct acp_pm_domain *acp_genpd; 38a8fe58ceSMaruthi Bayyavarapu }; 39a8fe58ceSMaruthi Bayyavarapu 40*a1255107SAlex Deucher extern const struct amdgpu_ip_block_version acp_ip_block; 41a8fe58ceSMaruthi Bayyavarapu 42a8fe58ceSMaruthi Bayyavarapu #endif /* __AMDGPU_ACP_H__ */ 43