]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: mediatek: add CLK_XTAL support for clock driver
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 12:00:07 +0000 (20:00 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:16 +0000 (15:09 -0400)
commitad832b915a7f07e60eb58ed99bc36da5c3de8d42
treebb3099d0c2fce57be04827f0a72bcea3b01b24f3
parent570b0840b19a34ca6e42923c2cba0c8c64677e15
clk: mediatek: add CLK_XTAL support for clock driver

This adds the CLK_XTAL macro/flag to allow modeling clocks which are
directly connected to the xtal clock.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/clk/mediatek/clk-mtk.c
drivers/clk/mediatek/clk-mtk.h