linux/drivers/platform/x86/intel/pmc/arl.c

// SPDX-License-Identifier: GPL-2.0
/*
 * This file contains platform specific structure definitions
 * and init function used by Arrow Lake PCH.
 *
 * Copyright (c) 2022, Intel Corporation.
 * All Rights Reserved.
 *
 */

#include <linux/pci.h>
#include "core.h"
#include "../pmt/telemetry.h"

/* PMC SSRAM PMT Telemetry GUID */
#define IOEP_LPM_REQ_GUID
#define SOCS_LPM_REQ_GUID
#define PCHS_LPM_REQ_GUID

static const u8 ARL_LPM_REG_INDEX[] =;

const struct pmc_bit_map arl_socs_ltr_show_map[] =;

const struct pmc_bit_map arl_socs_clocksource_status_map[] =;

const struct pmc_bit_map arl_socs_power_gating_status_0_map[] =;

const struct pmc_bit_map arl_socs_power_gating_status_1_map[] =;

const struct pmc_bit_map arl_socs_power_gating_status_2_map[] =;

const struct pmc_bit_map arl_socs_d3_status_2_map[] =;

const struct pmc_bit_map arl_socs_d3_status_3_map[] =;

const struct pmc_bit_map arl_socs_vnn_req_status_3_map[] =;

const struct pmc_bit_map *arl_socs_lpm_maps[] =;

const struct pmc_bit_map arl_socs_pfear_map[] =;

const struct pmc_bit_map *ext_arl_socs_pfear_map[] =;

const struct pmc_reg_map arl_socs_reg_map =;

const struct pmc_bit_map arl_pchs_ltr_show_map[] =;

const struct pmc_bit_map arl_pchs_clocksource_status_map[] =;

const struct pmc_bit_map arl_pchs_power_gating_status_0_map[] =;

const struct pmc_bit_map arl_pchs_power_gating_status_1_map[] =;

const struct pmc_bit_map arl_pchs_power_gating_status_2_map[] =;

const struct pmc_bit_map arl_pchs_d3_status_0_map[] =;

const struct pmc_bit_map arl_pchs_d3_status_1_map[] =;

const struct pmc_bit_map arl_pchs_d3_status_2_map[] =;

const struct pmc_bit_map arl_pchs_d3_status_3_map[] =;

const struct pmc_bit_map arl_pchs_vnn_req_status_0_map[] =;

const struct pmc_bit_map arl_pchs_vnn_req_status_1_map[] =;

const struct pmc_bit_map arl_pchs_vnn_req_status_2_map[] =;

const struct pmc_bit_map arl_pchs_vnn_req_status_3_map[] =;

const struct pmc_bit_map arl_pchs_vnn_misc_status_map[] =;

const struct pmc_bit_map arl_pchs_signal_status_map[] =;

const struct pmc_bit_map *arl_pchs_lpm_maps[] =;

const struct pmc_reg_map arl_pchs_reg_map =;

#define PMC_DEVID_SOCS
#define PMC_DEVID_IOEP
#define PMC_DEVID_PCHS
static struct pmc_info arl_pmc_info_list[] =;

#define ARL_NPU_PCI_DEV
#define ARL_GNA_PCI_DEV
/*
 * Set power state of select devices that do not have drivers to D3
 * so that they do not block Package C entry.
 */
static void arl_d3_fixup(void)
{}

static int arl_resume(struct pmc_dev *pmcdev)
{}

int arl_core_init(struct pmc_dev *pmcdev)
{}