#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-cv1800b.h>
#include "pinctrl-cv18xx.h"
enum CV1800B_POWER_DOMAIN { … };
static const char *const cv1800b_power_domain_desc[] = …;
static int cv1800b_get_pull_up(struct cv1800_pin *pin, const u32 *psmap)
{ … }
static int cv1800b_get_pull_down(struct cv1800_pin *pin, const u32 *psmap)
{ … }
static const u32 cv1800b_1v8_oc_map[] = …;
static const u32 cv1800b_18od33_1v8_oc_map[] = …;
static const u32 cv1800b_18od33_3v3_oc_map[] = …;
static const u32 cv1800b_eth_oc_map[] = …;
static int cv1800b_get_oc_map(struct cv1800_pin *pin, const u32 *psmap,
const u32 **map)
{ … }
static const u32 cv1800b_1v8_schmitt_map[] = …;
static const u32 cv1800b_18od33_1v8_schmitt_map[] = …;
static const u32 cv1800b_18od33_3v3_schmitt_map[] = …;
static int cv1800b_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap,
const u32 **map)
{ … }
static const struct cv1800_vddio_cfg_ops cv1800b_vddio_cfg_ops = …;
static const struct pinctrl_pin_desc cv1800b_pins[] = …;
static const struct cv1800_pin cv1800b_pin_data[ARRAY_SIZE(cv1800b_pins)] = …;
static const struct cv1800_pinctrl_data cv1800b_pindata = …;
static const struct of_device_id cv1800b_pinctrl_ids[] = …;
MODULE_DEVICE_TABLE(of, cv1800b_pinctrl_ids);
static struct platform_driver cv1800b_pinctrl_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;