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

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

#include <linux/kernel.h>
#include <linux/init.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_pxs2_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 ain3_pins[] =;
static const int ain3_muxvals[] =;
static const unsigned ainiec1_pins[] =;
static const int ainiec1_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 aoutiec1_pins[] =;
static const int aoutiec1_muxvals[] =;
static const unsigned aoutiec2_pins[] =;
static const int aoutiec2_muxvals[] =;
static const unsigned emmc_pins[] =;
static const int emmc_muxvals[] =;
static const unsigned emmc_dat8_pins[] =;
static const int emmc_dat8_muxvals[] =;
static const unsigned ether_mii_pins[] =;
static const int ether_mii_muxvals[] =;
static const unsigned ether_rgmii_pins[] =;
static const int ether_rgmii_muxvals[] =;
static const unsigned ether_rmii_pins[] =;
static const int ether_rmii_muxvals[] =;
static const unsigned i2c0_pins[] =;
static const int i2c0_muxvals[] =;
static const unsigned i2c1_pins[] =;
static const int i2c1_muxvals[] =;
static const unsigned i2c2_pins[] =;
static const int i2c2_muxvals[] =;
static const unsigned i2c3_pins[] =;
static const int i2c3_muxvals[] =;
static const unsigned i2c5_pins[] =;
static const int i2c5_muxvals[] =;
static const unsigned i2c6_pins[] =;
static const int i2c6_muxvals[] =;
static const unsigned nand_pins[] =;
static const int nand_muxvals[] =;
static const unsigned nand_cs1_pins[] =;
static const int nand_cs1_muxvals[] =;
static const unsigned 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 system_bus_pins[] =;
static const int system_bus_muxvals[] =;
static const unsigned system_bus_cs1_pins[] =;
static const int system_bus_cs1_muxvals[] =;
static const unsigned uart0_pins[] =;
static const int uart0_muxvals[] =;
static const unsigned uart0b_pins[] =;
static const int uart0b_muxvals[] =;
static const unsigned uart0b_ctsrts_pins[] =;
static const int uart0b_ctsrts_muxvals[] =;
static const unsigned uart0b_modem_pins[] =;
static const int uart0b_modem_muxvals[] =;
static const unsigned uart1_pins[] =;
static const int uart1_muxvals[] =;
static const unsigned uart2_pins[] =;
static const int uart2_muxvals[] =;
static const unsigned uart3_pins[] =;
static const int uart3_muxvals[] =;
static const unsigned uart3b_pins[] =;
static const int uart3b_muxvals[] =;
static const unsigned usb0_pins[] =;
static const int usb0_muxvals[] =;
static const unsigned usb0_device_pins[] =;
static const int usb0_device_muxvals[] =;
static const unsigned usb1_pins[] =;
static const int usb1_muxvals[] =;
static const unsigned usb1_device_pins[] =;
static const int usb1_device_muxvals[] =;
static const unsigned usb2_pins[] =;
static const int usb2_muxvals[] =;
static const unsigned usb3_pins[] =;
static const int usb3_muxvals[] =;
static const unsigned int gpio_range0_pins[] =;
static const unsigned int gpio_range1_pins[] =;

static const struct uniphier_pinctrl_group uniphier_pxs2_groups[] =;

static const char * const ain1_groups[] =;
static const char * const ain2_groups[] =;
static const char * const ain3_groups[] =;
static const char * const ainiec1_groups[] =;
static const char * const aout1_groups[] =;
static const char * const aout2_groups[] =;
static const char * const aout3_groups[] =;
static const char * const aoutiec1_groups[] =;
static const char * const aoutiec2_groups[] =;
static const char * const emmc_groups[] =;
static const char * const ether_mii_groups[] =;
static const char * const ether_rgmii_groups[] =;
static const char * const ether_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 i2c5_groups[] =;
static const char * const i2c6_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_pxs2_functions[] =;

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

static const struct uniphier_pinctrl_socdata uniphier_pxs2_pindata =;

static int uniphier_pxs2_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id uniphier_pxs2_pinctrl_match[] =;

static struct platform_driver uniphier_pxs2_pinctrl_driver =;
builtin_platform_driver();