#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 ipq9574_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(…);
enum ipq9574_functions { … };
static const char * const gpio_groups[] = …;
static const char * const sdc_data_groups[] = …;
static const char * const qspi_data_groups[] = …;
static const char * const qdss_traceclk_b_groups[] = …;
static const char * const qdss_tracectl_b_groups[] = …;
static const char * const qdss_tracedata_b_groups[] = …;
static const char * const sdc_cmd_groups[] = …;
static const char * const qspi_cs_groups[] = …;
static const char * const sdc_clk_groups[] = …;
static const char * const qspi_clk_groups[] = …;
static const char * const sdc_rclk_groups[] = …;
static const char * const blsp0_spi_groups[] = …;
static const char * const blsp0_uart_groups[] = …;
static const char * const blsp3_spi_groups[] = …;
static const char * const blsp3_i2c_groups[] = …;
static const char * const blsp3_uart_groups[] = …;
static const char * const dbg_out_groups[] = …;
static const char * const cri_trng0_groups[] = …;
static const char * const cri_trng1_groups[] = …;
static const char * const pcie0_clk_groups[] = …;
static const char * const pta_groups[] = …;
static const char * const wci21_groups[] = …;
static const char * const cxc0_groups[] = …;
static const char * const pcie0_wake_groups[] = …;
static const char * const qdss_cti_trig_out_b0_groups[] = …;
static const char * const pcie1_clk_groups[] = …;
static const char * const qdss_cti_trig_in_b0_groups[] = …;
static const char * const atest_char0_groups[] = …;
static const char * const qdss_cti_trig_out_b1_groups[] = …;
static const char * const pcie1_wake_groups[] = …;
static const char * const atest_char1_groups[] = …;
static const char * const qdss_cti_trig_in_b1_groups[] = …;
static const char * const pcie2_clk_groups[] = …;
static const char * const atest_char2_groups[] = …;
static const char * const atest_char3_groups[] = …;
static const char * const pcie2_wake_groups[] = …;
static const char * const pwm_groups[] = …;
static const char * const atest_char_groups[] = …;
static const char * const pcie3_clk_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 pcie3_wake_groups[] = …;
static const char * const qdss_cti_trig_in_a0_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 blsp1_uart_groups[] = …;
static const char * const qdss_cti_trig_out_a0_groups[] = …;
static const char * const cri_trng2_groups[] = …;
static const char * const blsp1_i2c_groups[] = …;
static const char * const cri_trng3_groups[] = …;
static const char * const dwc_ddrphy_groups[] = …;
static const char * const mdc_groups[] = …;
static const char * const mdio_groups[] = …;
static const char * const audio_pri_groups[] = …;
static const char * const audio_pdm0_groups[] = …;
static const char * const qdss_traceclk_a_groups[] = …;
static const char * const audio_sec_groups[] = …;
static const char * const wsa_swrm_groups[] = …;
static const char * const qdss_tracectl_a_groups[] = …;
static const char * const qdss_tracedata_a_groups[] = …;
static const char * const rx1_groups[] = …;
static const char * const mac_groups[] = …;
static const char * const blsp5_i2c_groups[] = …;
static const char * const blsp5_uart_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 wci20_groups[] = …;
static const char * const cxc1_groups[] = …;
static const char * const rx0_groups[] = …;
static const char * const prng_rosc0_groups[] = …;
static const char * const gcc_plltest_groups[] = …;
static const char * const blsp1_spi_groups[] = …;
static const char * const audio_pdm1_groups[] = …;
static const char * const prng_rosc1_groups[] = …;
static const char * const gcc_tlmm_groups[] = …;
static const char * const prng_rosc2_groups[] = …;
static const char * const prng_rosc3_groups[] = …;
static const char * const tsens_max_groups[] = …;
static const struct pinfunction ipq9574_functions[] = …;
static const struct msm_pingroup ipq9574_groups[] = …;
static const int ipq9574_reserved_gpios[] = …;
static const struct msm_pinctrl_soc_data ipq9574_pinctrl = …;
static int ipq9574_pinctrl_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id ipq9574_pinctrl_of_match[] = …;
MODULE_DEVICE_TABLE(of, ipq9574_pinctrl_of_match);
static struct platform_driver ipq9574_pinctrl_driver = …;
static int __init ipq9574_pinctrl_init(void)
{ … }
arch_initcall(ipq9574_pinctrl_init);
static void __exit ipq9574_pinctrl_exit(void)
{ … }
module_exit(ipq9574_pinctrl_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;