#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/platform_device.h>
#include "pinctrl-imx.h"
enum imx8mp_pads { … };
static const struct pinctrl_pin_desc imx8mp_pinctrl_pads[] = …;
static const struct imx_pinctrl_soc_info imx8mp_pinctrl_info = …;
static const struct of_device_id imx8mp_pinctrl_of_match[] = …;
MODULE_DEVICE_TABLE(of, imx8mp_pinctrl_of_match);
static int imx8mp_pinctrl_probe(struct platform_device *pdev)
{ … }
static struct platform_driver imx8mp_pinctrl_driver = …;
static int __init imx8mp_pinctrl_init(void)
{ … }
arch_initcall(imx8mp_pinctrl_init);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;