From patchwork Thu Dec 27 06:03:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13708 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 60DCC23F74 for ; Thu, 27 Dec 2012 05:56:57 +0000 (UTC) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by fiordland.canonical.com (Postfix) with ESMTP id 0318DA18423 for ; Thu, 27 Dec 2012 05:56:56 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id p1so9313604vcq.24 for ; Wed, 26 Dec 2012 21:56:56 -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=0LJ1A2wu5SaJTzelH723GaRSl6VNlDdoADT+UlD2rtM=; b=lKr3CGRSgazYjjAFar90aaoHiFJApQlWAK+hfoMA4ubxZkEll2+1zMhmqzKabx/t0d cspKoiKjy7BzFVNeK2JvhvT/LH5kwU1mM02ZCaAtVC3dgo3oM2KNOkw1k74oL7dDSpPK erslhsUBzA5GMEr/cIUiSkQMcN34kwxH86KoEbf5aE003HyvupTsRlpEeKnPxDF7xegK 2tG6RTPbrsGu1RTPzcBBzuLCo7hGIL6RAUzAAVDjdFpaiVOmmUgHAhApWtCCFiC7cVo1 GsIOL9qo88XQ24/f1aTjohpM2xM8yfTcRhL6vthaIVt8srb9u7Ewm+Jun1fA1YiPkKrB UNYg== X-Received: by 10.58.198.164 with SMTP id jd4mr46523438vec.34.1356587816524; Wed, 26 Dec 2012 21:56:56 -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.214.195 with SMTP id oc3csp4980vec; Wed, 26 Dec 2012 21:56:55 -0800 (PST) X-Received: by 10.68.132.10 with SMTP id oq10mr93017342pbb.18.1356587811854; Wed, 26 Dec 2012 21:56:51 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id rg4si27976898pbc.353.2012.12.26.21.56.51; Wed, 26 Dec 2012 21:56:51 -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 <0MFO006YMDRMKSN0@mailout3.samsung.com>; Thu, 27 Dec 2012 14:56:47 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 99.D7.01231.F13EBD05; Thu, 27 Dec 2012 14:56:47 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-f9-50dbe31fc81f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A8.D7.01231.F13EBD05; Thu, 27 Dec 2012 14:56:47 +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 <0MFO009UDDU79J90@mmp1.samsung.com>; Thu, 27 Dec 2012 14:56:47 +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 07/16 V2] EXYNOS5: FDT: Add sound device node data Date: Thu, 27 Dec 2012 11:33:14 +0530 Message-id: <1356588203-24838-8-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1356588203-24838-1-git-send-email-rajeshwari.s@samsung.com> References: <1356588203-24838-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkTlf+8e0Ag5NnzC0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlfFjzhrXgG3/FllXtzA2My3i7GDk5JARMJKZsWcUI YYtJXLi3nq2LkYtDSGApo8SqmQeZYYo+39kJlVjEKLGi4SMrhDORSWL+hiZWkCo2ASOJrSen gY0SEZCQ+NV/FcxmFoiReL3/BxuILSzgJHGycSNQPQcHi4CqxI1pYCavgIfEqb1aELsUJI5N /Qo2kVPAU2LClWVgU4SASr7sOQ82hUVAQOLb5EMsIK0SArISmw4wg1wjIXCdTeJd8yNWiDmS EgdX3GCZwCi8gJFhFaNoakFyQXFSeq6hXnFibnFpXrpecn7uJkZgMJ7+90xqB+PKBotDjAIc jEo8vIrWtwOEWBPLiitzDzFKcDArifBO3wwU4k1JrKxKLcqPLyrNSS0+xOgDdMlEZinR5Hxg pOSVxBsam5ibGptaGhmZmZriEFYS5232SAkQEkhPLEnNTk0tSC2CGcfEwSnVwGghVev+r3FG HPODlIeHJymtvXCr84GDS8/NEH6TQ1f27q0K/8ejIadYNWmTN/Np/k17r3y4WNzKmD3zeF1a qZHDfM/Jr573VCWetoy+vfZYd0DYQ22R1Uu+q61bu8uu78Glzat3R0UYq1TzxIc2lnDtfrbF vfj6GtdXSzxzbhrK9GtqXDeZtFKJpTgj0VCLuag4EQA1nAsmcwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42I5/e+xgK7849sBBn3tqhYP199ksZhy+AuL A5PHnWt72AIYoxoYbTJSE1NSixRS85LzUzLz0m2VvIPjneNNzQwMdQ0tLcyVFPISc1NtlVx8 AnTdMnOAZisplCXmlAKFAhKLi5X07TBNCA1x07WAaYzQ9Q0JgusxMkADCWsYMz6secNa8I2/ YsuqduYGxmW8XYycHBICJhKf7+xkg7DFJC7cWw9kc3EICSxilFjR8JEVwpnIJDF/QxMrSBWb gJHE1pPTGEFsEQEJiV/9V8FsZoEYidf7f4BNEhZwkjjZuBGonoODRUBV4sY0MJNXwEPi1F4t iF0KEsemfgWbyCngKTHhyjKwKUJAJV/2nGebwMi7gJFhFaNoakFyQXFSeq6hXnFibnFpXrpe cn7uJkZwqD+T2sG4ssHiEKMAB6MSD6+i9e0AIdbEsuLK3EOMEhzMSiK80zcDhXhTEiurUovy 44tKc1KLDzH6AN00kVlKNDkfGId5JfGGxibmpsamliYWJmaWOISVxHmbPVIChATSE0tSs1NT C1KLYMYxcXBKNTCmL/w8m3XFnutqf2UuSUssvaDe5uwbXWz4r0Z8adOVy/vme1xr31x+8qvl 2+VdLYcKMubPVTWcdCyl8KH6ptPhaVyXvhziy/yvlRQyt+z1pPD0Y2kvtiVUSDraPzI6u8Fs trVkx3wlp+NaJ5dlufM7WC+rdo7uO/jpU/f0APviP+7PqiLWCQUosRRnJBpqMRcVJwIADClj laICAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkwle7mZTUmI2SrXXgV1v9xHhQvHPnzqnf08cCvIn8GrdqQWpC/Z6I60UjxzzLfSIZSwqo2 Add sound device node data for exynos Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes since V1: - None arch/arm/dts/exynos5250.dtsi | 5 +++++ doc/device-tree-bindings/exynos/sound.txt | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 doc/device-tree-bindings/exynos/sound.txt diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi index 7a50b2e..dc13f29 100644 --- a/arch/arm/dts/exynos5250.dtsi +++ b/arch/arm/dts/exynos5250.dtsi @@ -92,4 +92,9 @@ reg = <0x12CD0000 0x100>; interrupts = <0 63 0>; }; + + sound@12d60000 { + compatible = "samsung,exynos-sound"; + reg = <0x12d60000 0x20>; + }; }; diff --git a/doc/device-tree-bindings/exynos/sound.txt b/doc/device-tree-bindings/exynos/sound.txt new file mode 100644 index 0000000..98d1798 --- /dev/null +++ b/doc/device-tree-bindings/exynos/sound.txt @@ -0,0 +1,27 @@ +Exynos Sound Subsystem + +The device node for sound subsytem which contains codec and i2s block +that is a part of Exynos5250 + +Required properties : + - compatible : Should be "samsung,exynos-sound" for sound + - samsung,i2s-epll-clock-frequency : epll clock output frequency in Hz + - samsung,i2s-sampling-rate : sampling rate, default is 48000 + - samsung,i2s-bits-per-sample : sample width, defalut is 16 bit + - samsung,i2s-channels : nummber of channels, default is 2 + - samsung,i2s-lr-clk-framesize : lr clock frame size + - samsung,i2s-bit-clk-framesize : bit clock frame size + - samsung,codec-type : sound codec type + +Example: + +sound@12d60000 { + compatible = "samsung,exynos-sound" + samsung,i2s-epll-clock-frequency = <192000000>; + samsung,i2s-sampling-rate = <48000>; + samsung,i2s-bits-per-sample = <16>; + samsung,i2s-channels = <2>; + samsung,i2s-lr-clk-framesize = <256>; + samsung,i2s-bit-clk-framesize = <32>; + samsung,codec-type = "wm8994"; +};