From patchwork Fri Jan 4 05:38:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13784 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 6A45223F74 for ; Fri, 4 Jan 2013 05:32:18 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by fiordland.canonical.com (Postfix) with ESMTP id BFF94A18196 for ; Fri, 4 Jan 2013 05:32:17 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id d16so16285471vcd.33 for ; Thu, 03 Jan 2013 21:32:17 -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=H6kRdvJnMAk9D4bfnlWr0qsqrylVYcIxUQT4TOOwYhM=; b=M8XT9PpikraWo2nUdzaLEuCjWBLJd9q1tQo2yj96MgCY+JYsvJIkuvWRBdOj9fD25Z Dz/jK9OROeXlUdjCYnBW+1/YKK+CfIi8rXQEcDikYXJxRV1EpdujETS94HPkEpbSu7Ny dtFSVhh48kkyflluMQnvl8SXF2c3ys2SWMvn5TpKn/wWSiF9QsMwbB+An5CpXhIrGDHZ h/6TBBKsfIFjCGagmrGphCNfTPXwDKqZoRqbmR9VoGlm6w6+Ax4WA4GpeZIodLJ+iw2r K6zodVc/7h0IZiFS5eBkhBRqTLhnDZhJOi8/l8CrZtpLMVH7FyhVyP3w9S/4KEQIYo+2 w43g== X-Received: by 10.220.218.197 with SMTP id hr5mr74371791vcb.8.1357277537162; Thu, 03 Jan 2013 21:32:17 -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 st5csp123045veb; Thu, 3 Jan 2013 21:32:16 -0800 (PST) X-Received: by 10.68.237.135 with SMTP id vc7mr159320588pbc.2.1357277535352; Thu, 03 Jan 2013 21:32:15 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id go4si47764968pbc.114.2013.01.03.21.32.14; Thu, 03 Jan 2013 21:32:15 -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 epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MG3008V561GTZD0@mailout2.samsung.com>; Fri, 04 Jan 2013 14:32:14 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 81.21.12699.E5966E05; Fri, 04 Jan 2013 14:32:14 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-ef-50e6695e89ae Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 21.21.12699.D5966E05; Fri, 04 Jan 2013 14:32:14 +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 <0MG300LZU61EH870@mmp1.samsung.com>; Fri, 04 Jan 2013 14:32:13 +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 V4] EXYNOS5: FDT: Add compatible strings for PMIC Date: Fri, 04 Jan 2013 11:08:57 +0530 Message-id: <1357277939-3033-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1357277939-3033-1-git-send-email-rajeshwari.s@samsung.com> References: <1357277939-3033-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkVjcu81mAweHVbBYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyrq59y17QyFXxdcYEpgbGFRxdjJwcEgImEou+v2OG sMUkLtxbz9bFyMUhJLCUUeL8x2usMEWTtz6ASixilJj56z4ThDORSWLO/SawKjYBI4mtJ6cx gtgiAhISv/qvgtnMAiUS3751g9UIC7hKtN79wA5iswioSuzt3g5m8wq4S9z6dAhqm4LEsalf wWxOAQ+Jo8t7mUBsIaCai/13WCB6BSS+TT4EZHMA1ctKbDrADHKPhMB1NonZ/7vYIOZIShxc cYNlAqPwAkaGVYyiqQXJBcVJ6blGesWJucWleel6yfm5mxiBAXn63zPpHYyrGiwOMQpwMCrx 8FreeRogxJpYVlyZe4hRgoNZSYT3s/azACHelMTKqtSi/Pii0pzU4kOMPkCXTGSWEk3OB0ZL Xkm8obGJuamxqaWRkZmpKQ5hJXFexlNPAoQE0hNLUrNTUwtSi2DGMXFwSjUwTrtz4sL2WZLy CzPkbbue8zl+LzkYHpd8MMTiTJqmOmtlC8ffHZdeKlxvyV58eu9qLjEPC2Hra417L+oWcDw/ uFjlYPSfl1HmzfftYzyebz59qiKuJEs0h8/z5jTtyETVr6Ka+/XfWzD4vz6x3aVz8+IV9m/Y D5W739IqirPQPXPHtyR5TV6gEktxRqKhFnNRcSIAw70z5XUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jAd24zGcBBse0LR6uv8liMeXwFxYH Jo871/awBTBGNTDaZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXmptoqufgE 6Lpl5gCNVlIoS8wpBQoFJBYXK+nbYZoQGuKmawHTGKHrGxIE12NkgAYS1jBmXF37lr2gkavi 64wJTA2MKzi6GDk5JARMJCZvfcAGYYtJXLi3Hsjm4hASWMQoMfPXfSYIZyKTxJz7TawgVWwC RhJbT05jBLFFBCQkfvVfBbOZBUokvn3rBqsRFnCVaL37gR3EZhFQldjbvR3M5hVwl7j16RAr xDYFiWNTv4LZnAIeEkeX9zKB2EJANRf777BMYORdwMiwilE0tSC5oDgpPddIrzgxt7g0L10v OT93EyM42J9J72Bc1WBxiFGAg1GJh9fyztMAIdbEsuLK3EOMEhzMSiK8n7WfBQjxpiRWVqUW 5ccXleakFh9i9AG6aiKzlGhyPjAS80riDY1NzE2NTS1NLEzMLHEIK4nzMp56EiAkkJ5Ykpqd mlqQWgQzjomDU6qBsdt824t7FW/2ROox/Pn+UvYOS9qemXv7RQXevhZqZKoo65mdU/HOfJOb hI1t8+b25K2yYZPsLDgN4479bjKpqZByfXeL37TxrayLO5v4pVbzDzUXZzNNXNkkfujv2xTV suJjn1QcO7UfSCUrO+r3Wb3MPm3qJxbdxrH/ouuv6VsnzduUsrFfiaU4I9FQi7moOBEAX6ih ZKMCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQm+9lUP+20OdKWp5hXWL2oCRMgn7OPOGKk1d9a3MAtwG4SAnxvSFNGYh/Xj8eolh0sG+gyP Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - converted the pmic name to small letters. Changes in V4: - 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 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)