From patchwork Fri Nov 23 12:01:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13150 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 E279E23DFE for ; Fri, 23 Nov 2012 11:57:58 +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 7A32EA186E6 for ; Fri, 23 Nov 2012 11:57:58 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so1706057ieb.11 for ; Fri, 23 Nov 2012 03:57:57 -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=h5ZVXepgOQZQqJwSExSbwkEoQ869KC8CsbdcQx3fiWY=; b=jJzC9Ko14LXFkpLNWCv5LZuTXG7t+IwPsVoozDVoapJWBekzJpXzUrM6Q0tbYbYU68 cJFGPK2unNWsP2UQKJrVniy7rhVVPQLI1F//hlSHAuxDSrk5AM5j/HCbCzvE2TBAgrJy LZM+78UxOoGOwwqtIzzvuzim4rRCHP+pOCxI1NMEOsJohqOOaSZLOQpRtSKs7b0qGPVc 1EHpnRE4sW3BrwE8RMA7SnaodBEwxSDf4lZgxPa8f+/s8dubBaozj1kAkzj+n+qR6BvR YvSgxfYVTZ90xh/0VBsqVXt2U0k+8OvmpLEcoU/VijOEdCixUkzjlhynWirVoplDTO9q FzvA== Received: by 10.43.125.133 with SMTP id gs5mr2884049icc.54.1353671877869; Fri, 23 Nov 2012 03:57:57 -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 n20csp341354igt; Fri, 23 Nov 2012 03:57:57 -0800 (PST) Received: by 10.68.238.34 with SMTP id vh2mr13920762pbc.6.1353671877139; Fri, 23 Nov 2012 03:57:57 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id f5si7762259pav.198.2012.11.23.03.57.56; Fri, 23 Nov 2012 03:57:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@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 rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDX00HBKVWBQ5M0@mailout1.samsung.com> for patches@linaro.org; Fri, 23 Nov 2012 20:57:55 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D7.10.12699.3C46FA05; Fri, 23 Nov 2012 20:57:55 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-bd-50af64c39cce Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 36.10.12699.3C46FA05; Fri, 23 Nov 2012 20:57: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 <0MDX00GYHVRX36B0@mmp1.samsung.com> for patches@linaro.org; Fri, 23 Nov 2012 20:57:55 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, hs@denx.de Subject: [PATCH 3/6 V3] EXYNOS5: FDT: Add compatible string for I2C Date: Fri, 23 Nov 2012 17:31:44 +0530 Message-id: <1353672107-12904-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1353672107-12904-1-git-send-email-rajeshwari.s@samsung.com> References: <1353672107-12904-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPExsWyRsSkTvdwyvoAg2utxhZTDn9hcWD0uHNt D1sAYxSXTUpqTmZZapG+XQJXxpL9F9gLnnJWbJh3m72BcQpHFyMnh4SAiUT347eMELaYxIV7 69m6GLk4hASWMkosOrqAEaZo6/12JojEIkaJrunzWSGcFUwScy7OZAKpYhMwkth6chpYh4iA hMSv/qtgNrOAl8S209/BaoQFnIHWfWMBsVkEVCXOPN7GCmLzCnhILPu9nAlim4LEsalfweKc Ap4Sd3asY+9i5ABa5iHRfLAColVA4tvkQywgYQkBWYlNB5hBzpEQuMwm0Xj2D9TRkhIHV9xg mcAovICRYRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZGYBCe/vdMegfjqgaLQ4wCHIxKPLyG ZesChFgTy4orcw8xSnAwK4nwlvutDxDiTUmsrEotyo8vKs1JLT7E6AN0yURmKdHkfGCE5JXE GxqbmJsam1oaGZmZmuIQVhLnbfZICRASSE8sSc1OTS1ILYIZx8TBKdXAyM6RmOm0+PC70Km3 ObsnOktNPvik5MvGJY7MUZwrew7kTpxyQdRLNCA8QV5MsUZrwUPjT18mafHm/khS2DBRaqd6 9AqJNsH9UX/NHRdcnpq7/PEif20Fho0szzawv/l4/u6i/u1mhdMXrlwpemzfswf/JJ8u6OBY d/JicPHZOS7FXxu5ivkNVimxFGckGmoxFxUnAgAYVJs/bwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42I5/e+xgO7hlPUBBu2z1S2mHP7C4sDocefa HrYAxqgGRpuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wc oLFKCmWJOaVAoYDE4mIlfTtME0JD3HQtYBojdH1DguB6jAzQQMIaxowl+y+wFzzlrNgw7zZ7 A+MUji5GTg4JAROJrffbmSBsMYkL99azdTFycQgJLGKU6Jo+nxXCWcEkMefiTLAqNgEjia0n pzGC2CICEhK/+q+C2cwCXhLbTn8HqxEWcJbofvyNBcRmEVCVOPN4GyuIzSvgIbHs93KobQoS x6Z+BYtzCnhK3Nmxjr2LkQNomYdE88GKCYy8CxgZVjGKphYkFxQnpeca6RUn5haX5qXrJefn bmIEh/gz6R2MqxosDjEKcDAq8fAalq0LEGJNLCuuzD3EKMHBrCTCW+63PkCINyWxsiq1KD++ qDQntfgQow/QUROZpUST84Hxl1cSb2hsYm5qbGppYmFiZolDWEmct9kjJUBIID2xJDU7NbUg tQhmHBMHp1QDo4bQz/kHH754aaLe6LAjfvONtZeVkuyuXG84km/NeuynXfLsoi1ndNm7bma5 ft97X7h8z4+wqCTJi1LsEm6yrDslWkMaNP/+M5fku/rUb0tRbTmvsl9Es2L5w1hVFYfwb3dP czNK2ddc/M4WtHLiQYO0/Xo3vp6yX7Gb+eZvo7Ln62NYNY7GK7EUZyQaajEXFScCACHXO7Ke AgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnUuRcjzSKaT50dwMYmZ/8NL8hikJ2tQH0NVZ1V9yrI/ssZwOrBHkjeQoOVgIeck+qIV/mO 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. 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)