summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-01-08 21:03:38 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-01-10 10:12:50 +0900
commitcd577e2b58a9d6c1655f2ffbad4a39eec505f357 (patch)
treeb5db55639802941fb4a4ac3a57a845e0fd4d938c
parentc6d647e3094b4123c9c6e27765221762753f00be (diff)
downloadu-boot-imx-cd577e2b58a9d6c1655f2ffbad4a39eec505f357.zip
u-boot-imx-cd577e2b58a9d6c1655f2ffbad4a39eec505f357.tar.gz
u-boot-imx-cd577e2b58a9d6c1655f2ffbad4a39eec505f357.tar.bz2
EXYNOS5: FDT: Add compatible strings for PMIC
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>
-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 0d3417b..f77d195 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -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,
};
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 4416670..16921e1 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -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)