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

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel Gemini Lake SoC pinctrl/GPIO driver
 *
 * Copyright (C) 2017 Intel Corporation
 * Author: Mika Westerberg <[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 GLK_PAD_OWN
#define GLK_PADCFGLOCK
#define GLK_HOSTSW_OWN
#define GLK_GPI_IS
#define GLK_GPI_IE

#define GLK_COMMUNITY(b, s, e)

/* GLK */
static const struct pinctrl_pin_desc glk_northwest_pins[] =;

static const unsigned int glk_northwest_uart1_pins[] =;
static const unsigned int glk_northwest_pwm0_pins[] =;
static const unsigned int glk_northwest_pwm1_pins[] =;
static const unsigned int glk_northwest_pwm2_pins[] =;
static const unsigned int glk_northwest_pwm3_pins[] =;
static const unsigned int glk_northwest_i2c0_pins[] =;
static const unsigned int glk_northwest_i2c1_pins[] =;
static const unsigned int glk_northwest_i2c2_pins[] =;
static const unsigned int glk_northwest_i2c3_pins[] =;
static const unsigned int glk_northwest_i2c4_pins[] =;
static const unsigned int glk_northwest_uart0_pins[] =;
static const unsigned int glk_northwest_uart2_pins[] =;

static const struct intel_pingroup glk_northwest_groups[] =;

static const char * const glk_northwest_uart1_groups[] =;
static const char * const glk_northwest_pwm0_groups[] =;
static const char * const glk_northwest_pwm1_groups[] =;
static const char * const glk_northwest_pwm2_groups[] =;
static const char * const glk_northwest_pwm3_groups[] =;
static const char * const glk_northwest_i2c0_groups[] =;
static const char * const glk_northwest_i2c1_groups[] =;
static const char * const glk_northwest_i2c2_groups[] =;
static const char * const glk_northwest_i2c3_groups[] =;
static const char * const glk_northwest_i2c4_groups[] =;
static const char * const glk_northwest_uart0_groups[] =;
static const char * const glk_northwest_uart2_groups[] =;

static const struct intel_function glk_northwest_functions[] =;

static const struct intel_community glk_northwest_communities[] =;

static const struct intel_pinctrl_soc_data glk_northwest_soc_data =;

static const struct pinctrl_pin_desc glk_north_pins[] =;

static const unsigned int glk_north_spi0_pins[] =;
static const unsigned int glk_north_spi1_pins[] =;
static const unsigned int glk_north_i2c5_pins[] =;
static const unsigned int glk_north_i2c6_pins[] =;
static const unsigned int glk_north_i2c7_pins[] =;
static const unsigned int glk_north_uart0_pins[] =;
static const unsigned int glk_north_spi0b_pins[] =;

static const struct intel_pingroup glk_north_groups[] =;

static const char * const glk_north_spi0_groups[] =;
static const char * const glk_north_spi1_groups[] =;
static const char * const glk_north_i2c5_groups[] =;
static const char * const glk_north_i2c6_groups[] =;
static const char * const glk_north_i2c7_groups[] =;
static const char * const glk_north_uart0_groups[] =;

static const struct intel_function glk_north_functions[] =;

static const struct intel_community glk_north_communities[] =;

static const struct intel_pinctrl_soc_data glk_north_soc_data =;

static const struct pinctrl_pin_desc glk_audio_pins[] =;

static const struct intel_community glk_audio_communities[] =;

static const struct intel_pinctrl_soc_data glk_audio_soc_data =;

static const struct pinctrl_pin_desc glk_scc_pins[] =;

static const unsigned int glk_scc_i2c7_pins[] =;
static const unsigned int glk_scc_sdcard_pins[] =;
static const unsigned int glk_scc_sdio_pins[] =;
static const unsigned int glk_scc_uart1_pins[] =;
static const unsigned int glk_scc_emmc_pins[] =;

static const struct intel_pingroup glk_scc_groups[] =;

static const char * const glk_scc_i2c7_groups[] =;
static const char * const glk_scc_sdcard_groups[] =;
static const char * const glk_scc_sdio_groups[] =;
static const char * const glk_scc_uart1_groups[] =;
static const char * const glk_scc_emmc_groups[] =;

static const struct intel_function glk_scc_functions[] =;

static const struct intel_community glk_scc_communities[] =;

static const struct intel_pinctrl_soc_data glk_scc_soc_data =;

static const struct intel_pinctrl_soc_data *glk_pinctrl_soc_data[] =;

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

static struct platform_driver glk_pinctrl_driver =;

static int __init glk_pinctrl_init(void)
{}
subsys_initcall(glk_pinctrl_init);

static void __exit glk_pinctrl_exit(void)
{}
module_exit(glk_pinctrl_exit);

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