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

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel Elkhart Lake PCH pinctrl/GPIO driver
 *
 * Copyright (C) 2019, 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 EHL_PAD_OWN
#define EHL_PADCFGLOCK
#define EHL_HOSTSW_OWN
#define EHL_GPI_IS
#define EHL_GPI_IE

#define EHL_GPP(r, s, e)

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

/* Elkhart Lake */
static const struct pinctrl_pin_desc ehl_community0_pins[] =;

static const struct intel_padgroup ehl_community0_gpps[] =;

static const struct intel_community ehl_community0[] =;

static const struct intel_pinctrl_soc_data ehl_community0_soc_data =;

static const struct pinctrl_pin_desc ehl_community1_pins[] =;

static const struct intel_padgroup ehl_community1_gpps[] =;

static const struct intel_community ehl_community1[] =;

static const struct intel_pinctrl_soc_data ehl_community1_soc_data =;

static const struct pinctrl_pin_desc ehl_community3_pins[] =;

static const struct intel_padgroup ehl_community3_gpps[] =;

static const struct intel_community ehl_community3[] =;

static const struct intel_pinctrl_soc_data ehl_community3_soc_data =;

static const struct pinctrl_pin_desc ehl_community4_pins[] =;

static const struct intel_padgroup ehl_community4_gpps[] =;

static const struct intel_community ehl_community4[] =;

static const struct intel_pinctrl_soc_data ehl_community4_soc_data =;

static const struct pinctrl_pin_desc ehl_community5_pins[] =;

static const struct intel_padgroup ehl_community5_gpps[] =;

static const struct intel_community ehl_community5[] =;

static const struct intel_pinctrl_soc_data ehl_community5_soc_data =;

static const struct intel_pinctrl_soc_data *ehl_soc_data_array[] =;

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

static struct platform_driver ehl_pinctrl_driver =;
module_platform_driver();

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