EXYNOS5: FDT: Add compatible strings for PMIC
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Tue, 8 Jan 2013 21:03:38 +0000 (21:03 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 10 Jan 2013 01:12:50 +0000 (10:12 +0900)
Add required compatible information for PMIC

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/fdtdec.h
lib/fdtdec.c

index 0d3417b067d060b09fb9b19e4c03ecf31c8cda9c..f77d195630bc088a6d2c82d62f2ee6e3ebb24162 100644 (file)
@@ -78,6 +78,7 @@ enum fdt_compat_id {
        COMPAT_SAMSUNG_EXYNOS_SPI,      /* Exynos SPI */
        COMPAT_SAMSUNG_EXYNOS_EHCI,     /* Exynos EHCI controller */
        COMPAT_SAMSUNG_EXYNOS_USB_PHY,  /* Exynos phy controller for usb2.0 */
+       COMPAT_MAXIM_MAX77686_PMIC,     /* MAX77686 PMIC */
 
        COMPAT_COUNT,
 };
index 4416670699ee9b506b0b2c8ef569815a73f7379f..16921e14c9c3ce31b2510cb1f66a16c755d886ef 100644 (file)
@@ -53,6 +53,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
        COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"),
        COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
        COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
+       COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"),
 };
 
 const char *fdtdec_get_compatible(enum fdt_compat_id id)