From patchwork Wed Nov 28 06:10:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13259 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 107C923E08 for ; Wed, 28 Nov 2012 06:03: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 B817FA1854A for ; Wed, 28 Nov 2012 06:03:54 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so7678022ieb.11 for ; Tue, 27 Nov 2012 22:03: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=P6w/Ob00f5NkXKKDoXaKkZeZJWJ+8YFdjuihobX0z9E=; b=Mw1C4LyA/d6dUkWoLaI/HGlzbEEWBxQS36EtNxFEiODIjQ9xQJuZ/dnmicduo64ELh TiwMaVeEjjCfXYop6AAGiRrfZHoKCQWSIwBY0wGzSNSo3GUKnNwkZ+mBSYymmDcZCpR8 tsViSTNnKRzGpD0DkEIAT9hyCNuLo4ZWd373hZlJCPJW1wIEjou7Zqk0iwA5bUa9aSRz whKoZC5kP+MRgl3NTP1oS28wqCqxjohPIaaWktaGxXP/FI+VaGYeKu4D7KlJfZCd6grW NagzUExXe9YVLtjxucwcQIp/juv7Zw/6+9ETgk1Mv+G05Odj9avYsrkgtnwtUnp18mN8 qvNg== Received: by 10.43.49.199 with SMTP id vb7mr6162860icb.6.1354082634479; Tue, 27 Nov 2012 22:03: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 n20csp594635igt; Tue, 27 Nov 2012 22:03:54 -0800 (PST) Received: by 10.66.85.67 with SMTP id f3mr49698151paz.0.1354082633796; Tue, 27 Nov 2012 22:03:53 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id zk1si27666702pbc.20.2012.11.27.22.03.53; Tue, 27 Nov 2012 22:03:53 -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 epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ME6007O8OTV45L0@mailout2.samsung.com>; Wed, 28 Nov 2012 15:03:52 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 1F.21.01231.849A5B05; Wed, 28 Nov 2012 15:03:52 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-0d-50b5a948c977 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6E.21.01231.849A5B05; Wed, 28 Nov 2012 15:03:52 +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 <0ME600J1EOU4G930@mmp2.samsung.com>; Wed, 28 Nov 2012 15:03:52 +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 4/7 V2] EXYNOS5: FDT: Add compatible strings for sound Date: Wed, 28 Nov 2012 11:40:10 +0530 Message-id: <1354083013-5213-5-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1354083013-5213-1-git-send-email-rajeshwari.s@samsung.com> References: <1354083013-5213-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkWtdj5dYAg8sTDSwerr/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBl/Go9x1Qwg6ui9cc+9gbGIxxdjJwcEgImEl8WrWCH sMUkLtxbz9bFyMUhJLCUUeL/1xUsMEU/71xkgkhMZ5Q483IHO4QzkUni56P7rCBVbAJGEltP TmMEsUUEJCR+9V8Fs5kFYiRe7//BBmILC7hJrG6cCGazCKhK9PzdzwRi8wq4S+xb/Qlqm4LE salfwWZyCnhI3OtdBHaeEFDNiubdTBC9AhLfJh8CqucAqpeV2HSAGeQeCYHbbBIL1vxig5gj KXFwxQ2WCYzCCxgZVjGKphYkFxQnpeca6hUn5haX5qXrJefnbmIEBuTpf8+kdjCubLA4xCjA wajEw+vguDVAiDWxrLgy9xCjBAezkggvTxtQiDclsbIqtSg/vqg0J7X4EKMP0CUTmaVEk/OB 0ZJXEm9obGJuamxqaWRkZmqKQ1hJnLfZIyVASCA9sSQ1OzW1ILUIZhwTB6dUA+O6wsj7TUwn ObR2RW/SDt25aoXFMiMPvZOLXUxMz85NULraLDzvZeCDqcGN6y0PMZlsSOvLmRNc/LqDXe4H 206G2LzpoodYsrdkuUfE3uF49XDdaqZnS7YeEo5n3pKf+fcGj72s6nu3/OUfmG36P01aF3Dj 8LXdi4Sv/hH/4q6TV6jixLjmdZYSS3FGoqEWc1FxIgAjhJFJdQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQV2PlVsDDM480bB4uP4mi8WUw19Y HJg87lzbwxbAGNXAaJORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+Ti E6DrlpkDNFtJoSwxpxQoFJBYXKykb4dpQmiIm64FTGOErm9IEFyPkQEaSFjDmPGr9RxTwQyu itYf+9gbGI9wdDFyckgImEj8vHORCcIWk7hwbz1bFyMXh5DAdEaJMy93sEM4E5kkfj66zwpS xSZgJLH15DRGEFtEQELiV/9VMJtZIEbi9f4fbCC2sICbxOrGiWA2i4CqRM/f/WAbeAXcJfat /sQCsU1B4tjUr2AzOQU8JO71LmIHsYWAalY072aawMi7gJFhFaNoakFyQXFSeq6hXnFibnFp Xrpecn7uJkZwuD+T2sG4ssHiEKMAB6MSD6+D49YAIdbEsuLK3EOMEhzMSiK8PG1AId6UxMqq 1KL8+KLSnNTiQ4w+QFdNZJYSTc4HxmJeSbyhsYm5qbGppYmFiZklDmElcd5mj5QAIYH0xJLU 7NTUgtQimHFMHJxSDYwVkU7/1UNPhDUHNF0X/X+vL/dk94cpc2W2LslnN/dfHLuBLY2noSHg dG76gkrbM68sNXxYl8bP97n4f8K59WcnrXNWOmxXdOz5yvNlvaGOtWyPd9g8dehqes1uKGPw 6OthLfaOyJfLd2mfU36nfYW1RWq75csjV0oqD++acb7v/OPP/3tXGHUrsRRnJBpqMRcVJwIA h4GzkaQCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQnxYIuhfAhFFZXAAOCNxuKF0554wFqd4MA/CYqAvcaC/ZNByfadu8+feHpk+1MSi+vRM8UF Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Removed SPI string. 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 89030aa..8efb89f 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 6e8c24c..87dc32f 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)