From patchwork Thu Jan 3 13:47:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13772 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 C532723E21 for ; Thu, 3 Jan 2013 13:42:12 +0000 (UTC) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by fiordland.canonical.com (Postfix) with ESMTP id 5D98DA18E80 for ; Thu, 3 Jan 2013 13:42:12 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fy27so15438359vcb.13 for ; Thu, 03 Jan 2013 05:42:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :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=Xf4G4Ao6cj8zutI0Cepc9HotXh5vvg6HJaMSXw9N3TI=; b=eH3T2Vb2yiqrBAbCVepuoZFeTwFIofjXrNN/qHPszCaMXmQJKdaCYBNHER6GBt7I80 ohbtjxZV8Q6XRMZH6/RMRC/KTF4cCxT8lLVIy2GALazoBtMIAVv4uOrLhLT9sHpXJNoS rovw7UhdeS/4qiQOVgM6+Qt3sO5c5UDuqqPfbNM72ay0GVrlj0ywBf47ze5dRgO+nRia Zuwf6k0Gw4uwnPWXpavqrY3l8//3SVOGZs7tJTDhXXCVfPvn+OqeaF3g7AJxGJY5O6N0 SrhROuOqe9wa59POf7UNAlQKradNLUk5cwaBL0LdKMjfWjOFgQ8BiSfvLGoM+CUBPLNr sA3Q== X-Received: by 10.52.88.168 with SMTP id bh8mr62995355vdb.51.1357220531872; Thu, 03 Jan 2013 05:42:11 -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.58.145.101 with SMTP id st5csp91784veb; Thu, 3 Jan 2013 05:42:11 -0800 (PST) X-Received: by 10.66.73.165 with SMTP id m5mr145838449pav.78.1357220530791; Thu, 03 Jan 2013 05:42:10 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id i7si47965422pay.15.2013.01.03.05.42.10; Thu, 03 Jan 2013 05:42:10 -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 <0MG100A5AY25IN10@mailout4.samsung.com>; Thu, 03 Jan 2013 22:42:09 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 28.F0.12699.1BA85E05; Thu, 03 Jan 2013 22:42:09 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-c3-50e58ab1eddb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B7.F0.12699.1BA85E05; Thu, 03 Jan 2013 22:42:09 +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 <0MG1001GEY058Y20@mmp1.samsung.com>; Thu, 03 Jan 2013 22:42:09 +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 V3] EXYNOS5: FDT: Add compatible strings for PMIC Date: Thu, 03 Jan 2013 19:17:47 +0530 Message-id: <1357220869-13819-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1357220869-13819-1-git-send-email-rajeshwari.s@samsung.com> References: <1357220869-13819-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkWndj19MAgzn3xC0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlfPl0lqXgBWfFnUcPmRsYp3N0MXJySAiYSCxf08kO YYtJXLi3nq2LkYtDSGApo8Sp7n4mmKJzu5ewQCQWMUp8fDeDHcKZyCRxcPMFNpAqNgEjia0n pzGC2CICEhK/+q+C2cwCJRLfvnWzgtjCAq4SP5sg1rEIqEpc6roDFucV8JA4vHACC8Q2BYlj U7+CxTkFPCXunr8ONl8IqKb1eQMjRK+AxLfJh4DqOYDqZSU2HWAGuUdC4DabxPtpi6CulpQ4 uOIGywRG4QWMDKsYRVMLkguKk9JzjfSKE3OLS/PS9ZLzczcxAgPy9L9n0jsYVzVYHGIU4GBU 4uFlrH8SIMSaWFZcmXuIUYKDWUmEd3b+0wAh3pTEyqrUovz4otKc1OJDjD5Al0xklhJNzgdG S15JvKGxibmpsamlkZGZqSkOYSVxXsZTQOMF0hNLUrNTUwtSi2DGMXFwSjUwLv0VENS1RKAy +YT9PMPg9WyLJuU06TgddEi/9OqsTvdv9b/i50NmfVtxt7dMb33CY+nv6fZ/1thfOve465fD BlVl3rU7ltVzs7bPUFf1FijnqdKxM43cMiuiQDVBj8dLgbdq9yytLp+/zYZCyjyP6vz5tSpb 3nDn+VvUuDiEKNa/s/nt81eJpTgj0VCLuag4EQD+Cr9FdQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jAd2NXU8DDJZO5rV4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmPHl01mWghec FXcePWRuYJzO0cXIySEhYCJxbvcSFghbTOLCvfVsXYxcHEICixglPr6bwQ7hTGSSOLj5AhtI FZuAkcTWk9MYQWwRAQmJX/1XwWxmgRKJb9+6WUFsYQFXiZ9NnewgNouAqsSlrjtgcV4BD4nD CydAbVOQODb1K1icU8BT4u7562DzhYBqWp83ME5g5F3AyLCKUTS1ILmgOCk910ivODG3uDQv XS85P3cTIzjcn0nvYFzVYHGIUYCDUYmHl7H+SYAQa2JZcWXuIUYJDmYlEd7Z+U8DhHhTEiur Uovy44tKc1KLDzH6AF01kVlKNDkfGIt5JfGGxibmpsamliYWJmaWOISVxHkZTwGNF0hPLEnN Tk0tSC2CGcfEwSnVwJi38YZJ+FP9++9zJqx4/KDs9Jb3d+fftPVdeWrtlcye7LlaLks+LObt WPRi0qa9W04wPS5ctN1satiBdxX80t2X1xxkvbDTpTZzdtg6k4qqiVvdljOcWZWp4ap3erPQ WfVlUifkPhhvZOIr2X1AhJlZeJ7+HN1VbLObJafZPl+zVGap0pVFYsySSizFGYmGWsxFxYkA C+jQ8KQCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQl3Qa2gSvlTNA9MRJP2Qk2b8xp3+jzAJbw3ljv0whQ5A/trOxl1j+yCxJO9X5QzrBNfUxa/ Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Chnages in V3: - converted the pmic name to small letters. 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 ce10bf4..505afb3 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -76,6 +76,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 aa75710..4865d23 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -51,6 +51,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)