[U-Boot] [PATCH 5/6] pinctrl: add driver for MT8516

Ryder Lee ryder.lee at mediatek.com
Mon Feb 11 02:51:09 UTC 2019


On Mon, 2019-02-04 at 11:58 +0100, Fabien Parent wrote:
> Add Pinctrl driver for MediaTek MT8516 SoC.
> 
> Signed-off-by: Fabien Parent <fparent at baylibre.com>
> ---
>  drivers/pinctrl/mediatek/Kconfig          |   4 +
>  drivers/pinctrl/mediatek/Makefile         |   1 +
>  drivers/pinctrl/mediatek/pinctrl-mt8516.c | 391 ++++++++++++++++++++++
>  3 files changed, 396 insertions(+)
>  create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8516.c
> 
> diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
> index 1bd9a925a5..9930ca1faf 100644
> --- a/drivers/pinctrl/mediatek/Kconfig
> +++ b/drivers/pinctrl/mediatek/Kconfig
> @@ -12,4 +12,8 @@ config PINCTRL_MT7629
>  	bool "MT7629 SoC pinctrl driver"
>  	select PINCTRL_MTK
>  
> +config PINCTRL_MT8516
> +	bool "MT8516 SoC pinctrl driver"
> +	select PINCTRL_MTK
> +
>  endif
> diff --git a/drivers/pinctrl/mediatek/Makefile b/drivers/pinctrl/mediatek/Makefile
> index f6ef3627e8..c4f29088d2 100644
> --- a/drivers/pinctrl/mediatek/Makefile
> +++ b/drivers/pinctrl/mediatek/Makefile
> @@ -5,3 +5,4 @@ obj-$(CONFIG_PINCTRL_MTK) += pinctrl-mtk-common.o
>  # SoC Drivers
>  obj-$(CONFIG_PINCTRL_MT7623) += pinctrl-mt7623.o
>  obj-$(CONFIG_PINCTRL_MT7629) += pinctrl-mt7629.o
> +obj-$(CONFIG_PINCTRL_MT8516) += pinctrl-mt8516.o
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8516.c b/drivers/pinctrl/mediatek/pinctrl-mt8516.c
> new file mode 100644
> index 0000000000..17083e9aa3
> --- /dev/null
> +++ b/drivers/pinctrl/mediatek/pinctrl-mt8516.c
> @@ -0,0 +1,391 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Copyright (C) 2018 BayLibre, SAS
> + * Author: Fabien Parent <fparent at baylibre.com>
> + */

Looks good to me, but we are in 2019 now :)

Acked-by: Ryder Lee <ryder.lee at mediatek.com>





More information about the U-Boot mailing list