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

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

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

#include <linux/pinctrl/pinctrl.h>

#include "pinctrl-intel.h"

#define ICL_LP_PAD_OWN
#define ICL_LP_PADCFGLOCK
#define ICL_LP_HOSTSW_OWN
#define ICL_LP_GPI_IS
#define ICL_LP_GPI_IE

#define ICL_N_PAD_OWN
#define ICL_N_PADCFGLOCK
#define ICL_N_HOSTSW_OWN
#define ICL_N_GPI_IS
#define ICL_N_GPI_IE

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

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

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

/* Ice Lake-LP */
static const struct pinctrl_pin_desc icllp_pins[] =;

static const struct intel_padgroup icllp_community0_gpps[] =;

static const struct intel_padgroup icllp_community1_gpps[] =;

static const struct intel_padgroup icllp_community4_gpps[] =;

static const struct intel_padgroup icllp_community5_gpps[] =;

static const struct intel_community icllp_communities[] =;

static const unsigned int icllp_spi0_pins[] =;
static const unsigned int icllp_spi0_modes[] =;
static const unsigned int icllp_spi1_pins[] =;
static const unsigned int icllp_spi1_modes[] =;
static const unsigned int icllp_spi2_pins[] =;
static const unsigned int icllp_spi2_modes[] =;

static const unsigned int icllp_i2c0_pins[] =;
static const unsigned int icllp_i2c1_pins[] =;
static const unsigned int icllp_i2c2_pins[] =;
static const unsigned int icllp_i2c3_pins[] =;
static const unsigned int icllp_i2c4_pins[] =;

static const unsigned int icllp_uart0_pins[] =;
static const unsigned int icllp_uart1_pins[] =;
static const unsigned int icllp_uart2_pins[] =;

static const struct intel_pingroup icllp_groups[] =;

static const char * const icllp_spi0_groups[] =;
static const char * const icllp_spi1_groups[] =;
static const char * const icllp_spi2_groups[] =;
static const char * const icllp_i2c0_groups[] =;
static const char * const icllp_i2c1_groups[] =;
static const char * const icllp_i2c2_groups[] =;
static const char * const icllp_i2c3_groups[] =;
static const char * const icllp_i2c4_groups[] =;
static const char * const icllp_uart0_groups[] =;
static const char * const icllp_uart1_groups[] =;
static const char * const icllp_uart2_groups[] =;

static const struct intel_function icllp_functions[] =;

static const struct intel_pinctrl_soc_data icllp_soc_data =;

/* Ice Lake-N */
static const struct pinctrl_pin_desc icln_pins[] =;

static const struct intel_padgroup icln_community0_gpps[] =;

static const struct intel_padgroup icln_community1_gpps[] =;

static const struct intel_padgroup icln_community4_gpps[] =;

static const struct intel_padgroup icln_community5_gpps[] =;

static const struct intel_community icln_communities[] =;

static const struct intel_pinctrl_soc_data icln_soc_data =;

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

static struct platform_driver icl_pinctrl_driver =;
module_platform_driver();

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