From patchwork Wed Nov 14 09:11:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 12833 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 A6B7723FC0 for ; Wed, 14 Nov 2012 09:24:03 +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 2BB68A18286 for ; Wed, 14 Nov 2012 09:24:03 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so260130iej.11 for ; Wed, 14 Nov 2012 01:24:02 -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=N5CHeH44EPAnxHM6zzcpextN39QmeOce63VwxfwGmes=; b=HbxkAOSiIuWtSskoviAYsoxISJJJF7hGag5KhwCEJyn4ksyNAmgrLJbE4JrZqwchdO uwbSTqqpqBPn5ryx8Gd75Ge9AKWu/dbi20hNGqlrMwbhw4hM6cNeZH7XGlEypBfPl0HP IL+E8u4H8HByVLaKsgxOTBztjx18DbxY7Rxe5Sjv/NScjQJaQKh+x6gS+MfcLO/wkRne qbTZjwxAjbima+GRBjWT0Ri7kB5e6eR5YMuu5LDjfxn8lwaTyQ9K4p2jVdlo9t7V0sKZ /1+c1WS3V7ea36PutyXC5DYvU41+NDJ/Av47Qrvu6jtqIy86essYSBeOx187XteGtrBZ 8GgQ== Received: by 10.50.186.199 with SMTP id fm7mr1209243igc.62.1352885042488; Wed, 14 Nov 2012 01:24:02 -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 n20csp633321igt; Wed, 14 Nov 2012 01:24:02 -0800 (PST) Received: by 10.68.238.199 with SMTP id vm7mr75234689pbc.105.1352885041852; Wed, 14 Nov 2012 01:24:01 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id m8si17379919pav.162.2012.11.14.01.24.01; Wed, 14 Nov 2012 01:24:01 -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 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 <0MDH00K7C01FWJC0@mailout4.samsung.com>; Wed, 14 Nov 2012 18:08:20 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 05.C8.01231.38F53A05; Wed, 14 Nov 2012 18:08:20 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-35-50a35f8352b1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A4.C8.01231.38F53A05; Wed, 14 Nov 2012 18:08:19 +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 <0MDG00I7CZWU0Z70@mmp2.samsung.com>; Wed, 14 Nov 2012 18:08:19 +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, hs@denx.de Subject: [PATCH 3/6 V2] EXYNOS5: FDT: Add compatible string for I2C Date: Wed, 14 Nov 2012 14:41:16 +0530 Message-id: <1352884279-24067-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1352884279-24067-1-git-send-email-rajeshwari.s@samsung.com> References: <1352884279-24067-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkSrclfnGAQdduVouH62+yWEw5/IXF gcnjzrU9bAGMUVw2Kak5mWWpRfp2CVwZ3w+9Zi5Yylnx7/QM1gbG++xdjJwcEgImElefLGKB sMUkLtxbz9bFyMUhJLCUUaK7pReuaE7vVVaIxHRGiRk7DzJCOBOZJHaeOc8IUsUmYCSx9eQ0 MFtEQELiV/9VMJtZIEPi9oclYCuEBZwl5i0/ATaVRUBV4kxzAyuIzSvgITGxayozxDYFiWNT v4LFOQU8Jf4/6AGzhYBqJu/YzgbRKyDxbfIhoJkcQPWyEpsOMIPcIyFwm01ixfknUHMkJQ6u uMEygVF4ASPDKkbR1ILkguKk9FxDveLE3OLSvHS95PzcTYzAgDz975nUDsaVDRaHGAU4GJV4 eD+2LgoQYk0sK67MPcQowcGsJMIba7U4QIg3JbGyKrUoP76oNCe1+BCjD9AlE5mlRJPzgdGS VxJvaGxibmpsamlkZGZqikNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVANjB+/R/9+c7er1 Ylfq7zXcerVn9rvqbl7V9WF7bbYvWlD4x2ODxeFpzQ6pBtu8uzm3+r9/qNLF6ZMTeuj50aci s+8tEylT/n8qYZa94tmf1ROM9i3x6dfwf2DGLbsq2TxFoc73xo9dPU3n18ltTGXmVIh5WMLV e+Fw/Jq8qokZ6vfmqmhtLt6mxFKckWioxVxUnAgAps82VXUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQd3m+MUBBk/Wmlk8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzPh+6DVzwVLO in+nZ7A2MN5n72Lk5JAQMJGY03uVFcIWk7hwbz1bFyMXh5DAdEaJGTsPMkI4E5kkdp45zwhS xSZgJLH15DQwW0RAQuJX/1Uwm1kgQ+L2hyUsILawgLPEvOUnwDawCKhKnGluANvAK+AhMbFr KjPENgWJY1O/gsU5BTwl/j/oAbOFgGom79jONoGRdwEjwypG0dSC5ILipPRcQ73ixNzi0rx0 veT83E2M4HB/JrWDcWWDxSFGAQ5GJR7ej62LAoRYE8uKK3MPMUpwMCuJ8MZaLQ4Q4k1JrKxK LcqPLyrNSS0+xOgDdNVEZinR5HxgLOaVxBsam5ibGptamliYmFniEFYS5232SAkQEkhPLEnN Tk0tSC2CGcfEwSnVwHha5Uhey2aOtNkdebY8p7mPX2U/fnJe0QGfX18M6qexpnB9WbbSKO5B 7rsonflSTUfOdH+z3cHk/FP399LrBStvmPRtnGCjZJL3j2mtlciX7x/zrHz4vda7xyX97ly5 qrBLUu3bvRidNSL6zcLbA9/vvnDjZWPwyje+tt6L302I2WoT9MTh3S8lluKMREMt5qLiRAAC +2tppAIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnyRji/YgmPsPD07XISMBiaqnVxfggYncYxBAqsmQmSgb61Qt25RARFX1sq/5LVKnzUYnip Add required compatible information for I2C driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Acked-by: Heiko Schocher --- Changes in V2: - 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 180dfff..f9aac31 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -69,6 +69,7 @@ enum fdt_compat_id { COMPAT_SMSC_LAN9215, /* SMSC 10/100 Ethernet LAN9215 */ COMPAT_SAMSUNG_EXYNOS5_SROMC, /* Exynos5 SROMC */ COMPAT_SAMSUNG_EXYNOS_TMU, /* Exynos TMU */ + COMPAT_SAMSUNG_S3C2440_I2C, /* Exynos I2C Controller */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 8e5ed21..6e8c24c 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -46,6 +46,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SMSC_LAN9215, "smsc,lan9215"), COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"), + COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)