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 Ch X-Patchwork-Id: 16511 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B78E25E08 for ; Mon, 29 Apr 2013 22:59:00 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id w8sf1692725vbf.7 for ; Mon, 29 Apr 2013 15:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=NwdpS5wfHcZb/aAU0T39NETb3dEDVNPTodIfV4RNfJY=; b=rovJOc8f2cwhqoDB5LZQ3K6VdHF4Rv81Ignnc+09k66L0bU4vG294g8oaz8MpyInEG XbS118Du+PWtvk5/34/Gv3CgchZtr4+KnyaDtccpBzCh3lwqY4LlB0Cl5Q9YAFj80Cce tilNI7JPlZwrItGxMQUjgyxGrrNWfJzNiAVZENFW2FCni34JBPf/zzmfZO+ztrT/DRMv sa2aRS/xByp9RBYAvshHjc92tRbmqHllq/vFtMJMRmI2a+mjPve29Fl6JSIdFg/AVqqg t9QWARcrkcmcrwSlJm4qYr4pIAJYqQVfKe2bcB5posF+eTvbnPOv7N+F1mT3Nzzf6T68 2yCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=NwdpS5wfHcZb/aAU0T39NETb3dEDVNPTodIfV4RNfJY=; b=FAjBL7K4v8bCd/lJAxAkaCOe3x5lrYcnJjGEaUM3TeWrkfV0FkpYjuwtNdgAJUOHnB RWJv+SQxbmIkwCNOENstgFN/JmSNnWwxK2oLR26w9kzvOsGYSmI23cdVN98di/H9f12A fiuzOXujWRKfzo6kYrcTzOsuw9u6HcLwnAzL9rdO/B1dpMXD0JKFdAeW7Qx2hhMWFkxl I7gJOFmQcWN8vuGHLsW7fjxxIbjvucE7l6jp1CSpgYcAE/fj9wcitm9rF+5rzheIgVFv 24OHWtTfFMMgI/mEPqnT/hq5yPkXH8ugOQhw1DY8gq2gFr4Kq+LKhlsGVC1Vts/wh7fC yLNQ== X-Received: by 10.224.75.137 with SMTP id y9mr19816932qaj.3.1367276338573; Mon, 29 Apr 2013 15:58:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.98 with SMTP id b2ls4169qew.36.gmail; Mon, 29 Apr 2013 15:58:58 -0700 (PDT) X-Received: by 10.52.70.206 with SMTP id o14mr20013050vdu.63.1367276338378; Mon, 29 Apr 2013 15:58:58 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id d10si10831395vdv.15.2013.04.29.15.58.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 15:58:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hf12so1220677vcb.19 for ; Mon, 29 Apr 2013 15:58:58 -0700 (PDT) X-Received: by 10.52.66.101 with SMTP id e5mr1927271vdt.57.1367276338015; Mon, 29 Apr 2013 15:58:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp78473veb; Mon, 29 Apr 2013 15:58:57 -0700 (PDT) X-Received: by 10.66.221.105 with SMTP id qd9mr45014418pac.101.1367276336708; Mon, 29 Apr 2013 15:58:56 -0700 (PDT) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [2607:f8b0:400e:c01::236]) by mx.google.com with ESMTPS id tf2si18657954pac.280.2013.04.29.15.58.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 15:58:56 -0700 (PDT) Received-SPF: pass (google.com: domain of naveenkrishna.ch@gmail.com designates 2607:f8b0:400e:c01::236 as permitted sender) client-ip=2607:f8b0:400e:c01::236; Received: by mail-pb0-f54.google.com with SMTP id jt11so2201839pbb.13 for ; Mon, 29 Apr 2013 15:58:56 -0700 (PDT) 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 Cc: patches@linaro.org, naveenkrishna.ch@gmail.com Subject: [PATCH] fdtdec: Add compatible string for High speed i2c 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> X-Gm-Message-State: ALoCoQkScicjlmAev5M/NQzJejqcWajCjSUK/7dMDJ0VWtrOclV28LluQVmiuBQTZ8CudAG09AWm X-Original-Sender: naveenkrishna.ch@gmail.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gmail.com Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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)