linux/drivers/pinctrl/sophgo/pinctrl-sg2000.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Sophgo SG2000 SoC pinctrl driver.
 *
 * Copyright (C) 2024 Inochi Amaoto <[email protected]>
 *
 * This file is generated from vendor pinout definition.
 */

#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/of.h>

#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>

#include <dt-bindings/pinctrl/pinctrl-sg2000.h>

#include "pinctrl-cv18xx.h"

enum SG2000_POWER_DOMAIN {};

static const char *const sg2000_power_domain_desc[] =;

static int sg2000_get_pull_up(struct cv1800_pin *pin, const u32 *psmap)
{}

static int sg2000_get_pull_down(struct cv1800_pin *pin, const u32 *psmap)
{}

static const u32 sg2000_1v8_oc_map[] =;

static const u32 sg2000_18od33_1v8_oc_map[] =;

static const u32 sg2000_18od33_3v3_oc_map[] =;

static const u32 sg2000_eth_oc_map[] =;

static int sg2000_get_oc_map(struct cv1800_pin *pin, const u32 *psmap,
			     const u32 **map)
{}

static const u32 sg2000_1v8_schmitt_map[] =;

static const u32 sg2000_18od33_1v8_schmitt_map[] =;

static const u32 sg2000_18od33_3v3_schmitt_map[] =;

static int sg2000_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap,
				  const u32 **map)
{}

static const struct cv1800_vddio_cfg_ops sg2000_vddio_cfg_ops =;

static const struct pinctrl_pin_desc sg2000_pins[] =;

static const struct cv1800_pin sg2000_pin_data[ARRAY_SIZE(sg2000_pins)] =;

static const struct cv1800_pinctrl_data sg2000_pindata =;

static const struct of_device_id sg2000_pinctrl_ids[] =;
MODULE_DEVICE_TABLE(of, sg2000_pinctrl_ids);

static struct platform_driver sg2000_pinctrl_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();