From patchwork Mon Apr 29 22:58:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: naveen krishna chatradhi X-Patchwork-Id: 240526 X-Patchwork-Delegate: hs@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7631C2C00C2 for ; Tue, 30 Apr 2013 08:59:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 634EA4A257; Tue, 30 Apr 2013 00:59:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ga67Y5Sfe0Ta; Tue, 30 Apr 2013 00:59:13 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A76434A258; Tue, 30 Apr 2013 00:59:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 53C654A258 for ; Tue, 30 Apr 2013 00:59:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FBwlpTHbq-6U for ; Tue, 30 Apr 2013 00:59:04 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by theia.denx.de (Postfix) with ESMTPS id CC2DD4A257 for ; Tue, 30 Apr 2013 00:58:57 +0200 (CEST) Received: by mail-pb0-f50.google.com with SMTP id um15so2164598pbc.23 for ; Mon, 29 Apr 2013 15:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=NwdpS5wfHcZb/aAU0T39NETb3dEDVNPTodIfV4RNfJY=; b=ElV/egsXdf9UFjp9XZKD80WxrzPnw1McUzCp2BNOPvXonCzmzieu7jDfzF1F2qYrWF Y+LN3P9B5ELlD1mKgRw+DqvQY3ls1BokcO2caBR6WTbFKpLr8wTSLqNY/jTTDgidhL5M 1wLs6k8qW0Xn/7sV8eIZO/o5aO/GVIv4+PY842v5QozI9ZEBxMVZeO4jBvva3fUW17PU w+yBItOySv49EuWg37b2FBN1RZdfsH4/EllPvCBotwDOrfNjzlfqWul6pZ+N+uMe7KHR EklM0nAOacS1Rg70fxNplWtNiPyHvJ3zSpHqEdbVq87jDGkajI3eRBbYx+SC4or6vFWm rifg== X-Received: by 10.66.180.227 with SMTP id dr3mr47761996pac.213.1367276336229; Mon, 29 Apr 2013 15:58:56 -0700 (PDT) Received: from daisy.corp.google.com. (dhcp-172-22-52-84.mtv.corp.google.com [172.22.52.84]) by mx.google.com with ESMTPSA id al2sm25730033pbc.25.2013.04.29.15.58.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 15:58:55 -0700 (PDT) From: Naveen Krishna Chatradhi To: u-boot@lists.denx.de Date: Mon, 29 Apr 2013 15:58:52 -0700 Message-Id: <1367276332-26351-1-git-send-email-naveenkrishna.ch@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <517E8120.9090600@denx.de> References: <517E8120.9090600@denx.de> Cc: patches@linaro.org Subject: [U-Boot] [PATCH] fdtdec: Add compatible string for High speed i2c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Adds a new COMPAT string exynos5-hsi2c for high speed i2c controller available on exynos5 SoCs from Samsung. Signed-off-by: Naveen Krishna Chatradhi --- This patch is required for the following change http://lists.denx.de/pipermail/u-boot/2013-April/151886.html and fixes the following issue. http://www.mail-archive.com/u-boot@lists.denx.de/msg112117.html Apologies for delaying this change. include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 4e8032b..2bf8ae8 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -93,6 +93,7 @@ enum fdt_compat_id { COMPAT_GENERIC_SPI_FLASH, /* Generic SPI Flash chip */ COMPAT_MAXIM_98095_CODEC, /* MAX98095 Codec */ COMPAT_INFINEON_SLB9635_TPM, /* Infineon SLB9635 TPM */ + COMPAT_SAMSUNG_EXYNOS5_I2C, /* Exynos5 High Speed I2C Controller */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 92fbefe..f8af561 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -66,6 +66,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(GENERIC_SPI_FLASH, "spi-flash"), COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"), COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"), + COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)