From patchwork Thu Nov 29 07:55:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13285 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 ABA182425B for ; Thu, 29 Nov 2012 07:49:36 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5E332A187D9 for ; Thu, 29 Nov 2012 07:49:36 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so9628202ieb.11 for ; Wed, 28 Nov 2012 23:49:36 -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=fnuzcrstWkY8pLMtZrxoYwAai1VU30aSafKdiKAhbSY=; b=EW3aPtXSfSY/WhN+ULuQSvBYmoCW1kHVwHJxqForzUX0OsD67tTqYMre6EHLh33ZH9 LE5WL8qCJSZ0dwJO58kL0Efh8moezU27n9EKK1MBiRuE/xO4SFEUYuNd6nvII71wTl1e RkGtUu8KfxZSDaSZmvmxQwS1nVyGj3UhpPOvrd/g+TIPgajVSzp9QqxIR9Bvq4P5yRwJ ENAbEA6AMaGjrT99BSe/r+UKO4+sfsPjlWfu+3yLcmiURzkTtMRDibTWB9ec/QNbMtgx hxh2qWX1+EjoCHpZnCiESgoiSnVoui24kcYOmkWtUybUr0fjv/ycIqpZddPexW/ferNE azXg== Received: by 10.50.91.195 with SMTP id cg3mr24597052igb.57.1354175376135; Wed, 28 Nov 2012 23:49:36 -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 n20csp806383igt; Wed, 28 Nov 2012 23:49:35 -0800 (PST) Received: by 10.68.209.136 with SMTP id mm8mr65432385pbc.146.1354175375402; Wed, 28 Nov 2012 23:49:35 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id tp3si1786569pbc.85.2012.11.28.23.49.35; Wed, 28 Nov 2012 23:49:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ME800HYJOE8XD10@mailout3.samsung.com>; Thu, 29 Nov 2012 16:49:34 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id F7.D0.01231.E8317B05; Thu, 29 Nov 2012 16:49:34 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-37-50b7138ef292 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 66.D0.01231.D8317B05; Thu, 29 Nov 2012 16:49:33 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ME800LQWOECLB50@mmp2.samsung.com>; Thu, 29 Nov 2012 16:49:33 +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/6 V3] EXYNOS5: FDT: Add compatible strings for sound Date: Thu, 29 Nov 2012 13:25:49 +0530 Message-id: <1354175752-17233-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1354175752-17233-1-git-send-email-rajeshwari.s@samsung.com> References: <1354175752-17233-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkVrdPeHuAwdxbXBYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyOv8fYSy4w1Vx8OQ2xgbG3xxdjJwcEgImEp8aT7JB 2GISF+6tB7K5OIQEljJKTOj+ywJTNGNtN1RiOqPE0jfLmSCciUwS3R33warYBIwktp6cxghi iwhISPzqvwpmMwvESLze/wNshbCAm8S/D9PAbBYBVYkte86D9fIKeEhcnv2JFWKbgsSxqV/B bE4BT4lPm7rAbCGgmg2r1zBC9ApIfJt8CKiXA6heVmLTAWaQeyQErrNJ3Ni5HepqSYmDK26w TGAUXsDIsIpRNLUguaA4KT3XUK84Mbe4NC9dLzk/dxMjMCBP/3smtYNxZYPFIUYBDkYlHt5N ltsChFgTy4orcw8xSnAwK4nwav4BCvGmJFZWpRblxxeV5qQWH2L0AbpkIrOUaHI+MFrySuIN jU3MTY1NLY2MzExNcQgrifM2e6QECAmkJ5akZqemFqQWwYxj4uCUamB08a4/JmDIdm8VQ5ne i6VvHbl1BfXfnwmo69brF3FdJO71eaekhOvPtWaH8hkeC/hcjKrtn2AZsXFSndqRYsXbale7 MuuvH/6x8kduxT+5O8tb90ob8HSvrdI2brT/19WoJCi8PS5r+Svm57fEo5LdX+zRFpoTeOqO APMFyeKsxP8ZU9f/PanEUpyRaKjFXFScCABiT23ddQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQd1e4e0BBpMWWVs8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzOj8f4Sx4A5X xcGT2xgbGH9zdDFyckgImEjMWNvNBmGLSVy4tx7I5uIQEpjOKLH0zXImCGcik0R3x30WkCo2 ASOJrSenMYLYIgISEr/6r4LZzAIxEq/3/wCbJCzgJvHvwzQwm0VAVWLLnvNgvbwCHhKXZ39i hdimIHFs6lcwm1PAU+LTpi4wWwioZsPqNYwTGHkXMDKsYhRNLUguKE5KzzXUK07MLS7NS9dL zs/dxAgO92dSOxhXNlgcYhTgYFTi4d1kuS1AiDWxrLgy9xCjBAezkgiv5h+gEG9KYmVValF+ fFFpTmrxIUYfoKsmMkuJJucDYzGvJN7Q2MTc1NjU0sTCxMwSh7CSOG+zR0qAkEB6Yklqdmpq QWoRzDgmDk6pBsaC6AcasidsDoTPqFfesKRN/6cZt7rJ6Zt6XSvqPu9bu5LLn6k+9hJPTWr2 gm0ntcvsPbY3pHJ/bPFxDnvqIZRbunux9lN32e5/MYf6uO+9tm65t0ujYBHH/2nycx+dY13r tV3c8M2t8h/bVzrMVjtavXC7kOxU74n7fn7jtCyxDXJpWHDS87cSS3FGoqEWc1FxIgBNKC7A pAIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnQFjeBYK/7lyX3DuYs1xrfyCHUN6IZ6tgUmmtATvr5JORxIdaCXj7Lv6jKvrcI7j0ANvIm Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Removed SPI string. Changes in V3: - None. include/fdtdec.h | 2 ++ lib/fdtdec.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 883961f..0c195f3 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -70,6 +70,8 @@ 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_COUNT, }; diff --git a/lib/fdtdec.c b/lib/fdtdec.c index ff25db6..29766dc 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)