diff mbox

[v4,3/3] EXYNOS5: FDT: Add compatible strings for USB

Message ID 1357637705-10446-3-git-send-email-gautam.vivek@samsung.com
State Accepted
Commit 6abd1620beeb96f64c85f4fac8336fcb523b912e
Headers show

Commit Message

Vivek Gautam Jan. 8, 2013, 9:35 a.m. UTC
From: Rajeshwari Shinde <rajeshwari.s@samsung.com>

Add required compatible information for USB

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
---

Changes in v4:
        - Rebased on top of u-boot-samsung/master.

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(-)

Comments

Minkyu Kang Jan. 8, 2013, 12:20 p.m. UTC | #1
On 08/01/13 18:35, Vivek Gautam wrote:
> From: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> 
> Add required compatible information for USB
> 
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> Acked-by: Simon Glass <sjg@chromium.org>
> ---
> 
> Changes in v4:
>         - Rebased on top of u-boot-samsung/master.
> 
> 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(-)
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.
diff mbox

Patch

diff --git a/include/fdtdec.h b/include/fdtdec.h
index ce10bf4..0d3417b 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -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,
 };
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index aa75710..4416670 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -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)