From patchwork Wed Jan 9 07:03:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13938 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 CC02323F7F for ; Wed, 9 Jan 2013 06:56:39 +0000 (UTC) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by fiordland.canonical.com (Postfix) with ESMTP id 71709A18C69 for ; Wed, 9 Jan 2013 06:56:39 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fs19so1235299vbb.16 for ; Tue, 08 Jan 2013 22:56:39 -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=mIHJtybYMoBcp+8NOLoQfQUnsfyRZqJnUCEnDn9o9m4=; b=kxllJ+8OJvwON7UbWlecAu9Wmf1fhlGkVyEiXTNWOqYnz11VjisV8dDVT3G0rJuUlE 3+08xBlKm1yDB4vZd6Pwjd+s1qUYsPKMJEwTkz9N43KdiDV0SXkXzbgysC/AbUHzN/p5 sjn9pBt2cRYODfn6gR68bxWKZ0J8OopiWOSWqMbh92jYPmlKOaoYBiIbmuAR5vbulDrT zxst9hdcBY9kuA324WCSMI1SzN3fM8tro6zSrHHaQu+68LqTDAYV/Bq3U3rpdWoSSmwh MucWGa260aa9PtNTPPha4cFbM9IaUS63VxwVQMpBIlpTgmY3qQXsIJrdV6PWN7Y1AWxQ Gpaw== X-Received: by 10.52.18.147 with SMTP id w19mr77572375vdd.94.1357714598970; Tue, 08 Jan 2013 22:56:38 -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 st5csp462veb; Tue, 8 Jan 2013 22:56:38 -0800 (PST) X-Received: by 10.66.90.1 with SMTP id bs1mr186877269pab.19.1357714597402; Tue, 08 Jan 2013 22:56:37 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id d7si65515891paw.240.2013.01.08.22.56.36; Tue, 08 Jan 2013 22:56:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MGC00A4EJA8NJN0@mailout1.samsung.com>; Wed, 09 Jan 2013 15:56:36 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7E.86.12699.3A41DE05; Wed, 09 Jan 2013 15:56:36 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-0d-50ed14a3e5d9 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id CD.86.12699.3A41DE05; Wed, 09 Jan 2013 15:56:35 +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 <0MGC00L0DJA2MOB0@mmp1.samsung.com>; Wed, 09 Jan 2013 15:56:35 +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 V5] EXYNOS5: FDT: Add compatible strings for PMIC Date: Wed, 09 Jan 2013 12:33:38 +0530 Message-id: <1357715020-16297-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1357715020-16297-1-git-send-email-rajeshwari.s@samsung.com> References: <1357715020-16297-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkSneJyNsAg+ZeZouH62+yWEw5/IXF gcnjzrU9bAGMUVw2Kak5mWWpRfp2CVwZi3fNYCp4xFXR8WwNSwPjM44uRg4OCQETiQVfzboY OYFMMYkL99azgdhCAksZJe70SULETSRWb73P3sXIBRRfxCix/mYLC4QzkUliwoarLCBVbAJG EltPTmMEsUUEJCR+9V8Fs5kFSiS+fetmBbGFBVwl2h8sAouzCKhKTNqwESzOK+AhMfviCiaI bQoSx6Z+BYtzCnhK7L31kR3iIg+JzXNPsUP0Ckh8m3yIBeIBWYlNB5hB7pEQuM0mcefND6g5 khIHV9xgmcAovICRYRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZGYDCe/vdMegfjqgaLQ4wC HIxKPLwPp70JEGJNLCuuzD3EKMHBrCTCe9cbKMSbklhZlVqUH19UmpNafIjRB+iSicxSosn5 wEjJK4k3NDYxNzU2tTQyMjM1xSGsJM7LeOpJgJBAemJJanZqakFqEcw4Jg5OqQbGJVeNIm5r 3bW0mtQWc+/U1VNHtt9MPPLGTni2fNHp+680TKc/absyM51hzwKz1h+an4+x6aq1H12kNftQ 4IElwYtYTERv9xec0+arzGXpci/YPWHFvb1q/Tds3vRUBU7US2Dkd/fauPH1/jUeRbc1xIVN P8ok6so0yR94vGr9IjnT4+0/H6f/UGIpzkg01GIuKk4EAKGqbT9zAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jAd3FIm8DDG40mlo8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzFi8awZTwSOu io5na1gaGJ9xdDFyckgImEis3nqfHcIWk7hwbz1bFyMXh5DAIkaJ9TdbWCCciUwSEzZcZQGp YhMwkth6chojiC0iICHxq/8qmM0sUCLx7Vs3K4gtLOAq0f5gEVicRUBVYtKGjWBxXgEPidkX VzBBbFOQODb1K1icU8BTYu+tj2BXCAHVbJ57in0CI+8CRoZVjKKpBckFxUnpuUZ6xYm5xaV5 6XrJ+bmbGMHh/kx6B+OqBotDjAIcjEo8vA+nvQkQYk0sK67MPcQowcGsJMJ71xsoxJuSWFmV WpQfX1Sak1p8iNEH6KqJzFKiyfnAWMwriTc0NjE3NTa1NLEwMbPEIawkzst46kmAkEB6Yklq dmpqQWoRzDgmDk6pBkavp9M1zjcwhPxPm80zKfuUWnCU7jH7uP4lO/P4/GbFWwiF3FT4/zJe OaxPrvvFhxV1LyZ/vnH2Iv9rTU92789N/86JpgRznhB4fD3mT5fC8zeZraWnJi97Nb3nYmpC YcXrS3neZ+RC5rvlrzk04/3aHcc/SSflPGo4r3x8rciCoidTawPPvjqlxFKckWioxVxUnAgA KRJcLaQCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQll+qC8oALd+ISzV5DYw8oX/FIxSrQ9DfMfZY/osziwEy1A89bHYL9Sv3v4H8fx00u+Z4eu 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 Changes in V5: - Rebased on latest u-boot-samsung tree. 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 0d3417b..f77d195 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -78,6 +78,7 @@ enum fdt_compat_id { COMPAT_SAMSUNG_EXYNOS_SPI, /* Exynos SPI */ COMPAT_SAMSUNG_EXYNOS_EHCI, /* Exynos EHCI controller */ COMPAT_SAMSUNG_EXYNOS_USB_PHY, /* Exynos phy controller for usb2.0 */ + COMPAT_MAXIM_MAX77686_PMIC, /* MAX77686 PMIC */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 4416670..16921e1 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -53,6 +53,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"), COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"), COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"), + COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)