From patchwork Fri Dec 14 11:56:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13576 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 7C40623FC0 for ; Fri, 14 Dec 2012 11:56:55 +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 167C1A180C0 for ; Fri, 14 Dec 2012 11:56:54 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so5708640ieb.11 for ; Fri, 14 Dec 2012 03:56:54 -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=a6+9J8ibo2q57resUP5Pga59AsKdSMXwbYzCegGAjxU=; b=TvgieM1M284Zkk33Zg+6Ssn/WAoK92aQQt7flEp8/X+RkquWwKFmyU5VaYrzCdkJKp BO2H3PxBAAumd5Wek6Wtd3rSOi4BvpKzt8QWB4p1fQKrcRbLYzycTadOG2pgQLPOeso7 zS8uGRGUiZ61NgtfaAKKzrrtHwgqBqxLAhFYZya6Fe+V4W6uwOYhvmS2BcZwFMSaSP1C Dp0L+wqUYYj6YgLC5B/UtSlK8vSN3Zl/Idev5Cthqr6zUzsl1Nx+xMUzDi8bo4utAHij Tmh2fPWOaKgMzFXBSto7ssclaWhTf1DZkgkJ+brITubYnvtQ5sCH6Wwp3No2MvgbLtEl QXZA== Received: by 10.43.125.133 with SMTP id gs5mr4242664icc.54.1355486214533; Fri, 14 Dec 2012 03:56:54 -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 n20csp67368igt; Fri, 14 Dec 2012 03:56:54 -0800 (PST) Received: by 10.66.85.103 with SMTP id g7mr15215520paz.45.1355486213081; Fri, 14 Dec 2012 03:56:53 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id tp3si4663364pbc.295.2012.12.14.03.56.52; Fri, 14 Dec 2012 03:56:53 -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 <0MF000AMARTS8I40@mailout4.samsung.com>; Fri, 14 Dec 2012 20:56:19 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 31.5E.12699.2E31BC05; Fri, 14 Dec 2012 20:56:19 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-b0-50cb13e21eee Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E0.5E.12699.2E31BC05; Fri, 14 Dec 2012 20:56:18 +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 <0MF000GYFRKI4870@mmp2.samsung.com>; Fri, 14 Dec 2012 20:56:18 +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 09/16] EXYNOS5: FDT: Add compatible strings for sound Date: Fri, 14 Dec 2012 17:26:22 +0530 Message-id: <1355486189-432-9-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> References: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsWyRsSkVvex8OkAg80pFg/X32SxmHL4C4sD k8eda3vYAhijuGxSUnMyy1KL9O0SuDI23lnDVHCCq2LRpifMDYyfOboYOTkkBEwkVj97zQZh i0lcuLceyObiEBJYyihx9eVBRpiitxfWsEMkpjNKNLSchnImMkk823uIBaSKTcBIYuvJaWAd IgISEr/6r4LZzAIxEq/3/wBbISzgKvHt6DFmEJtFQFVixpE+dhCbV8BNYt68WawQ2xQkjk39 CmZzCrhLnHxzD6xeCKhmRc8yNoheAYlvk0H2cgDVy0psOsAMco+EwG02ibWHpjJBzJGUOLji BssERuEFjAyrGEVTC5ILipPSc430ihNzi0vz0vWS83M3MQLD8fS/Z9I7GFc1WBxiFOBgVOLh /SB0KkCINbGsuDL3EKMEB7OSCK/kEaAQb0piZVVqUX58UWlOavEhRh+gSyYyS4km5wNjJa8k 3tDYxNzU2NTSyMjM1BSHsJI4b7NHSoCQQHpiSWp2ampBahHMOCYOTqkGxjXf3DU36UaKM/CZ 7crWYXCIYy2ZdnY1w+WSisNGh1aELL+epDolW6hg9YdeG50DEytY029fuPFO/c+6DqkWgZ+b o1wWfjYSDNg8KVyBzfTnGQvBHzp91c2HXnPlmu+wX9BZuN/aO6d55qXrSedebz65qvVnVfup V1tfv09y7TtxrPDRm46UQ0osxRmJhlrMRcWJAHhS9QR0AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQd1HwqcDDG4eNLR4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmLHxzhqmghNc FYs2PWFuYPzM0cXIySEhYCLx9sIadghbTOLCvfVsXYxcHEIC0xklGlpOs0M4E5kknu09xAJS xSZgJLH15DRGEFtEQELiV/9VMJtZIEbi9f4fbCC2sICrxLejx5hBbBYBVYkZR/rANvAKuEnM mzeLFWKbgsSxqV/BbE4Bd4mTb+6B1QsB1azoWcY2gZF3ASPDKkbR1ILkguKk9FwjveLE3OLS vHS95PzcTYzgcH8mvYNxVYPFIUYBDkYlHt4PQqcChFgTy4orcw8xSnAwK4nwSh4BCvGmJFZW pRblxxeV5qQWH2L0AbpqIrOUaHI+MBbzSuINjU3MTY1NLU0sTMwscQgrifM2e6QECAmkJ5ak ZqemFqQWwYxj4uCUamAss4zeNiNv2/N1mwLsbTkqT+U36b3bz+/x84PH7shvPse3Rpy+JHPF +KfKD6Ome2ZPxT/zWO1g0FnvqmeQm6twLXLd0Zh17axhH67EPlQQlgp3/PL+xcn91slHNgko Tjr5+dGnm6W8czxLnUOLmz+EJ19WvhDBsCxfYb3G00lTVgTPVmS7uO6DEktxRqKhFnNRcSIA 4yi9+KQCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkQtlhOhdBIq3QL9fSoAtAO7w9AXp152qdxy3Vd8YZIoChNpZvmyLWk+3iE95yRXiUj+XN8 Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V1: -Rebased on latest u-boot-samsung 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 567ad13..976c9f3 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -71,6 +71,8 @@ enum fdt_compat_id { COMPAT_SMSC_LAN9215, /* SMSC 10/100 Ethernet LAN9215 */ COMPAT_SAMSUNG_EXYNOS5_SROMC, /* Exynos5 SROMC */ 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 6ae2dd0..43affaa 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -48,6 +48,8 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(SMSC_LAN9215, "smsc,lan9215"), COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), 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)