From patchwork Fri Dec 14 11:56:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13579 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 F067C23FC0 for ; Fri, 14 Dec 2012 11:58:40 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8A16AA18286 for ; Fri, 14 Dec 2012 11:58:40 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so5710884ieb.11 for ; Fri, 14 Dec 2012 03:58:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to: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=jGzFjgdHUXg+s9ve9ReXirqe0O4waCGCn9Kv26CkiHY=; b=kRYIZB7R8gWrislkwE+BF8UAWli8sysFF1EiZj8Dddtukma9SRD2QUwlAbJ93zYvhG n+694VU+yEIVB4iRet5/Z8fLnxJ8Yf8ktPVEV2q+oyfezm5WNAW/jpoU1DZO4gyGAoPf ylTh6xHmW4bxuDCUC49jYECe/ERcCEzKfTSiXZIuoXQsqHi/axr37z9V8qRFUlBqOPqe F4UseCXmhzCu7mU8SkPoZYlNiaJaq3SbE1MDMVxsNoxPkr/Er31C2+RVw5cS2+Zcnxvk YiPaTK+/DJGhG/L8F66q6g5ct/JzEaNnNJy0Zx9DZVwWagDb5iupCeVq/mklO4tSC5/a YOZw== Received: by 10.43.125.133 with SMTP id gs5mr4245865icc.54.1355486319997; Fri, 14 Dec 2012 03:58:39 -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.50.67.148 with SMTP id n20csp67443igt; Fri, 14 Dec 2012 03:58:39 -0800 (PST) Received: by 10.68.241.231 with SMTP id wl7mr14713878pbc.164.1355486319141; Fri, 14 Dec 2012 03:58:39 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id j9si4982445paw.270.2012.12.14.03.58.38; Fri, 14 Dec 2012 03:58:39 -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 <0MF0001GLRXQ21B0@mailout4.samsung.com>; Fri, 14 Dec 2012 20:58:38 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 20.AE.12699.D641BC05; Fri, 14 Dec 2012 20:58:38 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-34-50cb146db612 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DF.9E.12699.D641BC05; Fri, 14 Dec 2012 20:58:37 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MF000GYFRKI4870@mmp2.samsung.com>; Fri, 14 Dec 2012 20:58:37 +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] EXYNOS5: FDT: Add compatible strings for SPI Date: Fri, 14 Dec 2012 17:26:26 +0530 Message-id: <1355486189-432-13-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> References: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkRjdP5HSAwdkZzBYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyDtwoLrjCWbGuYSpzA2MvRxcjJ4eEgInE5p8XmSBs MYkL99azdTFycQgJLGWUuPmikwWmqPHIZBaIxHRGiWPTNzJCOBOZJJqPL2QDqWITMJLYenIa I4gtIiAh8av/KpjNLBAj8Xr/D7AaYQFnib/PjoOtYxFQlTh3qgfM5hVwl9g9cyIbxDYFiWNT v7KC2JxA8ZNv7jGD2EICbhIrepaxQfQKSHybfAjoIg6gelmJTQeYIVqvs0k8ecEHYUtKHFxx g2UCo/ACRoZVjKKpBckFxUnpuUZ6xYm5xaV56XrJ+bmbGIHBePrfM+kdjKsaLA4xCnAwKvHw fhA6FSDEmlhWXJl7iFGCg1lJhFfyCFCINyWxsiq1KD++qDQntfgQow/QIROZpUST84GRklcS b2hsYm5qbGppZGRmaopDWEmct9kjJUBIID2xJDU7NbUgtQhmHBMHp1QDY7DDSX2Joo0J353n T559vbVpnQOzd+sJ203etxSduytM3mXf23vqQ9qJIwJL106rLvBb82jbZL8HLx8+7FkrkuWd efreihj3SMVLWqf9tqhWPjY9xZ7Bd9Hz7OH1tX/54hm8Mtcf1ZRedeQim+D6ZTMDdy1qS1sY WXqsaHlqxLW6f6mrP+9R0FZiKc5INNRiLipOBAAWpXHGcwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jQd1ckdMBBhe6TCwerr/JYjHl8BcW ByaPO9f2sAUwRjUw2mSkJqakFimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4 BOi6ZeYAzVZSKEvMKQUKBSQWFyvp22GaEBripmsB0xih6xsSBNdjZIAGEtYwZhy4UVxwhbNi XcNU5gbGXo4uRk4OCQETicYjk1kgbDGJC/fWs3UxcnEICUxnlDg2fSMjhDORSaL5+EI2kCo2 ASOJrSenMYLYIgISEr/6r4LZzAIxEq/3/wCrERZwlvj77DgTiM0ioCpx7lQPmM0r4C6xe+ZE NohtChLHpn5lBbE5geIn39xjBrGFBNwkVvQsY5vAyLuAkWEVo2hqQXJBcVJ6rpFecWJucWle ul5yfu4mRnCwP5PewbiqweIQowAHoxIP7wehUwFCrIllxZW5hxglOJiVRHgljwCFeFMSK6tS i/Lji0pzUosPMfoAXTWRWUo0OR8YiXkl8YbGJuamxqaWJhYmZpY4hJXEeZs9UgKEBNITS1Kz U1MLUotgxjFxcEo1MPY1zj+472CYdMr3o6KVz7nnZpQuehr4LP49lwKP8nZGv0pnI52X9zne Xz8wZ7WIYfrrqS7nnAqtu/K33fjAa+tkGVyjKbXmYE+86yWBntw3RVO/8kr/PVU8V6I87fex QiXbGYui34e1zrv9aVbPiclfmFMzH7i+CnhQ+TXatTFbSjZD/vLB7UosxRmJhlrMRcWJAKmg vzajAgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQlTv8mKECm1Yq5hD01XGHsMqylZgS6Sm3NAM3ZqCKz66rhtt5BvNctmOchf48eXhMlLz8Ud Add required compatible information for SPI driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V1: -Rebased on latest u-boot-samsung 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 976c9f3..539bb1b 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -73,6 +73,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 43affaa..44c249d 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)