fdtdec: Add compatible string for High speed i2c
authornaveen krishna chatradhi <naveenkrishna.ch@gmail.com>
Mon, 29 Apr 2013 22:58:52 +0000 (15:58 -0700)
committerHeiko Schocher <hs@denx.de>
Tue, 23 Jul 2013 06:34:58 +0000 (08:34 +0200)
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>
include/fdtdec.h
lib/fdtdec.c

index bdefda49587801bb9616717de901e4d3ab436e67..c5d3b2b292189ff1d644e666c0172652c400c5bf 100644 (file)
@@ -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,
 };
index 1b3c810588b66a9064bc080da51776c5f8136768..4d1f3fedab6addc31ab372e5cec3153df9d0c761 100644 (file)
@@ -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)