summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2017-10-29 10:09:00 +0100
committerHeiko Schocher <hs@denx.de>2017-11-20 10:11:34 +0100
commitf8d9ca18333c42040135c6605ee27668da1738af (patch)
tree7f362ceb754b787496adc08c1c575132d5a1b94d /arch/arm/include
parentb6251db8c3f0de605b4cd6f15a00fc7dd19cda63 (diff)
i2c: add Amlogic Meson driver
Add a driver for the I2C controller available on Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-meson/i2c.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-meson/i2c.h b/arch/arm/include/asm/arch-meson/i2c.h
new file mode 100644
index 0000000000..783bc3786f
--- /dev/null
+++ b/arch/arm/include/asm/arch-meson/i2c.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright 2017 - Beniamino Galvani <b.galvani@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _MESON_I2C_H_
+#define _MESON_I2C_H_
+
+#define MESON_I2C_CLK_RATE 167000000
+
+#endif