#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 ipq6018_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(…);
enum ipq6018_functions { … };
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 wci20_groups[] = …;
static const char * const qpic_pad_groups[] = …;
static const char * const burn0_groups[] = …;
static const char * const mac12_groups[] = …;
static const char * const qdss_tracectl_b_groups[] = …;
static const char * const burn1_groups[] = …;
static const char * const qdss_traceclk_b_groups[] = …;
static const char * const qdss_tracedata_b_groups[] = …;
static const char * const mac01_groups[] = …;
static const char * const mac21_groups[] = …;
static const char * const atest_char_groups[] = …;
static const char * const cxc0_groups[] = …;
static const char * const mac13_groups[] = …;
static const char * const dbg_out_groups[] = …;
static const char * const wci22_groups[] = …;
static const char * const pwm00_groups[] = …;
static const char * const atest_char0_groups[] = …;
static const char * const wci23_groups[] = …;
static const char * const mac11_groups[] = …;
static const char * const pwm10_groups[] = …;
static const char * const atest_char1_groups[] = …;
static const char * const pwm20_groups[] = …;
static const char * const atest_char2_groups[] = …;
static const char * const pwm30_groups[] = …;
static const char * const atest_char3_groups[] = …;
static const char * const audio_txmclk_groups[] = …;
static const char * const audio_txmclkin_groups[] = …;
static const char * const pwm02_groups[] = …;
static const char * const tx_swrm0_groups[] = …;
static const char * const qdss_cti_trig_out_b0_groups[] = …;
static const char * const audio_txbclk_groups[] = …;
static const char * const pwm12_groups[] = …;
static const char * const wsa_swrm_groups[] = …;
static const char * const tx_swrm1_groups[] = …;
static const char * const qdss_cti_trig_in_b0_groups[] = …;
static const char * const audio_txfsync_groups[] = …;
static const char * const pwm22_groups[] = …;
static const char * const tx_swrm2_groups[] = …;
static const char * const qdss_cti_trig_out_b1_groups[] = …;
static const char * const audio0_groups[] = …;
static const char * const pwm32_groups[] = …;
static const char * const tx_swrm_groups[] = …;
static const char * const qdss_cti_trig_in_b1_groups[] = …;
static const char * const audio1_groups[] = …;
static const char * const pwm04_groups[] = …;
static const char * const audio2_groups[] = …;
static const char * const pwm14_groups[] = …;
static const char * const audio3_groups[] = …;
static const char * const pwm24_groups[] = …;
static const char * const audio_rxmclk_groups[] = …;
static const char * const audio_rxmclkin_groups[] = …;
static const char * const pwm03_groups[] = …;
static const char * const lpass_pdm_groups[] = …;
static const char * const lpass_aud_groups[] = …;
static const char * const qdss_cti_trig_in_a1_groups[] = …;
static const char * const audio_rxbclk_groups[] = …;
static const char * const pwm13_groups[] = …;
static const char * const lpass_aud0_groups[] = …;
static const char * const rx_swrm_groups[] = …;
static const char * const qdss_cti_trig_out_a1_groups[] = …;
static const char * const audio_rxfsync_groups[] = …;
static const char * const pwm23_groups[] = …;
static const char * const lpass_aud1_groups[] = …;
static const char * const rx_swrm0_groups[] = …;
static const char * const qdss_cti_trig_in_a0_groups[] = …;
static const char * const pwm33_groups[] = …;
static const char * const lpass_aud2_groups[] = …;
static const char * const rx_swrm1_groups[] = …;
static const char * const qdss_cti_trig_out_a0_groups[] = …;
static const char * const lpass_pcm_groups[] = …;
static const char * const mac10_groups[] = …;
static const char * const mac00_groups[] = …;
static const char * const mac20_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 blsp2_uart_groups[] = …;
static const char * const blsp2_i2c_groups[] = …;
static const char * const blsp2_spi_groups[] = …;
static const char * const blsp5_i2c_groups[] = …;
static const char * const blsp5_uart_groups[] = …;
static const char * const qdss_traceclk_a_groups[] = …;
static const char * const qdss_tracectl_a_groups[] = …;
static const char * const pwm01_groups[] = …;
static const char * const pta1_1_groups[] = …;
static const char * const pwm11_groups[] = …;
static const char * const rx1_groups[] = …;
static const char * const pta1_2_groups[] = …;
static const char * const pwm21_groups[] = …;
static const char * const pta1_0_groups[] = …;
static const char * const pwm31_groups[] = …;
static const char * const prng_rosc_groups[] = …;
static const char * const blsp4_uart_groups[] = …;
static const char * const blsp4_i2c_groups[] = …;
static const char * const blsp4_spi_groups[] = …;
static const char * const pcie0_clk_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 sd_card_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 qdss_tracedata_a_groups[] = …;
static const char * const mdio_groups[] = …;
static const char * const pta2_0_groups[] = …;
static const char * const wci21_groups[] = …;
static const char * const cxc1_groups[] = …;
static const char * const pta2_1_groups[] = …;
static const char * const pta2_2_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 gcc_plltest_groups[] = …;
static const char * const gcc_tlmm_groups[] = …;
static const char * const gpio_groups[] = …;
static const struct pinfunction ipq6018_functions[] = …;
static const struct msm_pingroup ipq6018_groups[] = …;
static const struct msm_pinctrl_soc_data ipq6018_pinctrl = …;
static int ipq6018_pinctrl_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id ipq6018_pinctrl_of_match[] = …;
static struct platform_driver ipq6018_pinctrl_driver = …;
static int __init ipq6018_pinctrl_init(void)
{ … }
arch_initcall(ipq6018_pinctrl_init);
static void __exit ipq6018_pinctrl_exit(void)
{ … }
module_exit(ipq6018_pinctrl_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_DEVICE_TABLE(of, ipq6018_pinctrl_of_match);