From patchwork Tue Jan 8 09:35:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 13912 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9716D23E21 for ; Tue, 8 Jan 2013 09:28:32 +0000 (UTC) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by fiordland.canonical.com (Postfix) with ESMTP id 36D52A18259 for ; Tue, 8 Jan 2013 09:28:32 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id gb23so162682vcb.0 for ; Tue, 08 Jan 2013 01:28:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-auditid:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:dlp-filter:x-mtr:x-brightmail-tracker :x-brightmail-tracker:x-cfilter-loop:x-gm-message-state; bh=jP7vT7xVKiF+BchRvb16A/UaIqPh8RunTDjUw8+yUV4=; b=OmSCa+jGyL9K7rWhidwse5ownjLnhXKlp2ciwR7alE1SuUE3hVTOitdNrFN53mldjd WmWY/1W3rEmbcxM0B5s/0kZQugQQK4suswj8T0YyjVSj96c+mb2va/PqXNPdDdxp3KlP sAklcAL4VaUx50v4s7skIsBMsU0ASNWbAO2QWp3SqEB/evoMfe8+8F0TU7s/etcc37/Z xrbntLzdTqbYDm03hZjFAJaE5ncJLEt4h3ePo4XA2Guvba0lF/obbAyKUChwncVZGtp6 /UhuUnB7er9TWcQgFLJtJUN1YjRwqSFqoTY64v/g81clyK29ygVGefjIVZ/Fz+DA1HzU 5z2Q== X-Received: by 10.220.238.139 with SMTP id ks11mr84008143vcb.49.1357637311710; Tue, 08 Jan 2013 01:28:31 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp101017veb; Tue, 8 Jan 2013 01:28:31 -0800 (PST) X-Received: by 10.68.223.131 with SMTP id qu3mr195992935pbc.89.1357637310556; Tue, 08 Jan 2013 01:28:30 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id yf4si61922374pbc.321.2013.01.08.01.28.30; Tue, 08 Jan 2013 01:28:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of gautam.vivek@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of gautam.vivek@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=gautam.vivek@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MGA00KTTVMFWHM0@mailout2.samsung.com> for patches@linaro.org; Tue, 08 Jan 2013 18:28:29 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3A.B1.12699.CB6EBE05; Tue, 08 Jan 2013 18:28:28 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-18-50ebe6bc9f03 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 89.B1.12699.CB6EBE05; Tue, 08 Jan 2013 18:28:28 +0900 (KST) Received: from vivekkumarg-linuxpc.sisodomain.com ([107.108.73.134]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MGA007GGVMY1E30@mmp2.samsung.com> for patches@linaro.org; Tue, 08 Jan 2013 18:28:28 +0900 (KST) From: Vivek Gautam To: u-boot@lists.denx.de Cc: patches@linaro.org, marex@denx.de, sjg@chromium.org, kmpark@infradead.org, rajeshwari.s@samsung.com, joshi@samsung.com Subject: [PATCH v4 3/3] EXYNOS5: FDT: Add compatible strings for USB Date: Tue, 08 Jan 2013 15:05:05 +0530 Message-id: <1357637705-10446-3-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.6.5 In-reply-to: <1357637705-10446-1-git-send-email-gautam.vivek@samsung.com> References: <1357637705-10446-1-git-send-email-gautam.vivek@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkRnfPs9cBBus+2lhMOfyFxYHR4861 PWwBjFFcNimpOZllqUX6dglcGRMvPGQq6OKpWHaxib2B8RdnFyMnh4SAicSjj9fYIWwxiQv3 1rN1MXJxCAksZZQ4O+EnE0zRp/Wf2CES0xklvmzfzwLhrGKSOPH5GCNIFZuArkTT211gtoiA hMSv/qtANgcHs0CNxN6F8SBhYQEXia//n7GC2CwCqhK/T31mBSnhFfCQOHPJAmKXgsSb28+Y QWxOAU+JgzsbwSYKAZU8vtnHDtEqIPFt8iEWkFYJAVmJTQeYQa6RELjOJnG/+TgLxBxJiYMr brBMYBRewMiwilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyMwBE//eya9g3FVg8UhRgEORiUe 3ksxrwOEWBPLiitzDzFKcDArifDa7wMK8aYkVlalFuXHF5XmpBYfYvQBumQis5Rocj4wPvJK 4g2NTcxNjU0tjYzMTE1xCCuJ8zKeehIgJJCeWJKanZpakFoEM46Jg1OqgZG7ojel9cer9FN9 i95VyMmLePm4vTqbMi1g1rZ5CV+4b7uJeDGKzzVZteftWfPQj+YyG06uCLXanDKlIefLtQKF /c47b8yK//nc5Vn3CaMWwyhZX+dzfE3Sxb/XTuZz0sjheLH6/jbVexFSqbwFj29uzIoWZVt0 hft1w7XaGz+6tT/92DHbWFqJpTgj0VCLuag4EQBfcyKrbgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoO6eZ68DDLY/0LGYcvgLiwOjx51r e9gCGKMaGG0yUhNTUosUUvOS81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJz gMYqKZQl5pQChQISi4uV9O0wTQgNcdO1gGmM0PUNCYLrMTJAAwlrGDMmXnjIVNDFU7HsYhN7 A+Mvzi5GTg4JAROJT+s/sUPYYhIX7q1n62Lk4hASmM4o8WX7fhYIZxWTxInPxxhBqtgEdCWa 3u4Cs0UEJCR+9V8Fsjk4mAVqJPYujAcJCwu4SHz9/4wVxGYRUJX4feozK0gJr4CHxJlLFhC7 FCTe3H7GDGJzCnhKHNzZCDZRCKjk8c0+9gmMvAsYGVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn 525iBAf4M+kdjKsaLA4xCnAwKvHwXop5HSDEmlhWXJl7iFGCg1lJhNd+H1CINyWxsiq1KD++ qDQntfgQow/QUROZpUST84HRl1cSb2hsYm5qbGppYmFiZolDWEmcl/HUkwAhgfTEktTs1NSC 1CKYcUwcnFINjNMXaVysYZ7xSK5p3m5HyaUHJ04oerIkIDc8ouAb/wLb4+2RO925Ol4Lfbs2 N/jwKXfneY3L/l6MabzQtab5rILLyXZDy2Ntd+WrVAu+me6RydNeyOtsbVV/pe3d3i+b3s4X yONbdM8iTvW0xtIPX+P95vOUmE76b8Q8lW/S4oSd5+dwZdy9Uq3EUpyRaKjFXFScCAAj+3n/ nQIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnwbbvz9azWCeUVReuwdVITCkX1M8m3zxgVcpCWfFJRh7s5rP21YlSVET/mY4uUogYsg/4U From: Rajeshwari Shinde Add required compatible information for USB Signed-off-by: Vivek Gautam Acked-by: Simon Glass --- 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(-) 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)