Skip to content

Commit

Permalink
EXYNOS5: FDT: Add compatible strings for PMIC
Browse files Browse the repository at this point in the history
Add required compatible information for PMIC

Signed-off-by: Rajeshwari Shinde <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
  • Loading branch information
Rajeshwari Shinde authored and MinkyuKang committed Jan 10, 2013
1 parent c6d647e commit cd577e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/fdtdec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
1 change: 1 addition & 0 deletions lib/fdtdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd577e2

Please sign in to comment.