From patchwork Thu Jan 3 15:12:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,v3,3/3] EXYNOS5: FDT: Add compatible strings for USB Date: Thu, 03 Jan 2013 05:12:57 -0000 From: Vivek Gautam X-Patchwork-Id: 209302 Message-Id: <1357225977-13346-3-git-send-email-gautam.vivek@samsung.com> To: u-boot@lists.denx.de Cc: marex@denx.de, Rajeshwari Shinde , patches@linaro.org From: Rajeshwari Shinde Add required compatible information for USB Signed-off-by: Vivek Gautam Acked-by: Simon Glass --- Changes in v3: - Added compatible string for USB PHY controller. Changes in v2: - None. include/fdtdec.h | 2 ++ lib/fdtdec.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 12587f9..c18108e 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -72,6 +72,8 @@ enum fdt_compat_id { COMPAT_NVIDIA_TEGRA20_DC, /* Tegra 2 Display controller */ COMPAT_SMSC_LAN9215, /* SMSC 10/100 Ethernet LAN9215 */ COMPAT_SAMSUNG_EXYNOS5_SROMC, /* Exynos5 SROMC */ + COMPAT_SAMSUNG_EXYNOS_EHCI, /* Exynos EHCI controller */ + COMPAT_SAMSUNG_EXYNOS_USB_PHY, /* Exynos phy controller for usb2.0 */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index adebd79..4682d1b 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -47,6 +47,8 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(NVIDIA_TEGRA20_DC, "nvidia,tegra20-dc"), COMPAT(SMSC_LAN9215, "smsc,lan9215"), COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), + 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)