From patchwork Thu Nov 8 05:37:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 12755 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 C2EBC23E00 for ; Thu, 8 Nov 2012 05:34:13 +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 9F9BCA1946A for ; Thu, 8 Nov 2012 05:34:12 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so1631063iag.11 for ; Wed, 07 Nov 2012 21:34:12 -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=QcYy7K3pSK5RK4/dHkm+qkoVvEUEpGbym01NJgnLF6Y=; b=OqSl1FH36B5IDqqmMOYmUOJylgkQrgrkRGuYbcBsCEtL5fNkfOCDUsAYP5U1Ft8Py6 afDTGCf4G7ibzBKhzvlWmgqcYtDkSCUFfGNtb8nYlye0sjq/e2ZAZtv0rIvEjMWfi4m3 wXySjXYk3/2+H/pwi4kBZfZCegIknnBUuoiI2h5xU1d36VTSalJgbbZxVTCrQ/d4FJbP uJ0SNRG3jdAVxFvy6ztXdARBJEtIhD43Q67apRfLK8Z7X9U0nMvoj/paQ4OFCOeDewRz lVtzk2E2Flh3YCz9PYZ7gxfaqsoyjqN0ZPe4DJbtjKe6U/NYanbb1Awhh/aknRIHA7qt EYDA== Received: by 10.50.152.137 with SMTP id uy9mr6874139igb.62.1352352852013; Wed, 07 Nov 2012 21:34:12 -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 n20csp325400igt; Wed, 7 Nov 2012 21:34:11 -0800 (PST) Received: by 10.66.90.73 with SMTP id bu9mr19081066pab.71.1352352851398; Wed, 07 Nov 2012 21:34:11 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id mo5si34185441pbc.328.2012.11.07.21.34.11; Wed, 07 Nov 2012 21:34:11 -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 <0MD500F9FM4N1490@mailout2.samsung.com>; Thu, 08 Nov 2012 14:34:10 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6B.92.12699.2544B905; Thu, 08 Nov 2012 14:34:10 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-37-509b4452f853 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0B.92.12699.2544B905; Thu, 08 Nov 2012 14:34:10 +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 <0MD500CD1M0GTL50@mmp1.samsung.com>; Thu, 08 Nov 2012 14:34:10 +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 3/5] EXYNOS5: FDT: Add compatible strings for sound Date: Thu, 08 Nov 2012 11:07:17 +0530 Message-id: <1352353039-17165-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1352353039-17165-1-git-send-email-rajeshwari.s@samsung.com> References: <1352353039-17165-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsWyRsSkRjfIZXaAwdt3ohYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyPn55xFwwk6tiwc5+9gbG8xxdjJwcEgImEhv3TWKH sMUkLtxbz9bFyMUhJLCUUeL689lsMEUnN76BSixilPi8aiYzhDORSaL7VisrSBWbgJHE1pPT GEFsEQEJiV/9V8FsZoEYidf7f4BNEhZwlvi54RhYnEVAVeL1xMvMIDavgIfEwdkvmSG2KUgc m/oVbCangKfEtAlLgOIcQMs8JC4eK4BoFZD4NvkQC0hYQkBWYtMBsHMkBG6zSfw+t4YJYoyk xMEVN1gmMAovYGRYxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7iREYjqf/PZPewbiqweIQowAH oxIPr4bk7AAh1sSy4srcQ4wSHMxKIrxTjswKEOJNSaysSi3Kjy8qzUktPsToA3TJRGYp0eR8 YKzklcQbGpuYmxqbWhoZmZma4hBWEudt9kgJEBJITyxJzU5NLUgtghnHxMEp1cBo5NEyt1u/ +/vJSxav1/1YnVykNJ9VR+7r3jyTx1mLWBReTvJt2ievlrGnM9uh5O0klnv7F57O0GX+FNXf dc3+ksDeqkgLEf0FoXLhx6SN+Wv+Hzi4ZL+8euuMN++P/LW8c8FFadm3H49nX2Jfpby9fcvt p09sblqKFSsWzfG/28Ba/u3FZz1rJZbijERDLeai4kQA/2s84XQCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jAd0gl9kBBjM/c1o8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzPj45RFzwUyu igU7+9kbGM9zdDFyckgImEic3PiGDcIWk7hwbz2QzcUhJLCIUeLzqpnMEM5EJonuW62sIFVs AkYSW09OYwSxRQQkJH71XwWzmQViJF7v/wE2SVjAWeLnhmNgcRYBVYnXEy8zg9i8Ah4SB2e/ ZIbYpiBxbOpXsJmcAp4S0yYsAYpzAC3zkLh4rGACI+8CRoZVjKKpBckFxUnpuUZ6xYm5xaV5 6XrJ+bmbGMHB/kx6B+OqBotDjAIcjEo8vBqSswOEWBPLiitzDzFKcDArifBOOTIrQIg3JbGy KrUoP76oNCe1+BCjD9BRE5mlRJPzgZGYVxJvaGxibmpsamliYWJmiUNYSZy32SMlQEggPbEk NTs1tSC1CGYcEwenVAMjV258wrH/LssucEcmfXG6r7rp8xPBa6ml3RV+l7clVIRPnbfwyJM1 B0Q3NV4o6XeOv9slvFzvn6q+/bIT8mYSU2+dWcH9+UK6VPAUv7xXTbkJtmlv7oW7mz9Q9DU6 I7874HfdL0ums0ECR21lb22b9/jkki6+3NDFf2SjJhaJfd7EGLKhLHquEktxRqKhFnNRcSIA KcnjFqMCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkzWLS+SXJLnJm6X2m7vt6Ai97v27DjRg0HLf2wBZZG2Di/i5+MBMtZzPHIgyaJE5DOHvUf Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde --- include/fdtdec.h | 3 +++ lib/fdtdec.c | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index d501d7e..a8dacac 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -70,6 +70,9 @@ enum fdt_compat_id { COMPAT_SAMSUNG_EXYNOS5_SROMC, /* Exynos5 SROMC */ COMPAT_SAMSUNG_EXYNOS_TMU, /* Exynos TMU */ COMPAT_SAMSUNG_S3C2440_I2C, /* Exynos I2C Controller */ + COMPAT_SAMSUNG_EXYNOS5_SOUND, /* Exynos Sound */ + COMPAT_WOLFSON_WM8994_CODEC, /* Wolfson WM8994 Sound Codec */ + COMPAT_SAMSUNG_EXYNOS_SPI, /* Exynos SPI */ COMPAT_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index dbfca1a..624d55e 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -47,6 +47,8 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"), COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"), + COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"), + COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id)