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

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

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

#include "pinctrl-msm.h"

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

static const struct pinctrl_pin_desc ipq8074_pins[] =;

#define DECLARE_MSM_GPIO_PINS(pin)
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();
DECLARE_MSM_GPIO_PINS();

enum ipq8074_functions {};

static const char * const qpic_groups[] =;

static const char * const blsp5_i2c_groups[] =;

static const char * const blsp5_spi_groups[] =;

static const char * const wci2a_groups[] =;

static const char * const blsp3_spi3_groups[] =;

static const char * const burn0_groups[] =;

static const char * const pcm_zsi0_groups[] =;

static const char * const blsp5_uart_groups[] =;

static const char * const mac1_sa2_groups[] =;

static const char * const blsp3_spi0_groups[] =;

static const char * const burn1_groups[] =;

static const char * const mac0_sa1_groups[] =;

static const char * const qdss_cti_trig_out_b0_groups[] =;

static const char * const qdss_cti_trig_in_b0_groups[] =;

static const char * const blsp4_uart0_groups[] =;

static const char * const blsp4_i2c0_groups[] =;

static const char * const blsp4_spi0_groups[] =;

static const char * const mac2_sa1_groups[] =;

static const char * const qdss_cti_trig_out_b1_groups[] =;

static const char * const qdss_cti_trig_in_b1_groups[] =;

static const char * const cxc0_groups[] =;

static const char * const mac1_sa3_groups[] =;

static const char * const qdss_cti_trig_in_a1_groups[] =;

static const char * const qdss_cti_trig_out_a1_groups[] =;

static const char * const wci2c_groups[] =;

static const char * const qdss_cti_trig_in_a0_groups[] =;

static const char * const qdss_cti_trig_out_a0_groups[] =;

static const char * const qdss_traceclk_b_groups[] =;

static const char * const qdss_tracectl_b_groups[] =;

static const char * const pcm_zsi1_groups[] =;

static const char * const qdss_tracedata_b_groups[] =;

static const char * const led0_groups[] =;

static const char * const pwm0_groups[] =;

static const char * const led1_groups[] =;

static const char * const pwm1_groups[] =;

static const char * const led2_groups[] =;

static const char * const pwm2_groups[] =;

static const char * const blsp4_uart1_groups[] =;

static const char * const blsp4_i2c1_groups[] =;

static const char * const blsp4_spi1_groups[] =;

static const char * const wci2d_groups[] =;

static const char * const mac1_sa1_groups[] =;

static const char * const blsp3_spi2_groups[] =;

static const char * const pwm3_groups[] =;

static const char * const audio_txmclk_groups[] =;

static const char * const audio_txbclk_groups[] =;

static const char * const audio_txfsync_groups[] =;

static const char * const audio_txd_groups[] =;

static const char * const audio_rxmclk_groups[] =;

static const char * const atest_char0_groups[] =;

static const char * const audio_rxbclk_groups[] =;

static const char * const atest_char1_groups[] =;

static const char * const audio_rxfsync_groups[] =;

static const char * const atest_char2_groups[] =;

static const char * const audio_rxd_groups[] =;

static const char * const atest_char3_groups[] =;

static const char * const pcm_drx_groups[] =;

static const char * const mac1_sa0_groups[] =;

static const char * const mac0_sa0_groups[] =;

static const char * const pcm_dtx_groups[] =;

static const char * const pcm_fsync_groups[] =;

static const char * const mac2_sa0_groups[] =;

static const char * const qdss_traceclk_a_groups[] =;

static const char * const pcm_pclk_groups[] =;

static const char * const qdss_tracectl_a_groups[] =;

static const char * const atest_char_groups[] =;

static const char * const qdss_tracedata_a_groups[] =;

static const char * const blsp0_uart_groups[] =;

static const char * const blsp0_i2c_groups[] =;

static const char * const blsp0_spi_groups[] =;

static const char * const blsp1_uart_groups[] =;

static const char * const blsp1_i2c_groups[] =;

static const char * const blsp1_spi_groups[] =;

static const char * const blsp2_uart_groups[] =;

static const char * const blsp2_i2c_groups[] =;

static const char * const blsp2_spi_groups[] =;

static const char * const blsp3_uart_groups[] =;

static const char * const blsp3_i2c_groups[] =;

static const char * const blsp3_spi_groups[] =;

static const char * const pta2_0_groups[] =;

static const char * const wci2b_groups[] =;

static const char * const cxc1_groups[] =;

static const char * const blsp3_spi1_groups[] =;

static const char * const pta2_1_groups[] =;

static const char * const pta2_2_groups[] =;

static const char * const pcie0_clk_groups[] =;

static const char * const dbg_out_groups[] =;

static const char * const cri_trng0_groups[] =;

static const char * const pcie0_rst_groups[] =;

static const char * const cri_trng1_groups[] =;

static const char * const pcie0_wake_groups[] =;

static const char * const cri_trng_groups[] =;

static const char * const pcie1_clk_groups[] =;

static const char * const rx2_groups[] =;

static const char * const ldo_update_groups[] =;

static const char * const pcie1_rst_groups[] =;

static const char * const ldo_en_groups[] =;

static const char * const pcie1_wake_groups[] =;

static const char * const gcc_plltest_groups[] =;

static const char * const sd_card_groups[] =;

static const char * const pta1_1_groups[] =;

static const char * const rx1_groups[] =;

static const char * const pta1_2_groups[] =;

static const char * const gcc_tlmm_groups[] =;

static const char * const pta1_0_groups[] =;

static const char * const prng_rosc_groups[] =;

static const char * const sd_write_groups[] =;

static const char * const rx0_groups[] =;

static const char * const tsens_max_groups[] =;

static const char * const mdc_groups[] =;

static const char * const mdio_groups[] =;

static const char * const gpio_groups[] =;

static const struct pinfunction ipq8074_functions[] =;

static const struct msm_pingroup ipq8074_groups[] =;

static const struct msm_pinctrl_soc_data ipq8074_pinctrl =;

static int ipq8074_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id ipq8074_pinctrl_of_match[] =;

static struct platform_driver ipq8074_pinctrl_driver =;

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

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

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(of, ipq8074_pinctrl_of_match);