[U-Boot] [PATCH 4/6] clk: mediatek: add driver for MT8516

Ryder Lee ryder.lee at mediatek.com
Mon Feb 11 03:20:47 UTC 2019


On Mon, 2019-02-04 at 11:58 +0100, Fabien Parent wrote:
> Add clock driver for MediaTek MT8516 SoC.
> 
> Signed-off-by: Fabien Parent <fparent at baylibre.com>
> ---
>  drivers/clk/mediatek/Makefile          |   1 +
>  drivers/clk/mediatek/clk-mt8516.c      | 802 +++++++++++++++++++++++++
>  include/dt-bindings/clock/mt8516-clk.h | 251 ++++++++
>  3 files changed, 1054 insertions(+)
>  create mode 100644 drivers/clk/mediatek/clk-mt8516.c
>  create mode 100644 include/dt-bindings/clock/mt8516-clk.h
> 
> diff --git a/drivers/clk/mediatek/Makefile b/drivers/clk/mediatek/Makefile
> index 0632dc87b6..a47a5bdbc2 100644
> --- a/drivers/clk/mediatek/Makefile
> +++ b/drivers/clk/mediatek/Makefile
> @@ -5,3 +5,4 @@ obj-$(CONFIG_ARCH_MEDIATEK) += clk-mtk.o
>  # SoC Drivers
>  obj-$(CONFIG_TARGET_MT7623) += clk-mt7623.o
>  obj-$(CONFIG_TARGET_MT7629) += clk-mt7629.o
> +obj-$(CONFIG_TARGET_MT8516) += clk-mt8516.o
> diff --git a/drivers/clk/mediatek/clk-mt8516.c b/drivers/clk/mediatek/clk-mt8516.c
> new file mode 100644
> index 0000000000..8963449bb9
> --- /dev/null
> +++ b/drivers/clk/mediatek/clk-mt8516.c
> @@ -0,0 +1,802 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * MediaTek clock driver for MT8516 SoC
> + *
> + * Copyright (C) 2018 BayLibre, SAS
> + * Author: Fabien Parent <fparent at baylibre.com>
> + */
[snip]

> diff --git a/include/dt-bindings/clock/mt8516-clk.h b/include/dt-bindings/clock/mt8516-clk.h
> new file mode 100644
> index 0000000000..b62a971c59
> --- /dev/null
> +++ b/include/dt-bindings/clock/mt8516-clk.h
> @@ -0,0 +1,251 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Copyright (c) 2018 BayLibre, SAS
> + * Copyright (c) 2018 MediaTek Inc.
> + * Author: Fabien Parent <fparent at baylibre.com>
> + */
> +
[snip]

We are in 2019 now :)

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



More information about the U-Boot mailing list