linux/drivers/pinctrl/intel/pinctrl-meteorlake.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel Meteor Lake PCH pinctrl/GPIO driver
 *
 * Copyright (C) 2022, Intel Corporation
 * Author: Andy Shevchenko <[email protected]>
 */

#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm.h>

#include <linux/pinctrl/pinctrl.h>

#include "pinctrl-intel.h"

#define MTL_P_PAD_OWN
#define MTL_P_PADCFGLOCK
#define MTL_P_HOSTSW_OWN
#define MTL_P_GPI_IS
#define MTL_P_GPI_IE

#define MTL_S_PAD_OWN
#define MTL_S_PADCFGLOCK
#define MTL_S_HOSTSW_OWN
#define MTL_S_GPI_IS
#define MTL_S_GPI_IE

#define MTL_GPP(r, s, e, g)

#define MTL_P_COMMUNITY(b, s, e, g)

#define MTL_S_COMMUNITY(b, s, e, g)

/* Meteor Lake-P */
static const struct pinctrl_pin_desc mtlp_pins[] =;

static const struct intel_padgroup mtlp_community0_gpps[] =;

static const struct intel_padgroup mtlp_community1_gpps[] =;

static const struct intel_padgroup mtlp_community3_gpps[] =;

static const struct intel_padgroup mtlp_community4_gpps[] =;

static const struct intel_padgroup mtlp_community5_gpps[] =;

static const struct intel_community mtlp_communities[] =;

static const struct intel_pinctrl_soc_data mtlp_soc_data =;

/* Meteor Lake-S */
static const struct pinctrl_pin_desc mtls_pins[] =;

static const struct intel_padgroup mtls_community0_gpps[] =;

static const struct intel_padgroup mtls_community1_gpps[] =;

static const struct intel_padgroup mtls_community3_gpps[] =;

static const struct intel_community mtls_communities[] =;

static const struct intel_pinctrl_soc_data mtls_soc_data =;

static const struct acpi_device_id mtl_pinctrl_acpi_match[] =;
MODULE_DEVICE_TABLE(acpi, mtl_pinctrl_acpi_match);

static struct platform_driver mtl_pinctrl_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();