]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9273ff0f8d88c8454330b601e31c0ca2d86559ec
tree9968817f4c0d3b1af72595059403e78302e41e02
parentf27d4d4a726f31fd9581f2a1ce8808fbab5cfa65
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]