[U-Boot] [PATCH 13/20] pinctrl: MediaTek: add pinctrl driver for MT7623 SoC

Matthias Brugger matthias.bgg at gmail.com
Tue Oct 2 14:31:12 UTC 2018



On 02/10/2018 08:13, Ryder Lee wrote:
> Add support for pinctrl on MT7629 SoC which has 279 pins. And the most of
> the codes in this patch are used to describe the details of each pin.
> 
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
> ---
>  drivers/pinctrl/mediatek/Kconfig              |    4 +
>  drivers/pinctrl/mediatek/Makefile             |    1 +
>  drivers/pinctrl/mediatek/pinctrl-mt7623.c     | 1280 +++++++++++++++++++++++++
>  drivers/pinctrl/mediatek/pinctrl-mtk-common.h |    1 +
>  4 files changed, 1286 insertions(+)
>  create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7623.c
> 
[...]
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mt7623.c b/drivers/pinctrl/mediatek/pinctrl-mt7623.c
> new file mode 100644
> index 0000000..a8c3494
> --- /dev/null
> +++ b/drivers/pinctrl/mediatek/pinctrl-mt7623.c
[...]
> +
> +U_BOOT_DRIVER(mt7623_pinctrl) = {
> +	.name = "mt7623_pinctrl",
> +	.id = UCLASS_PINCTRL,
> +	.of_match = mt7623_pctrl_match,
> +	.ops = &mtk_pinctrl_ops,
> +	.probe = mtk_pinctrl_mt7623_probe,
> +	.priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
> +};
> +

New line at EOF.


More information about the U-Boot mailing list