From patchwork Mon Dec 31 10:58:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amar X-Patchwork-Id: 13749 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 DFB8823E03 for ; Mon, 31 Dec 2012 10:36:15 +0000 (UTC) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by fiordland.canonical.com (Postfix) with ESMTP id 8C235A18257 for ; Mon, 31 Dec 2012 10:36:15 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id f13so12630277vcb.4 for ; Mon, 31 Dec 2012 02:36:15 -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=3kls9ZVqxMhiJkUORYV365Se32XpY3y5xkaupZ7VogU=; b=AwjK+pix2P84i7ReV5AgzVdJLrAzxKSffur61AHZlEJNjFXJA7yuynUQDfvpLRXCIK 8hP2sCEaHjpHLCj+3+wbNR2JdS6Pp/fBBjDnRp6hXgqkojpX+goVSYXUlSqiqp8EH+FA zQbCo+9rdPD1x3HUXuyjlyCbEoTam21w1c0VXSEalX/0BzHlEXVfqO3LUyDvQQxeF1Uc ziy4BoBSy2A+DDLeB3BY8HGFQ4W+3Op/gBS5Lwhb9jfgEbdMwalFFzCzP90QcAo7L0yo FyPyK4hC3GTSmB0PrN1X2Yfjq8efkQuJzr/0PDONYOg3SsIhFffjOnn4gOvvsYfHnTUA Xn6Q== X-Received: by 10.220.157.9 with SMTP id z9mr63288528vcw.45.1356950175041; Mon, 31 Dec 2012 02:36:15 -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.214.195 with SMTP id oc3csp153804vec; Mon, 31 Dec 2012 02:36:14 -0800 (PST) X-Received: by 10.66.85.103 with SMTP id g7mr119735464paz.45.1356950172628; Mon, 31 Dec 2012 02:36:12 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id vy7si38977548pbc.126.2012.12.31.02.36.12; Mon, 31 Dec 2012 02:36:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.34 as permitted sender) smtp.mail=amarendra.xt@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MFW009QX5G7FY70@mailout4.samsung.com>; Mon, 31 Dec 2012 19:36:11 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 35.B2.01231.B9A61E05; Mon, 31 Dec 2012 19:36:11 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-5b-50e16a9b79cb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C4.B2.01231.B9A61E05; Mon, 31 Dec 2012 19:36:11 +0900 (KST) Received: from chrome-ubuntu.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFW00JL05G0TP80@mmp1.samsung.com>; Mon, 31 Dec 2012 19:36:11 +0900 (KST) From: Amar To: u-boot@lists.denx.de, jh80.chung@samsung.com Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, afleming@gmail.com Subject: [PATCH V3 1/9] FDT: Add compatible string for DWMMC Date: Mon, 31 Dec 2012 05:58:12 -0500 Message-id: <1356951500-22490-2-git-send-email-amarendra.xt@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1356951500-22490-1-git-send-email-amarendra.xt@samsung.com> References: <1356951500-22490-1-git-send-email-amarendra.xt@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsWyRsSkSnd21sMAgw2fZSwerr/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBl3Fzyk7FgF1fF7WuzmRoYn3J0MXJySAiYSCxfvIIF whaTuHBvPVsXIxeHkMBSRolpc78xwxT1HbrNDJFYxCjxY/U6RpCEkEAvk8SdJSZdjBwcbAKq Er8W24OERQQMJKY/2c4KEmYWKJB4tlsMJCwsYCMx4eUtJpAwC1D1trfiICavgIfEl+txEIvk JD7secQOYnMKeEqc3rKDGWKPh8TN7oVgcRYBAYlvkw+xgLRKCMhKbDoAdpeEwG02idv3PrFD zJGUOLjiBssERuEFjAyrGEVTC5ILipPScw31ihNzi0vz0vWS83M3MQLD8PS/Z1I7GFc2WBxi FOBgVOLh5WJ6GCDEmlhWXJl7iFGCg1lJhPetFlCINyWxsiq1KD++qDQntfgQow/QJROZpUST 84ExklcSb2hsYm5qbGppZGRmaopDWEmct9kjJUBIID2xJDU7NbUgtQhmHBMHp1QD4/Gbkiod nvavDKdkK7IZrl9+8MI1tWWdB1ssOpacmfjFKjKLafn5v9cnHr1nupH5QHW94MJ9107M3+c1 Z0q9tcSfkpKed9Prt3Te4NXwYOlmkuHjZ15d7yKxOCm+ds/nmU8v2OW9+eu8eonP6sJ9uwvT H65skBZkmXBn0fuP3TKGc8+f+ZKToKnEUpyRaKjFXFScCABcCGMEcAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42I5/e+xgO7srIcBBtd/8Fs8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzLi55CdjwS6u itvXZjM1MD7l6GLk5JAQMJHoO3SbGcIWk7hwbz1bFyMXh5DAIkaJH6vXMYIkhAR6mSTuLDHp YuTgYBNQlfi12B4kLCJgIDH9yXZWkDCzQIHEs91iIGFhARuJCS9vMYGEWYCqt70VBzF5BTwk vlyPg1gkJ/FhzyN2EJtTwFPi9JYdzBB7PCRudi9kn8DIu4CRYRWjaGpBckFxUnquoV5xYm5x aV66XnJ+7iZGcJA/k9rBuLLB4hCjAAejEg8vF9PDACHWxLLiytxDjBIczEoivG+1gEK8KYmV ValF+fFFpTmpxYcYfYBumsgsJZqcD4zAvJJ4Q2MTc1NjU0sTCxMzSxzCSuK8zR4pAUIC6Ykl qdmpqQWpRTDjmDg4pRoYTaXiHrhnGvvYcl5T/7TOzW2jDOOKtytXTjqfm9f642dE0up+q4od Fafkb9lfSfqnuqKQZfrOWR6xkf+f1Su1n/X7VsMmuzKtLFh2+Tuf+n05xpEeJou0GITrZZ8d 4sz9v7U0+VzzlZIe8z7nC61/T8zVWL9u3fHZm85wh56JtNjK3xbcemimEktxRqKhFnNRcSIA HclZo58CAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQlM2Gt1oxNfVx0ART6keXiSMEH2JOL6atlbKSFY8JI73WFJYQ9pYorII/ohqrcaOaCDnH5A Add required compatible information for DWMMC driver. Changes from V1: No change. Changes from V2: 1)Updation of commit message and resubmition of proper patch set. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index ce10bf4..dcd4142 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -76,6 +76,7 @@ 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_EXYNOS5_DWMMC, /* Exynos5 DWMMC controller */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index aa75710..646d5d6 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -51,6 +51,7 @@ 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_EXYNOS5_DWMMC, "samsung,exynos5250-dwmmc"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)