aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-06 09:54:53 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-02-07 22:41:24 +0800
commitb4d00b256e3c784de4a33a40f4cd28a94ee2a80c (patch)
tree9b343b145b5bcf6471c3efa513ca8c9314b430e4 /include/dt-bindings
parentfdec36f248c0508ab5d001ad65c38f413638b4a2 (diff)
downloadu-boot-b4d00b256e3c784de4a33a40f4cd28a94ee2a80c.zip
u-boot-b4d00b256e3c784de4a33a40f4cd28a94ee2a80c.tar.gz
u-boot-b4d00b256e3c784de4a33a40f4cd28a94ee2a80c.tar.bz2
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>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/intel-clock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/intel-clock.h b/include/dt-bindings/clock/intel-clock.h
new file mode 100644
index 0000000..e1edd3c
--- /dev/null
+++ b/include/dt-bindings/clock/intel-clock.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * This header provides constants for Intel clocks.
+ *
+ * The constants defined in this header are used in the device tree
+ *
+ * Copyright 2019 Google LLC
+ */
+
+#ifndef _DT_BINDINGS_CLK_INTEL_H
+#define _DT_BINDINGS_CLK_INTEL_H
+
+#define CLK_I2C 1
+
+#endif