#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "pinctrl-msm.h"
#define REG_BASE …
#define REG_SIZE …
#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10) …
#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) …
static const struct pinctrl_pin_desc sdx75_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(…);
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(…);
static const unsigned int sdc1_rclk_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 sdc2_clk_pins[] = …;
static const unsigned int sdc2_cmd_pins[] = …;
static const unsigned int sdc2_data_pins[] = …;
enum sdx75_functions { … };
static const char *const gpio_groups[] = …;
static const char *const adsp_ext_groups[] = …;
static const char *const atest_char_groups[] = …;
static const char *const audio_ref_clk_groups[] = …;
static const char *const bimc_dte_groups[] = …;
static const char *const char_exec_groups[] = …;
static const char *const coex_uart2_groups[] = …;
static const char *const coex_uart_groups[] = …;
static const char *const cri_trng_groups[] = …;
static const char *const cri_trng0_groups[] = …;
static const char *const cri_trng1_groups[] = …;
static const char *const dbg_out_clk_groups[] = …;
static const char *const ddr_bist_groups[] = …;
static const char *const ddr_pxi0_groups[] = …;
static const char *const ebi0_wrcdc_groups[] = …;
static const char *const ebi2_a_groups[] = …;
static const char *const ebi2_lcd_groups[] = …;
static const char *const ebi2_lcd_te_groups[] = …;
static const char *const emac0_mcg_groups[] = …;
static const char *const emac0_ptp_groups[] = …;
static const char *const emac1_mcg_groups[] = …;
static const char *const emac1_ptp_groups[] = …;
static const char *const emac_cdc_groups[] = …;
static const char *const emac_pps_in_groups[] = …;
static const char *const eth0_mdc_groups[] = …;
static const char *const eth0_mdio_groups[] = …;
static const char *const eth1_mdc_groups[] = …;
static const char *const eth1_mdio_groups[] = …;
static const char *const ext_dbg_groups[] = …;
static const char *const gcc_125_clk_groups[] = …;
static const char *const gcc_gp1_clk_groups[] = …;
static const char *const gcc_gp2_clk_groups[] = …;
static const char *const gcc_gp3_clk_groups[] = …;
static const char *const gcc_plltest_groups[] = …;
static const char *const i2s_mclk_groups[] = …;
static const char *const jitter_bist_groups[] = …;
static const char *const ldo_en_groups[] = …;
static const char *const ldo_update_groups[] = …;
static const char *const m_voc_groups[] = …;
static const char *const mgpi_clk_groups[] = …;
static const char *const native_char_groups[] = …;
static const char *const native_tsens_groups[] = …;
static const char *const native_tsense_groups[] = …;
static const char *const nav_dr_sync_groups[] = …;
static const char *const nav_gpio_groups[] = …;
static const char *const pa_indicator_groups[] = …;
static const char *const pci_e_groups[] = …;
static const char *const pcie0_clkreq_n_groups[] = …;
static const char *const pcie1_clkreq_n_groups[] = …;
static const char *const pcie2_clkreq_n_groups[] = …;
static const char *const pll_bist_sync_groups[] = …;
static const char *const pll_clk_aux_groups[] = …;
static const char *const pll_ref_clk_groups[] = …;
static const char *const pri_mi2s_groups[] = …;
static const char *const prng_rosc_groups[] = …;
static const char *const qdss_cti_groups[] = …;
static const char *const qdss_gpio_groups[] = …;
static const char *const qlink0_b_en_groups[] = …;
static const char *const qlink0_b_req_groups[] = …;
static const char *const qlink0_l_en_groups[] = …;
static const char *const qlink0_l_req_groups[] = …;
static const char *const qlink0_wmss_groups[] = …;
static const char *const qlink1_l_en_groups[] = …;
static const char *const qlink1_l_req_groups[] = …;
static const char *const qlink1_wmss_groups[] = …;
static const char *const qup_se0_groups[] = …;
static const char *const qup_se1_l2_mira_groups[] = …;
static const char *const qup_se1_l2_mirb_groups[] = …;
static const char *const qup_se1_l3_mira_groups[] = …;
static const char *const qup_se1_l3_mirb_groups[] = …;
static const char *const qup_se2_groups[] = …;
static const char *const qup_se3_groups[] = …;
static const char *const qup_se4_groups[] = …;
static const char *const qup_se5_groups[] = …;
static const char *const qup_se6_groups[] = …;
static const char *const qup_se7_groups[] = …;
static const char *const qup_se8_groups[] = …;
static const char *const rgmii_rx_ctl_groups[] = …;
static const char *const rgmii_rxc_groups[] = …;
static const char *const rgmii_rxd_groups[] = …;
static const char *const rgmii_tx_ctl_groups[] = …;
static const char *const rgmii_txc_groups[] = …;
static const char *const rgmii_txd_groups[] = …;
static const char *const sd_card_groups[] = …;
static const char *const sdc1_tb_groups[] = …;
static const char *const sdc2_tb_trig_groups[] = …;
static const char *const sec_mi2s_groups[] = …;
static const char *const sgmii_phy_intr0_n_groups[] = …;
static const char *const sgmii_phy_intr1_n_groups[] = …;
static const char *const spmi_coex_groups[] = …;
static const char *const spmi_vgi_groups[] = …;
static const char *const tgu_ch0_trigout_groups[] = …;
static const char *const tmess_prng0_groups[] = …;
static const char *const tmess_prng1_groups[] = …;
static const char *const tmess_prng2_groups[] = …;
static const char *const tmess_prng3_groups[] = …;
static const char *const tri_mi2s_groups[] = …;
static const char *const uim1_clk_groups[] = …;
static const char *const uim1_data_groups[] = …;
static const char *const uim1_present_groups[] = …;
static const char *const uim1_reset_groups[] = …;
static const char *const uim2_clk_groups[] = …;
static const char *const uim2_data_groups[] = …;
static const char *const uim2_present_groups[] = …;
static const char *const uim2_reset_groups[] = …;
static const char *const usb2phy_ac_en_groups[] = …;
static const char *const vsense_trigger_mirnat_groups[] = …;
static const struct pinfunction sdx75_functions[] = …;
static const struct msm_pingroup sdx75_groups[] = …;
static const struct msm_gpio_wakeirq_map sdx75_pdc_map[] = …;
static const struct msm_pinctrl_soc_data sdx75_pinctrl = …;
static const struct of_device_id sdx75_pinctrl_of_match[] = …;
MODULE_DEVICE_TABLE(of, sdx75_pinctrl_of_match);
static int sdx75_pinctrl_probe(struct platform_device *pdev)
{ … }
static struct platform_driver sdx75_pinctrl_driver = …;
static int __init sdx75_pinctrl_init(void)
{ … }
arch_initcall(sdx75_pinctrl_init);
static void __exit sdx75_pinctrl_exit(void)
{ … }
module_exit(sdx75_pinctrl_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;