linux/drivers/platform/x86/amd/pmc/pmc.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * AMD SoC Power Management Controller Driver
 *
 * Copyright (c) 2023, Advanced Micro Devices, Inc.
 * All Rights Reserved.
 *
 * Author: Mario Limonciello <[email protected]>
 */

#ifndef PMC_H
#define PMC_H

#include <linux/types.h>
#include <linux/mutex.h>

struct amd_mp2_dev {};

struct amd_pmc_dev {};

void amd_pmc_process_restore_quirks(struct amd_pmc_dev *dev);
void amd_pmc_quirks_init(struct amd_pmc_dev *dev);
void amd_mp2_stb_init(struct amd_pmc_dev *dev);
void amd_mp2_stb_deinit(struct amd_pmc_dev *dev);

/* List of supported CPU ids */
#define AMD_CPU_ID_RV
#define AMD_CPU_ID_RN
#define AMD_CPU_ID_PCO
#define AMD_CPU_ID_CZN
#define AMD_CPU_ID_YC
#define AMD_CPU_ID_CB
#define AMD_CPU_ID_PS
#define AMD_CPU_ID_SP
#define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT
#define PCI_DEVICE_ID_AMD_1AH_M60H_ROOT
#define PCI_DEVICE_ID_AMD_MP2_STB

#endif /* PMC_H */