[U-Boot] [PATCH V3 3/6] FDT: Exynos5420: Add compatible srings for PMIC
Leela Krishna Amudala
l.krishna at samsung.com
Tue Nov 12 11:04:41 CET 2013
Add required compatible strings for PMIC S2MPS11
Signed-off-by: Leela Krishna Amudala <l.krishna at samsung.com>
Acked-by: Simon Glass <sjg at chromium.org>
---
include/fdtdec.h | 1 +
lib/fdtdec.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 6bf83bf..6290078 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -85,6 +85,7 @@ enum fdt_compat_id {
COMPAT_INFINEON_SLB9635_TPM, /* Infineon SLB9635 TPM */
COMPAT_INFINEON_SLB9645_TPM, /* Infineon SLB9645 TPM */
COMPAT_SAMSUNG_EXYNOS5_I2C, /* Exynos5 High Speed I2C Controller */
+ COMPAT_SAMSUNG_S2MPS11_PMIC, /* S2MPS11 PMIC */
COMPAT_COUNT,
};
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index dc35856..0ea1c08 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -58,6 +58,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),
COMPAT(INFINEON_SLB9645_TPM, "infineon,slb9645-tpm"),
COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
+ COMPAT(SAMSUNG_S2MPS11_PMIC, "samsung,s2mps11-pmic"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)
--
1.7.10.4
More information about the U-Boot
mailing list