From patchwork Fri Dec 28 15:52:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amar X-Patchwork-Id: 13741 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 ECF4523EF7 for ; Fri, 28 Dec 2012 15:30:43 +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 92AAEA181DF for ; Fri, 28 Dec 2012 15:30:43 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id gb23so10790864vcb.14 for ; Fri, 28 Dec 2012 07:30:43 -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=LHw3zUQLi5yDXMFx5wdn5EVuwz3CqUJKokF+mtZ6aHs=; b=ItOCX1u1/1UNHuf3kkGhZfwrwEmGE+tQxVvrq1ynsx2NNuYmOzkSfQTvPbpH92UNgD xbNI8boRhAl/ntuwojduviIUwQdZxBnPN9NMSgFefeTLd0wnqgxx/plO8k2ghA0Wxowz WRxQ3IdoH6FFK7GeSGzqLhwNKX7S7L2K7w+RL4+OnrKttZlpJ2OxvNIDxT7E8YAh1qUG SEJynG8gB2H2WBgc6stQtqZyHYXocankso+6t8KTgiOze+Zb5IrYA3ezWxLV6S8dWTrz zQkF91sFG3qWDM3UzSIvRCNH/vu/SbUadEqKub4j3z68pIgaZHAK3oXlbhdfn0yESpLi XqFg== X-Received: by 10.220.238.139 with SMTP id ks11mr50755794vcb.49.1356708643075; Fri, 28 Dec 2012 07:30:43 -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 oc3csp63556vec; Fri, 28 Dec 2012 07:30:42 -0800 (PST) X-Received: by 10.68.131.8 with SMTP id oi8mr105167315pbb.29.1356708641666; Fri, 28 Dec 2012 07:30:41 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id j9si32739117pay.318.2012.12.28.07.30.41; Fri, 28 Dec 2012 07:30:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of amarendra.xt@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 amarendra.xt@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=amarendra.xt@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 <0MFQ00FKXZ2XGR70@mailout2.samsung.com>; Sat, 29 Dec 2012 00:30:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 90.DE.12699.02BBDD05; Sat, 29 Dec 2012 00:30:40 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-4c-50ddbb200073 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 30.DE.12699.02BBDD05; Sat, 29 Dec 2012 00:30:40 +0900 (KST) Received: from chrome-ubuntu.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFQ008MSZ2SO710@mmp2.samsung.com>; Sat, 29 Dec 2012 00:30:40 +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 1/9] FDT: Add compatible string for DWMMC Date: Fri, 28 Dec 2012 10:52:44 -0500 Message-id: <1356709972-26549-2-git-send-email-amarendra.xt@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1356709972-26549-1-git-send-email-amarendra.xt@samsung.com> References: <1356709972-26549-1-git-send-email-amarendra.xt@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWyRsSkRldh990Ag4tP5S0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlvN6+gL1gOmfF1Lmt7A2Mj9m7GDk5JARMJF72zGSF sMUkLtxbz9bFyMUhJLCUUWJH01LmLkYOsKIJPc4Q8emMEn+fzWCFcHqZJObv2sYCUsQmoCrx a7E9yCARAQOJ6U+2s4KEmQUKJJ7tFgMJCwtYSsz6eAtsFwtQ9YM/v1hAbF4BD4n2aRugbpCT +LDnEdhtnAKeEo+eLWIGsYWAaq5u2sUG0Ssg8W3yIRaI02QlNh1gBrlGQuA+m8Trvz3MEHMk JQ6uuMEygVF4ASPDKkbR1ILkguKk9FwjveLE3OLSvHS95PzcTYzAUDz975n0DsZVDRaHGAU4 GJV4eBf13AkQYk0sK67MPcQowcGsJMLb13w3QIg3JbGyKrUoP76oNCe1+BCjD9AlE5mlRJPz gXGSVxJvaGxibmpsamlkZGZqikNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVAOjMuPzHJEJ YYcDqsSPdYVODlxUfWRqBsPLjhuzuyull1QnfzO7lW657YJX3PXGhRwOHP2axm0yrdskOsQn fWNhy5QQcb3dVm9iyrnFc/v7ntPSZ73VND3u7zq+kydu8mpHkQvxKc/DeRZ8CmiKjMz/1c+u 8nwNe+nrTY4X9+/2/SSyxEPK6a8SS3FGoqEWc1FxIgDJLgxdcgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42I5/e+xoK7C7rsBBucPSVg8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzHi9fQF7wXTO iqlzW9kbGB+zdzFycEgImEhM6HHuYuQEMsUkLtxbz9bFyMUhJDCdUeLvsxmsEE4vk8T8XdtY QBrYBFQlfi22B2kQETCQmP5kOytImFmgQOLZbjGQsLCApcSsj7dYQWwWoOoHf36xgNi8Ah4S 7dM2sELskpP4sOcRO4jNKeAp8ejZImYQWwio5uqmXWwTGHkXMDKsYhRNLUguKE5KzzXSK07M LS7NS9dLzs/dxAgO9GfSOxhXNVgcYhTgYFTi4V3UcydAiDWxrLgy9xCjBAezkghvX/PdACHe lMTKqtSi/Pii0pzU4kOMPkBXTWSWEk3OB0ZhXkm8obGJuamxqaWJhYmZJQ5hJXHeZo+UACGB 9MSS1OzU1ILUIphxTBycUg2MU+TmvrVd0zVxyaK+tDvy1g8mqSnYatr2K4TcmaUk9VwjX3qS 46Eb27IEdm6Se2L7Knbpre022dvkJsnyX/7slZV3cM356QuUUx+1GOpIG7mHrn8n8eDg7b2M hpw9X+xOGCSdeu8v9slu7gWFVxEs2THx+7putt7vumn25PgD1oZw//Cd/rYeSizFGYmGWsxF xYkACfIsWKECAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQlAhkuiqhqegfI9HcvP/s08c6YVHqdxw3fUL96LTqWgye8txM1gMLM0goY91zol2yBsNYjD Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar --- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 539bb1b..f09c281 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -74,6 +74,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 44c249d..6597661 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)