Skip to content

Commit

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

Signed-off-by: Vivek Gautam <[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 8, 2013
1 parent 69c6f97 commit 6abd162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/fdtdec.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ enum fdt_compat_id {
COMPAT_SAMSUNG_EXYNOS5_SOUND, /* Exynos Sound */
COMPAT_WOLFSON_WM8994_CODEC, /* Wolfson WM8994 Sound Codec */
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_COUNT,
};
Expand Down
2 changes: 2 additions & 0 deletions lib/fdtdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"),
COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"),
COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"),
COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
};

const char *fdtdec_get_compatible(enum fdt_compat_id id)
Expand Down

0 comments on commit 6abd162

Please sign in to comment.