From patchwork Wed Dec 5 12:50:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13371 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 D952923FC0 for ; Wed, 5 Dec 2012 12:46:32 +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 71009A18464 for ; Wed, 5 Dec 2012 12:46:32 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so7769531ieb.11 for ; Wed, 05 Dec 2012 04:46:31 -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=t9XWy9FV3+s0N4FFHIrBzVmBvrKRo2HIvCOTpCK9DPI=; b=XT51QvEIYwn+DDO9OKj9RopVb+0B9H6PoX8ct5AFzsY97S7uSd8/uXUapCKQQKoZ+B 5nVmUU6WwX0pAeBucxjTUxwaYvkAe1sdX3SNslwc6MgiIDpfu08LHK+yQGSrKsPH6oEb LnizqSzqrI5K4TOj+3yrgZWoRwZX64wA0Yxg9NZlerQVYSZEwb1Je65lveamdr5/123A DsIBmbWeXoS+Cjii1akwf31Lo9IGP/1E5BOt+X/TXqrxXQtDHaiaBpiWZ1RLGgQiG+vH ZOa0oXtlFewSCed6Uz00i/FOdg6s6jXLse7Tcwt7CATEYYMAER5GaTuxj2AHY5zrGBCn G06A== Received: by 10.50.187.197 with SMTP id fu5mr1593905igc.70.1354711591613; Wed, 05 Dec 2012 04:46:31 -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 n20csp336814igt; Wed, 5 Dec 2012 04:46:31 -0800 (PST) Received: by 10.66.79.133 with SMTP id j5mr44124596pax.51.1354711590750; Wed, 05 Dec 2012 04:46:30 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id sh10si6815355pbb.323.2012.12.05.04.46.29; Wed, 05 Dec 2012 04:46:30 -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 epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MEK00N1G65G0911@mailout4.samsung.com>; Wed, 05 Dec 2012 21:46:28 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id EA.1B.12699.4224FB05; Wed, 05 Dec 2012 21:46:28 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-2d-50bf4224b82c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8A.1B.12699.4224FB05; Wed, 05 Dec 2012 21:46:28 +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 <0MEK00CKF6300130@mmp1.samsung.com>; Wed, 05 Dec 2012 21:46:28 +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 Subject: [PATCH 1/3 V2] EXYNOS5: FDT: Add compatible strings for PMIC Date: Wed, 05 Dec 2012 18:20:58 +0530 Message-id: <1354711860-10575-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1354711860-10575-1-git-send-email-rajeshwari.s@samsung.com> References: <1354711860-10575-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWyRsSkVlfFaX+AwesD+hYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyFszczViwirNi850TrA2Mz9m7GDk4JARMJP4fN+1i 5AQyxSQu3FvP1sXIxSEksJRRomnzCxaIhInEhv7tTBCJRYwSz7YdY4RwJjJJ/LsymxWkik3A SGLryWmMILaIgITEr/6rYDazQIzE6/0/2EC2CQu4Slz+bwYSZhFQlWh5cB1sAa+Ah8Skn+8Y IZYpSByb+hVsJKeAp8S3n6/A4kJANfe6bzBD9ApIfJt8iAXiAVmJTQeYIVrvs0n0/02HsCUl Dq64wTKBUXgBI8MqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjMBQPP3vmfQOxlUNFocYBTgY lXh4JYz3BQixJpYVV+YeYpTgYFYS4Z0nsz9AiDclsbIqtSg/vqg0J7X4EKMP0CETmaVEk/OB cZJXEm9obGJuamxqaWRkZmqKQ1hJnLfZIyVASCA9sSQ1OzW1ILUIZhwTB6dUA2No5H3BsCVq ut8/XCtL6L6uWrZdR+NTqlZt9Osv3zRNprHaHGIu3ns5s9fTasK2muVcTFMESzWik5TfzE5d s8hd6coBpd7Lf/yjdfnzvnNrnfwwlc2DI1EwwyOKcbH9BzXx2xscxJ8d+CfD82LJxZPXLkdb v7hjb9clUCnEs+2vXanvxpM8ZkosxRmJhlrMRcWJAL4RtLdyAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jAV0Vp/0BBpd+K1k8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzFgwczdjwSrO is13TrA2MD5n72Lk5JAQMJHY0L+dCcIWk7hwbz1bFyMXh5DAIkaJZ9uOMUI4E5kk/l2ZzQpS xSZgJLH15DRGEFtEQELiV/9VMJtZIEbi9f4fQN0cHMICrhKX/5uBhFkEVCVaHlxnAbF5BTwk Jv18xwixTEHi2NSvYCM5BTwlvv18BRYXAqq5132DeQIj7wJGhlWMoqkFyQXFSem5RnrFibnF pXnpesn5uZsYwcH+THoH46oGi0OMAhyMSjy8Esb7AoRYE8uKK3MPMUpwMCuJ8M6T2R8gxJuS WFmVWpQfX1Sak1p8iNEH6KqJzFKiyfnASMwriTc0NjE3NTa1NLEwMbPEIawkztvskRIgJJCe WJKanZpakFoEM46Jg1OqgXH62cXmU91nlixkr4ya5CGYeyxuRezKGTonogXyo1f/msTzaFVB zWSVF6VarkveWUgniBt0WGydcuRjtccTVWn9kj11p4PvRn5dc1O8t5vfY8nHV0vbnJp2Smgu P97w6N6CCX1l97+KXBbROzSrZ6KCpNyxj4+LjDUUV0wS/HzKdn/p6ivHeoKVWIozEg21mIuK EwFxnfvrowIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkwxfGVJ3kbND+SyFyznmiAsVhZEGgWbh9jChoN4EPZxJIpe2QpIW1qH4FUHKdUC3+4OuiA Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- 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 d1279f4..5934af1 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -73,6 +73,7 @@ enum fdt_compat_id { COMPAT_SAMSUNG_EXYNOS5_SOUND, /* Exynos Sound */ COMPAT_WOLFSON_WM8994_CODEC, /* Wolfson WM8994 Sound Codec */ COMPAT_SAMSUNG_EXYNOS_SPI, /* Exynos SPI */ + COMPAT_MAXIM_MAX77686_PMIC, /* MAX77686 PMIC */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 1dbb892..6bc57c5 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -50,6 +50,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"), COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"), COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"), + COMPAT(MAXIM_MAX77686_PMIC, "maxim,MAX77686_PMIC"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)