]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Add a clock driver for Intel devices
authorSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 16:54:53 +0000 (09:54 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 7 Feb 2020 14:41:24 +0000 (22:41 +0800)
commitb4d00b256e3c784de4a33a40f4cd28a94ee2a80c
tree9b343b145b5bcf6471c3efa513ca8c9314b430e4
parentfdec36f248c0508ab5d001ad65c38f413638b4a2
x86: Add a clock driver for Intel devices

So far we have avoided adding a clock driver for Intel devices. But the
Designware I2C driver needs a different clock (133MHz) on Intel devices
than on others (166MHz). Add a simple driver that provides this
information.

This driver can be expanded later as needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/intel/Makefile [new file with mode: 0644]
drivers/clk/intel/clk_intel.c [new file with mode: 0644]
include/dt-bindings/clock/intel-clock.h [new file with mode: 0644]