summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaveen krishna chatradhi <naveenkrishna.ch@gmail.com>2013-04-29 22:58:52 (GMT)
committerHeiko Schocher <hs@denx.de>2013-07-23 06:34:58 (GMT)
commitecbd7e1ec7280d90d151a99691f74b892588cadd (patch)
tree1aa2e90c9d7ce7f4829e5ea4b2b95e8dc8a9c444
parent3cff842bca8aa78fc49436711873466db9be21f8 (diff)
downloadu-boot-ecbd7e1ec7280d90d151a99691f74b892588cadd.tar.xz
fdtdec: Add compatible string for High speed i2c
Adds a new COMPAT string exynos5-hsi2c for high speed i2c controller available on exynos5 SoCs from Samsung. Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
-rw-r--r--include/fdtdec.h1
-rw-r--r--lib/fdtdec.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index bdefda4..c5d3b2b 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -100,6 +100,7 @@ enum fdt_compat_id {
COMPAT_MAXIM_98095_CODEC, /* MAX98095 Codec */
COMPAT_INFINEON_SLB9635_TPM, /* Infineon SLB9635 TPM */
COMPAT_INFINEON_SLB9645_TPM, /* Infineon SLB9645 TPM */
+ COMPAT_SAMSUNG_EXYNOS5_I2C, /* Exynos5 High Speed I2C Controller */
COMPAT_COUNT,
};
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 1b3c810..4d1f3fe 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -73,6 +73,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),
COMPAT(INFINEON_SLB9645_TPM, "infineon,slb9645-tpm"),
+ COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)