#include <dt-bindings/pinctrl/mt65xx.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include "pinctrl-mtk-common.h"
#include "pinctrl-mtk-mt8365.h"
static const struct mtk_drv_group_desc mt8365_drv_grp[] = …;
static const struct mtk_pin_drv_grp mt8365_pin_drv[] = …;
static const struct mtk_pin_spec_pupd_set_samereg mt8365_spec_pupd[] = …;
static const struct mtk_pin_ies_smt_set mt8365_ies_set[] = …;
static const struct mtk_pin_ies_smt_set mt8365_smt_set[] = …;
static int mt8365_set_clr_mode(struct regmap *regmap,
unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel,
bool enable, bool isup)
{ … }
static const struct mtk_pinctrl_devdata mt8365_pinctrl_data = …;
static const struct of_device_id mt8365_pctrl_match[] = …;
static struct platform_driver mtk_pinctrl_driver = …;
static int __init mtk_pinctrl_init(void)
{ … }
arch_initcall(mtk_pinctrl_init);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;