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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014, Sony Mobile Communications AB.
 */

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

#include "pinctrl-msm.h"

static const struct pinctrl_pin_desc apq8064_pins[] =;

#define DECLARE_APQ_GPIO_PINS(pin)
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();
DECLARE_APQ_GPIO_PINS();

static const unsigned int sdc1_clk_pins[] =;
static const unsigned int sdc1_cmd_pins[] =;
static const unsigned int sdc1_data_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 apq8064_functions {};

static const char * const cam_mclk_groups[] =;
static const char * const codec_mic_i2s_groups[] =;
static const char * const codec_spkr_i2s_groups[] =;
static const char * const gpio_groups[] =;
static const char * const gp_clk_0a_groups[] =;
static const char * const gp_clk_0b_groups[] =;
static const char * const gp_clk_1a_groups[] =;
static const char * const gp_clk_1b_groups[] =;
static const char * const gp_clk_2a_groups[] =;
static const char * const gp_clk_2b_groups[] =;
static const char * const ps_hold_groups[] =;
static const char * const gsbi1_groups[] =;
static const char * const gsbi2_groups[] =;
static const char * const gsbi3_groups[] =;
static const char * const gsbi4_groups[] =;
static const char * const gsbi4_cam_i2c_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 gsbi6_spi_cs1_groups[] =;
static const char * const gsbi6_spi_cs2_groups[] =;
static const char * const gsbi6_spi_cs3_groups[] =;
static const char * const gsbi7_groups[] =;
static const char * const gsbi7_spi_cs1_groups[] =;
static const char * const gsbi7_spi_cs2_groups[] =;
static const char * const gsbi7_spi_cs3_groups[] =;
static const char * const gsbi_cam_i2c_groups[] =;
static const char * const hdmi_groups[] =;
static const char * const mi2s_groups[] =;
static const char * const riva_bt_groups[] =;
static const char * const riva_fm_groups[] =;
static const char * const riva_wlan_groups[] =;
static const char * const sdc2_groups[] =;
static const char * const sdc4_groups[] =;
static const char * const slimbus_groups[] =;
static const char * const spkr_i2s_groups[] =;
static const char * const tsif1_groups[] =;
static const char * const tsif2_groups[] =;
static const char * const usb2_hsic_groups[] =;

static const struct pinfunction apq8064_functions[] =;

static const struct msm_pingroup apq8064_groups[] =;

#define NUM_GPIO_PINGROUPS

static const struct msm_pinctrl_soc_data apq8064_pinctrl =;

static int apq8064_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id apq8064_pinctrl_of_match[] =;

static struct platform_driver apq8064_pinctrl_driver =;

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

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

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