clk: MediaTek: add clock driver for MT7629 SoC.
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 15 Nov 2018 02:07:54 +0000 (10:07 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 29 Nov 2018 04:04:51 +0000 (23:04 -0500)
commit0bd7dc74d2ffee99b931606b94469f9c9ab9bbf1
tree9968817f4c0d3b1af72595059403e78302e41e02
parent361e13f1d5c893caf40a6026405c0e1b615e90ea
clk: MediaTek: add clock driver for MT7629 SoC.

This patch adds clock modules for MediaTek SoCs:
- Shared part: a common driver which contains the general operations
for plls, muxes, dividers and gates so that we can reuse it in future.

- Specific SoC part: the group of structures used to hold the hardware
configuration for each SoC.

We take MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/Makefile
drivers/clk/mediatek/Makefile [new file with mode: 0644]
drivers/clk/mediatek/clk-mt7629.c [new file with mode: 0644]
drivers/clk/mediatek/clk-mtk.c [new file with mode: 0644]
drivers/clk/mediatek/clk-mtk.h [new file with mode: 0644]