From patchwork Thu Nov 29 07:09:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13279 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 A2B3024251 for ; Thu, 29 Nov 2012 07:03:37 +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 5791CA18DC6 for ; Thu, 29 Nov 2012 07:03:37 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so9592485ieb.11 for ; Wed, 28 Nov 2012 23:03:37 -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=PRIfNA+XuM1p6GT07nWEGxowlbyPN8YkZ7xbEab3ZB0=; b=gfKQD7OnD71D1aDfl+Z4Q9n8h6hAMwig8AxC7F0KvZI8lOp7l3rFuCBGnE3rGmjQZI m9Jw7+b6h2KQasRdK++hU54nWptG6tB/5OoZIe+sKk5KBgyS8CVTXSoam9F+vwARqRV1 ZYAD4/rU+NDgsIN8eOkYidtvM5TE3Uy7Ob8IpIKrxkkIEDgsUmLqYLeN6wtnhI5EAnGC o9oFbLd7IH+0GMPvrTv3YYj9w997nM6RK0LodBYXe/ywKdBr0Mp0jOA2J8iWk81RFTEz 1Jyyoc5sKe0ifj7xNDduLHvsrQ9W74SBZFJimbQNW4ij3FRskDAQQuOacTbqYgnWMLDx 1X5w== Received: by 10.50.161.169 with SMTP id xt9mr24175164igb.62.1354172616975; Wed, 28 Nov 2012 23:03:36 -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 n20csp802650igt; Wed, 28 Nov 2012 23:03:36 -0800 (PST) Received: by 10.66.89.9 with SMTP id bk9mr58860677pab.67.1354172615686; Wed, 28 Nov 2012 23:03:35 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id ic4si1599997pbc.229.2012.11.28.23.03.35; Wed, 28 Nov 2012 23:03:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@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 rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ME80099FM9TNDD0@mailout2.samsung.com>; Thu, 29 Nov 2012 16:03:34 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 97.80.01231.6C807B05; Thu, 29 Nov 2012 16:03:34 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-8e-50b708c6468b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 47.80.01231.6C807B05; Thu, 29 Nov 2012 16:03:34 +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 <0ME800LB8M9M7580@mmp1.samsung.com>; Thu, 29 Nov 2012 16:03:34 +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 V4] EXYNOS5: FDT: Add compatible string for I2C Date: Thu, 29 Nov 2012 12:39:48 +0530 Message-id: <1354172991-1005-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1354172991-1005-1-git-send-email-rajeshwari.s@samsung.com> References: <1354172991-1005-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsWyRsSkRvcYx/YAg/k3pC0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlzJn1krFgGlfFu997mBoYl3F0MXJySAiYSDT0LmaB sMUkLtxbz9bFyMUhJLCUUeLe75fMMEV7fn1ghUgsYpTo6D8N5Uxkklh9oosJpIpNwEhi68lp jCC2iICExK/+q2A2s0CGxO0PS8BWCAs4SzTuvwRWzyKgKvH9ahvQOg4OXgF3iQ3TRCCWKUgc m/qVFcTmFPCQONPwjQ3EFgIqmXbnOiNEq4DEt8mHWEBaJQRkJTYdYAY5R0LgPpvE1I1L2CHm SEocXHGDZQKj8AJGhlWMoqkFyQXFSem5hnrFibnFpXnpesn5uZsYgeF4+t8zqR2MKxssDjEK cDAq8fBustwWIMSaWFZcmXuIUYKDWUmEV/MPUIg3JbGyKrUoP76oNCe1+BCjD9AlE5mlRJPz gbGSVxJvaGxibmpsamlkZGZqikNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVAMj84VMBjOn XJZyWxH76Y1l2g32wZ6bzHcIeB51ab3OujDmq4j2jn/RX6ZO43hksl16rZhV1/Tv8v9KdGbb icUqr1IJi41OWnZz38yYU4lfbiq5Tv7zIndX5ZTUrNkv8zb+3Re/66b48Xm3NYJLvfSKy4Tk tmXbiq+u59lQ+dJxkneTwt2z8c5KLMUZiYZazEXFiQD63ss9dAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jAd1jHNsDDI6tFLN4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmDFn1kvGgmlc Fe9+72FqYFzG0cXIySEhYCKx59cHVghbTOLCvfVsXYxcHEICixglOvpPs0I4E5kkVp/oYgKp YhMwkth6chojiC0iICHxq/8qmM0skCFx+8MSFhBbWMBZonH/JbB6FgFVie9X24CmcnDwCrhL bJgmArFMQeLY1K9gizkFPCTONHxjA7GFgEqm3bnOOIGRdwEjwypG0dSC5ILipPRcQ73ixNzi 0rx0veT83E2M4GB/JrWDcWWDxSFGAQ5GJR7eTZbbAoRYE8uKK3MPMUpwMCuJ8Gr+AQrxpiRW VqUW5ccXleakFh9i9AE6aiKzlGhyPjAS80riDY1NzE2NTS1NLEzMLHEIK4nzNnukBAgJpCeW pGanphakFsGMY+LglGpg7DKWS9h+XP223HfXmRLW//zXLljzcd2Kbb5V0b/cXtxdNffPnOrW /l7TUwXSC679fX/JKGxu/cfjn5rSvv5YcMl76pesOb8+TisWWhjL0cOTfV/y49yfFwRveyla Zp/OUMrRWnXm2ObPDOW+Hr/5vYsnWi1Mjc647l1z1l1w1kKxmBmfXVYL/1RiKc5INNRiLipO BABgBC+3owIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQl0R801c1GK29rpRa+d6uqhd0nXqaMETKG0/Pkavxe/T8JfkDOS3TNl5phho0aHNJnPTGRT Add required compatible information for I2C driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Acked-by: Heiko Schocher --- Changes in V2: - None. Chnages in V3: - None. Chnages in V4: - 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 8b2218c..883961f 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 b9519f9..ff25db6 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)