#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-cv1812h.h>
#include "pinctrl-cv18xx.h"
enum CV1812H_POWER_DOMAIN { … };
static const char *const cv1812h_power_domain_desc[] = …;
static int cv1812h_get_pull_up(struct cv1800_pin *pin, const u32 *psmap)
{ … }
static int cv1812h_get_pull_down(struct cv1800_pin *pin, const u32 *psmap)
{ … }
static const u32 cv1812h_1v8_oc_map[] = …;
static const u32 cv1812h_18od33_1v8_oc_map[] = …;
static const u32 cv1812h_18od33_3v3_oc_map[] = …;
static const u32 cv1812h_eth_oc_map[] = …;
static int cv1812h_get_oc_map(struct cv1800_pin *pin, const u32 *psmap,
const u32 **map)
{ … }
static const u32 cv1812h_1v8_schmitt_map[] = …;
static const u32 cv1812h_18od33_1v8_schmitt_map[] = …;
static const u32 cv1812h_18od33_3v3_schmitt_map[] = …;
static int cv1812h_get_schmitt_map(struct cv1800_pin *pin, const u32 *psmap,
const u32 **map)
{ … }
static const struct cv1800_vddio_cfg_ops cv1812h_vddio_cfg_ops = …;
static const struct pinctrl_pin_desc cv1812h_pins[] = …;
static const struct cv1800_pin cv1812h_pin_data[ARRAY_SIZE(cv1812h_pins)] = …;
static const struct cv1800_pinctrl_data cv1812h_pindata = …;
static const struct of_device_id cv1812h_pinctrl_ids[] = …;
MODULE_DEVICE_TABLE(of, cv1812h_pinctrl_ids);
static struct platform_driver cv1812h_pinctrl_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;