From patchwork Fri Jan 4 09:34:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amar X-Patchwork-Id: 13790 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 F26FC23EDC for ; Fri, 4 Jan 2013 09:12:11 +0000 (UTC) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by fiordland.canonical.com (Postfix) with ESMTP id 8402BA18F7C for ; Fri, 4 Jan 2013 09:12:11 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id l6so2498202vcl.9 for ; Fri, 04 Jan 2013 01:12:11 -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=OvLsIkBzkOqgfDj0B9H7rjEKJzYXlSv3QnkB6Aa7Qos=; b=leskOdLqKvD8w9TuYadlTC0t3pEQ04mzj+p+EpqbFqpAd9BErk0w3exltcyDfSOUq4 BaVf2I64oAkHXJc4ekf9UKA3ZxXdGspMLyFi6xfLIN1QOi50BFMa66wggl+farbtd7WE vIlOYXg7/E9s3ftjBtq98i7IJyP4XOY5hnjUoDqFaKhyAf3D2vH7ROZ6o57KzGPA1UoH yfvMJtBGkoshh22WIIwNWk6HojjFijHgQmn/eddeDGuK7DE+zhTVA0TPSDKrYxZ1WqhV mJNIq7JeFwscTuV5X8E3PNXZKBFXScuo5eEdBsMCNFjp0HwowWW9iukW4gm0CVGLXLes DeQw== X-Received: by 10.58.247.132 with SMTP id ye4mr79056984vec.9.1357290731035; Fri, 04 Jan 2013 01:12:11 -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 st5csp128036veb; Fri, 4 Jan 2013 01:12:10 -0800 (PST) X-Received: by 10.69.0.8 with SMTP id au8mr161955858pbd.58.1357290727481; Fri, 04 Jan 2013 01:12:07 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id n6si50340325paw.341.2013.01.04.01.12.07; Fri, 04 Jan 2013 01:12:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=amarendra.xt@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MG300AEHG7XGLC0@mailout1.samsung.com>; Fri, 04 Jan 2013 18:12:06 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 75.50.01231.5EC96E05; Fri, 04 Jan 2013 18:12:05 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-b7-50e69ce58d36 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C4.50.01231.5EC96E05; Fri, 04 Jan 2013 18:12:05 +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 <0MG30081AG7XXLA0@mmp1.samsung.com>; Fri, 04 Jan 2013 18:12:05 +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 V4 1/9] FDT: Add compatible string for DWMMC Date: Fri, 04 Jan 2013 04:34:02 -0500 Message-id: <1357292050-12137-2-git-send-email-amarendra.xt@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1357292050-12137-1-git-send-email-amarendra.xt@samsung.com> References: <1357292050-12137-1-git-send-email-amarendra.xt@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRsSkWvfpnGcBBvsbbCwerr/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBl3P+/lrngNlfF/20LWRoY/3B0MXJySAiYSLQ+vs8G YYtJXLi3Hsjm4hASWMoocff5GjaYointC6ASixglfs3exgLh9DJJfP3bwtjFyMHBJqAq8Wux PUiDiICBxPQn21lBwswCBRLPdouBhIUFbCROH/3FDmKzAFU/uf6ZEcTmFfCQuL3uKNQuOYkP ex6xg7RyCnhKbLoiAmIKAZVcPVQC0Skg8W3yIRaQsISArMSmA8wgt0gI3GaTuHp6DSPEFEmJ gytusExgFF7AyLCKUTS1ILmgOCk911CvODG3uDQvXS85P3cTIzAQT/97JrWDcWWDxSFGAQ5G JR5eyztPA4RYE8uKK3MPMUpwMCuJ8H7WfhYgxJuSWFmVWpQfX1Sak1p8iNEH6JKJzFKiyfnA KMkriTc0NjE3NTa1NDIyMzXFIawkzst46kmAkEB6YklqdmpqQWoRzDgmDk6pBsYLi9c+PuD/ /ktsc26C0Ze3R9ZVPzA8Gf/9VIfv4U3xD2/fELr0pv3HNp2ylG6hHxsSKgovn5h6ctbre4Fr riW6VFQ/ehxjrNXt8l7vyJU+0xNdbcq7Js3Yupgx8+zXokN/ukIuu6wVeC7877pnndFp380B cwwXLZplFMTXF/xR7xGT0/XvUQI3lFiKMxINtZiLihMBb43nCXECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e+xgO7TOc8CDN7807d4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmHH//1rmgttc Ff+3LWRpYPzD0cXIySEhYCIxpX0BG4QtJnHh3nogm4tDSGARo8Sv2dtYIJxeJomvf1sYuxg5 ONgEVCV+LbYHaRARMJCY/mQ7K0iYWaBA4tluMZCwsICNxOmjv9hBbBag6ifXPzOC2LwCHhK3 1x2F2iUn8WHPI3aQVk4BT4lNV0RATCGgkquHSiYw8i5gZFjFKJpakFxQnJSea6hXnJhbXJqX rpecn7uJERzmz6R2MK5ssDjEKMDBqMTDa3nnaYAQa2JZcWXuIUYJDmYlEd7P2s8ChHhTEiur Uovy44tKc1KLDzH6AN00kVlKNDkfGIN5JfGGxibmpsamliYWJmaWOISVxHkZTz0JEBJITyxJ zU5NLUgtghnHxMEp1cDY9FCwMriK9SjLp3PRz/2y580/OX9iweyzt3TmmTNJHWL6w3ddu7g+ 4b/frzPKN3SDr756s6z+S9ibIgavfatbeYK3ybhd2iE+sexa8/tpV7YcfBSod3/GyyX66uLK s2pdeVu+cpas8eieF3x5bRTLJrmGfMWji+W9dvvkrb79ax/PzSObAu8vUGIpzkg01GIuKk4E AD2hJnGgAgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQmKs2LdmjPnkDHMWpBo4lwA81JZkyCGIEfkPiLq8ZVPVw08OugZcolfxW0KQ0zIH+xjkHK5 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. Changes from V3: No change. 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)