From patchwork Mon Dec 3 12:12:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13328 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 EA60223E27 for ; Mon, 3 Dec 2012 12:07:53 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7C508A194A2 for ; Mon, 3 Dec 2012 12:07:53 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so1973511iag.11 for ; Mon, 03 Dec 2012 04:07:53 -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=xKAuW3DakeBrWhXLqc2Lptn3Y5hXQVcDR7ICLamNaS8=; b=Sz98FBPCEk9eWXAn9Eid2OT0I075Z+ZCKH9POcOa5eEh2IwZir3ir2OdBDFi1GOPEA Eu3UMxfwbEKsNqklZE/22nSAInnW4xbKMd4AL1YtpjRr/+i/2zRsxtPv7SmkDegNblJG JNjFQTQcg4tz7oZkOl8TJdmxPng7mxuPb/Z7vcO5lZb98r++TGIj9BJ8+iIH+qSISwwW SwDCI9h3YNc5zvyLiwLAnFP1Espw/mwq76z8DelCmdswAqBHLgjrZ/jZKT//lqb37Iij VI4RdkD+tP8SLeh3NQPiKsFEcXGzk9xAKQvHCIBwKLjahkvrY2cKub2laP4yumW/bNzc iu4w== Received: by 10.43.125.133 with SMTP id gs5mr7590397icc.54.1354536472917; Mon, 03 Dec 2012 04:07:52 -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 n20csp131414igt; Mon, 3 Dec 2012 04:07:52 -0800 (PST) Received: by 10.66.85.103 with SMTP id g7mr25294175paz.45.1354536472248; Mon, 03 Dec 2012 04:07:52 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id yl9si18989647pbc.182.2012.12.03.04.07.51; Mon, 03 Dec 2012 04:07:52 -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 <0MEG00MIMF0GW710@mailout2.samsung.com>; Mon, 03 Dec 2012 21:07:50 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7A.02.01231.6169CB05; Mon, 03 Dec 2012 21:07:50 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-d7-50bc9616d28c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2A.02.01231.6169CB05; Mon, 03 Dec 2012 21:07:50 +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 <0MEG00DHAEYBTR70@mmp1.samsung.com>; Mon, 03 Dec 2012 21:07:50 +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, l.majewski@samsung.com Subject: [PATCH 1/3] EXYNOS5: FDT: Add compatible strings for PMIC Date: Mon, 03 Dec 2012 17:42:18 +0530 Message-id: <1354536740-28485-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1354536740-28485-1-git-send-email-rajeshwari.s@samsung.com> References: <1354536740-28485-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkVlds2p4Ag5bX5hYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyWlumMhY856g4cqykgXEjexcjB4eEgInEksf2XYyc QKaYxIV769m6GLk4hASWMkr87FzHBJEwkZg4fSE7RGIRo8SDbSehqiYySTz60QpWxSZgJLH1 5DRGEFtEQELiV/9VMJtZoETi27duVhBbWMBJ4salf2D1LAKqEpP39oPZvAIeEju2nYLapiBx bOpXsHpOAU+JP6cugcWFgGo2XdjPDNErIPFt8iEWiA9kJTYdYAa5R0LgOpvE9vlLWSDmSEoc XHGDZQKj8AJGhlWMoqkFyQXFSem5hnrFibnFpXnpesn5uZsYgcF4+t8zqR2MKxssDjEKcDAq 8fA+/LI7QIg1say4MvcQowQHs5IIr1vLngAh3pTEyqrUovz4otKc1OJDjD5Al0xklhJNzgdG Sl5JvKGxibmpsamlkZGZqSkOYSVx3maPlAAhgfTEktTs1NSC1CKYcUwcnFINjBFLuZv7rbQ3 7P78TzD9usflBZ9S0vtFps1Jb/7J7l0TcsVlV+QNmRABm+WbXSOeJNmvtgi1eR5xamn67ty7 8+Q7OcOudhgpN3i9qg47q1GjfXqjpECB5ASHQIm4mg3nHxeJL78g6NCinNl03SOK345n99RM vQMfvDxyBcV1/SwUnkx0/9iuxFKckWioxVxUnAgA31JG7nMCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jAV2xaXsCDGYc1bF4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmNHaMpWx4DlH xZFjJQ2MG9m7GDk5JARMJCZOXwhli0lcuLeerYuRi0NIYBGjxINtJ6GciUwSj360MoFUsQkY SWw9OY0RxBYRkJD41X8VzGYWKJH49q2bFcQWFnCSuHHpH1g9i4CqxOS9/WA2r4CHxI5tp5gg tilIHJv6FayeU8BT4s+pS2BxIaCaTRf2M09g5F3AyLCKUTS1ILmgOCk911CvODG3uDQvXS85 P3cTIzjYn0ntYFzZYHGIUYCDUYmH9+GX3QFCrIllxZW5hxglOJiVRHjdWvYECPGmJFZWpRbl xxeV5qQWH2L0AbpqIrOUaHI+MBLzSuINjU3MTY1NLU0sTMwscQgrifM2e6QECAmkJ5akZqem FqQWwYxj4uCUamAU3jUzVu1Rc0SW/dfJzRuSigVfxexaEu8iMO317CLhZU5tEkoKbJffrDWw fnQ5vPeIYYLp/iyFrZuOb3ef8/vByd9Hknaq/Jg+41ZKbMWxeGbhEuMrc6KdPS1cshaV1Inl Sc2ReP77/vSLOboGW0OOLrsn+of5IWPyyj3dfe5KxtE1IftMrhkosRRnJBpqMRcVJwIAqBvd SaMCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnSbXSGLZ7Ss2h3+MwjgHxrhLBIjZwvv2xbHdl8M7fXOSXASgU98q/x2l1hg3+RnHVOBetm Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- 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..976e6af 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..3a6b679 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)