linux/drivers/pinctrl/qcom/pinctrl-ipq8064.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>

#include "pinctrl-msm.h"

static const struct pinctrl_pin_desc ipq8064_pins[] =;

#define DECLARE_IPQ_GPIO_PINS(pin)
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();
DECLARE_IPQ_GPIO_PINS();

static const unsigned int sdc3_clk_pins[] =;
static const unsigned int sdc3_cmd_pins[] =;
static const unsigned int sdc3_data_pins[] =;

#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10)

#define SDC_PINGROUP(pg_name, ctl, pull, drv)

enum ipq8064_functions {};

static const char * const gpio_groups[] =;

static const char * const mdio_groups[] =;

static const char * const mi2s_groups[] =;

static const char * const pdm_groups[] =;

static const char * const ssbi_groups[] =;

static const char * const spmi_groups[] =;

static const char * const audio_pcm_groups[] =;

static const char * const gsbi1_groups[] =;

static const char * const gsbi2_groups[] =;

static const char * const gsbi4_groups[] =;

static const char * const gsbi5_groups[] =;

static const char * const gsbi5_spi_cs1_groups[] =;

static const char * const gsbi5_spi_cs2_groups[] =;

static const char * const gsbi5_spi_cs3_groups[] =;

static const char * const gsbi6_groups[] =;

static const char * const gsbi7_groups[] =;

static const char * const nss_spi_groups[] =;

static const char * const sdc1_groups[] =;

static const char * const spdif_groups[] =;

static const char * const nand_groups[] =;

static const char * const tsif1_groups[] =;

static const char * const tsif2_groups[] =;

static const char * const usb_fs_n_groups[] =;

static const char * const usb_fs_groups[] =;

static const char * const usb2_hsic_groups[] =;

static const char * const rgmii2_groups[] =;

static const char * const sata_groups[] =;

static const char * const pcie1_rst_groups[] =;

static const char * const pcie1_prsnt_groups[] =;

static const char * const pcie1_pwren_n_groups[] =;

static const char * const pcie1_pwren_groups[] =;

static const char * const pcie1_pwrflt_groups[] =;

static const char * const pcie1_clk_req_groups[] =;

static const char * const pcie2_rst_groups[] =;

static const char * const pcie2_prsnt_groups[] =;

static const char * const pcie2_pwren_n_groups[] =;

static const char * const pcie2_pwren_groups[] =;

static const char * const pcie2_pwrflt_groups[] =;

static const char * const pcie2_clk_req_groups[] =;

static const char * const pcie3_rst_groups[] =;

static const char * const pcie3_prsnt_groups[] =;

static const char * const pcie3_pwren_n_groups[] =;

static const char * const pcie3_pwren_groups[] =;

static const char * const pcie3_pwrflt_groups[] =;

static const char * const pcie3_clk_req_groups[] =;

static const char * const ps_hold_groups[] =;

static const struct pinfunction ipq8064_functions[] =;

static const struct msm_pingroup ipq8064_groups[] =;

#define NUM_GPIO_PINGROUPS

static const struct msm_pinctrl_soc_data ipq8064_pinctrl =;

static int ipq8064_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id ipq8064_pinctrl_of_match[] =;

static struct platform_driver ipq8064_pinctrl_driver =;

static int __init ipq8064_pinctrl_init(void)
{}
arch_initcall(ipq8064_pinctrl_init);

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

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(of, ipq8064_pinctrl_of_match);