linux/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c

// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2017 Socionext Inc.
//   Author: Masahiro Yamada <[email protected]>

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/platform_device.h>

#include "pinctrl-uniphier.h"

static const struct pinctrl_pin_desc uniphier_pxs3_pins[] =;

static const unsigned ain1_pins[] =;
static const int ain1_muxvals[] =;
static const unsigned ain1_dat2_pins[] =;
static const int ain1_dat2_muxvals[] =;
static const unsigned ain1_dat4_pins[] =;
static const int ain1_dat4_muxvals[] =;
static const unsigned ain2_pins[] =;
static const int ain2_muxvals[] =;
static const unsigned ain2_dat2_pins[] =;
static const int ain2_dat2_muxvals[] =;
static const unsigned ain2_dat4_pins[] =;
static const int ain2_dat4_muxvals[] =;
static const unsigned aout1_pins[] =;
static const int aout1_muxvals[] =;
static const unsigned aout1_dat2_pins[] =;
static const int aout1_dat2_muxvals[] =;
static const unsigned aout1_dat4_pins[] =;
static const int aout1_dat4_muxvals[] =;
static const unsigned aout2_pins[] =;
static const int aout2_muxvals[] =;
static const unsigned aout2_dat2_pins[] =;
static const int aout2_dat2_muxvals[] =;
static const unsigned aout2_dat4_pins[] =;
static const int aout2_dat4_muxvals[] =;
static const unsigned aout3_pins[] =;
static const int aout3_muxvals[] =;
static const unsigned ainiec1_pins[] =;
static const int ainiec1_muxvals[] =;
static const unsigned aoutiec1_pins[] =;
static const int aoutiec1_muxvals[] =;
static const unsigned aoutiec2_pins[] =;
static const int aoutiec2_muxvals[] =;
static const unsigned int emmc_pins[] =;
static const int emmc_muxvals[] =;
static const unsigned int emmc_dat8_pins[] =;
static const int emmc_dat8_muxvals[] =;
static const unsigned int ether_rgmii_pins[] =;
static const int ether_rgmii_muxvals[] =;
static const unsigned int ether_rmii_pins[] =;
static const int ether_rmii_muxvals[] =;
static const unsigned int ether1_rgmii_pins[] =;
static const int ether1_rgmii_muxvals[] =;
static const unsigned int ether1_rmii_pins[] =;
static const int ether1_rmii_muxvals[] =;
static const unsigned int i2c0_pins[] =;
static const int i2c0_muxvals[] =;
static const unsigned int i2c1_pins[] =;
static const int i2c1_muxvals[] =;
static const unsigned int i2c2_pins[] =;
static const int i2c2_muxvals[] =;
static const unsigned int i2c3_pins[] =;
static const int i2c3_muxvals[] =;
static const unsigned int nand_pins[] =;
static const int nand_muxvals[] =;
static const unsigned int sd_pins[] =;
static const int sd_muxvals[] =;
static const unsigned spi0_pins[] =;
static const int spi0_muxvals[] =;
static const unsigned spi1_pins[] =;
static const int spi1_muxvals[] =;
static const unsigned int system_bus_pins[] =;
static const int system_bus_muxvals[] =;
static const unsigned int system_bus_cs1_pins[] =;
static const int system_bus_cs1_muxvals[] =;
static const unsigned int uart0_pins[] =;
static const int uart0_muxvals[] =;
static const unsigned int uart0_ctsrts_pins[] =;
static const int uart0_ctsrts_muxvals[] =;
static const unsigned int uart0_modem_pins[] =;
static const int uart0_modem_muxvals[] =;
static const unsigned int uart1_pins[] =;
static const int uart1_muxvals[] =;
static const unsigned int uart2_pins[] =;
static const int uart2_muxvals[] =;
static const unsigned int uart3_pins[] =;
static const int uart3_muxvals[] =;
static const unsigned int usb0_pins[] =;
static const int usb0_muxvals[] =;
static const unsigned int usb0_device_pins[] =;
static const int usb0_device_muxvals[] =;
static const unsigned int usb1_pins[] =;
static const int usb1_muxvals[] =;
static const unsigned int usb1_device_pins[] =;
static const int usb1_device_muxvals[] =;
static const unsigned int usb2_pins[] =;
static const int usb2_muxvals[] =;
static const unsigned int usb3_pins[] =;
static const int usb3_muxvals[] =;
static const unsigned int gpio_range0_pins[] =;
static const unsigned int gpio_range1_pins[] =;
static const unsigned int gpio_range2_pins[] =;

static const struct uniphier_pinctrl_group uniphier_pxs3_groups[] =;

static const char * const ain1_groups[] =;
static const char * const ain2_groups[] =;
static const char * const aout1_groups[] =;
static const char * const aout2_groups[] =;
static const char * const aout3_groups[] =;
static const char * const ainiec1_groups[] =;
static const char * const aoutiec1_groups[] =;
static const char * const aoutiec2_groups[] =;
static const char * const emmc_groups[] =;
static const char * const ether_rgmii_groups[] =;
static const char * const ether_rmii_groups[] =;
static const char * const ether1_rgmii_groups[] =;
static const char * const ether1_rmii_groups[] =;
static const char * const i2c0_groups[] =;
static const char * const i2c1_groups[] =;
static const char * const i2c2_groups[] =;
static const char * const i2c3_groups[] =;
static const char * const nand_groups[] =;
static const char * const sd_groups[] =;
static const char * const spi0_groups[] =;
static const char * const spi1_groups[] =;
static const char * const system_bus_groups[] =;
static const char * const uart0_groups[] =;
static const char * const uart1_groups[] =;
static const char * const uart2_groups[] =;
static const char * const uart3_groups[] =;
static const char * const usb0_groups[] =;
static const char * const usb1_groups[] =;
static const char * const usb2_groups[] =;
static const char * const usb3_groups[] =;

static const struct uniphier_pinmux_function uniphier_pxs3_functions[] =;

static int uniphier_pxs3_get_gpio_muxval(unsigned int pin,
					 unsigned int gpio_offset)
{}

static const struct uniphier_pinctrl_socdata uniphier_pxs3_pindata =;

static int uniphier_pxs3_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id uniphier_pxs3_pinctrl_match[] =;

static struct platform_driver uniphier_pxs3_pinctrl_driver =;
builtin_platform_driver();