From patchwork Thu Dec 27 06:03:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13712 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 7487D23F74 for ; Thu, 27 Dec 2012 05:57:01 +0000 (UTC) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by fiordland.canonical.com (Postfix) with ESMTP id 0CDE4A1882C for ; Thu, 27 Dec 2012 05:57:00 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id fc26so9442823vbb.17 for ; Wed, 26 Dec 2012 21:57:00 -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=/KICQh4P34TnOAUZ34isSRwVcgShxoZC3zc/iHPsFoA=; b=NuCDSrw7L7cbaCCrN3Gh2HijcxLGHtCxhk0Wu88vS8lLZMykZuSWRgPMa7Q0w44Ofl n6sA6ub8+hVZIUyRho5dV+TqYIQ1VcnNF9WWw4MA7BgWmw/02ZdLfBPS98TH7ZsuSql/ q7B+S9vDvxREajjufImKIx+3m9/7ZcCqpFiGEp6Jk2wUn7H3k8FnJHioX0WbWZGRnI9q Dl57YSYuQOlQ0Inrow8OaS7khqCKjQRihBbeEigkhJb7NqrZ45O7i9aX3isqLjyHWcjY cERLkulYnPggFW+h5zpcne/W0NiKXRd3ohcKXUbgpYlXv5v7fIz5mWujc7ILcjF+OywA 9b6Q== X-Received: by 10.52.176.6 with SMTP id ce6mr39327091vdc.57.1356587820540; Wed, 26 Dec 2012 21:57:00 -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 oc3csp4986vec; Wed, 26 Dec 2012 21:57:00 -0800 (PST) X-Received: by 10.66.78.168 with SMTP id c8mr87371687pax.16.1356587818303; Wed, 26 Dec 2012 21:56:58 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id g10si24547695pay.230.2012.12.26.21.56.57; Wed, 26 Dec 2012 21:56:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@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 rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MFO008WKDU5I5M0@mailout4.samsung.com>; Thu, 27 Dec 2012 14:56:57 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 2F.51.12699.923EBD05; Thu, 27 Dec 2012 14:56:57 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-e6-50dbe3297f5d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9B.51.12699.723EBD05; Thu, 27 Dec 2012 14:56:55 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFO009UDDU79J90@mmp1.samsung.com>; Thu, 27 Dec 2012 14:56:55 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org Subject: [PATCH 13/16 V2] EXYNOS5: FDT: Add compatible strings for SPI Date: Thu, 27 Dec 2012 11:33:20 +0530 Message-id: <1356588203-24838-14-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1356588203-24838-1-git-send-email-rajeshwari.s@samsung.com> References: <1356588203-24838-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkRlfz8e0Ag8lHOS0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlXJp+grVgD2fFhHNdbA2M39m7GDk5JARMJGZdvcYE YYtJXLi3nq2LkYtDSGApo8TMDyeYYYqaPnYzQyQWMUqcerGPCcKZyCQx9/o0NpAqNgEjia0n pzGC2CICEhK/+q+C2cwCMRKv9/8AqxEWcJPY2TYLLM4ioCqxYttbVhCbV8BT4urax1AnKUgc m/oVLM4JFJ9wZRlYvZCAh8SXPefZIHoFJL5NPsTSxcgBVC8rsekA2HESAtfZJObP3QX1jqTE wRU3WCYwCi9gZFjFKJpakFxQnJSea6RXnJhbXJqXrpecn7uJERiQp/89k97BuKrB4hCjAAej Eg+vovXtACHWxLLiytxDjBIczEoivNM3A4V4UxIrq1KL8uOLSnNSiw8x+gBdMpFZSjQ5Hxgt eSXxhsYm5qbGppZGRmampjiElcR5mz1SAoQE0hNLUrNTUwtSi2DGMXFwSjUwpmRXt+2ynDwl 44uYF1e1BY+NaCHbZIdb97X0F88xYT222mh5rK+a9FM/oVuPZ0W9s3wRstVFK2j1it+OhpIP 1Xz8O5P/TeXnFu35Y8nrErJX3Pxw/O9YtgnK++td1Dhtr7izX9Tu07lcfkJnwaLgKMMKWc8d W3LyVwmaeahI1pbPy/C9sFSJpTgj0VCLuag4EQAn36JRdQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jAV31x7cDDA7sVbF4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmHFp+gnWgj2c FRPOdbE1MH5n72Lk5JAQMJFo+tjNDGGLSVy4t56ti5GLQ0hgEaPEqRf7mCCciUwSc69PYwOp YhMwkth6chojiC0iICHxq/8qmM0sECPxev8PsBphATeJnW2zwOIsAqoSK7a9ZQWxeQU8Ja6u fQy1WUHi2NSvYHFOoPiEK8vA6oUEPCS+7DnPNoGRdwEjwypG0dSC5ILipPRcI73ixNzi0rx0 veT83E2M4HB/Jr2DcVWDxSFGAQ5GJR5eRevbAUKsiWXFlbmHGCU4mJVEeKdvBgrxpiRWVqUW 5ccXleakFh9i9AG6aiKzlGhyPjAW80riDY1NzE2NTS1NLEzMLHEIK4nzNnukBAgJpCeWpGan phakFsGMY+LglGpgTFpuFfbZnGHxtuduKxfv4lbK3njh93fN79w3dk7hbbl/L0A//KGkz8kr 8p2GTEvPNl1V21U8++vOcHGrJzm6k5yqvrIqHb1lfCUsOvXJx+NT74ocY5vFH3hnUkxb2Ml7 Meantx/o25PLFCgp9Mg7be1DV5azlkJJmukPV3j+u+hx/SPDpwfsIUosxRmJhlrMRcWJAAk/ oeGkAgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQk31pNYIwPnrdCoBMgXdewOSihnrRtA+V/T8haFH9/w3KvFyN0bsUTA09PNdQQBuAKMPl8S Add required compatible information for SPI driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes since V1: - None include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index bb1bc2a..ce10bf4 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -75,6 +75,7 @@ enum fdt_compat_id { COMPAT_SAMSUNG_S3C2440_I2C, /* Exynos I2C Controller */ COMPAT_SAMSUNG_EXYNOS5_SOUND, /* Exynos Sound */ COMPAT_WOLFSON_WM8994_CODEC, /* Wolfson WM8994 Sound Codec */ + COMPAT_SAMSUNG_EXYNOS_SPI, /* Exynos SPI */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 3e159a1..aa75710 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -50,6 +50,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"), COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"), COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"), + COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)