]> git.baikalelectronics.ru Git - uboot.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)
commita208f357f7c5d50858ecf5e48f5610ebb52a56ef
tree9b343b145b5bcf6471c3efa513ca8c9314b430e4
parent53c340b288c748907d195b3f7f95c57b7924302b
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]