From patchwork Wed Nov 27 15:54:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Denis Carikli X-Patchwork-Id: 3248911 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D500CC0C5E for ; Wed, 27 Nov 2013 15:58:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A92AF205D8 for ; Wed, 27 Nov 2013 15:58:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 619002020F for ; Wed, 27 Nov 2013 15:58:36 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlhTm-0006VO-BM; Wed, 27 Nov 2013 15:56:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlhTF-0000IZ-3k; Wed, 27 Nov 2013 15:56:09 +0000 Received: from smtp4-g21.free.fr ([2a01:e0c:1:1599::13]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlhSZ-0000CV-CA for linux-arm-kernel@lists.infradead.org; Wed, 27 Nov 2013 15:55:29 +0000 Received: from denis-N73SV.local.eukrea.com (unknown [88.170.243.169]) by smtp4-g21.free.fr (Postfix) with ESMTP id E36DC4C80A7; Wed, 27 Nov 2013 16:54:59 +0100 (CET) From: Denis Carikli To: Timur Tabi Subject: [PATCHv8][ 5/5] ARM: dts: mbimxsd53: Add sound support. Date: Wed, 27 Nov 2013 16:54:24 +0100 Message-Id: <1385567664-758-5-git-send-email-denis@eukrea.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1385567664-758-1-git-send-email-denis@eukrea.com> References: <1385567664-758-1-git-send-email-denis@eukrea.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131127_105528_324889_010B0B84 X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, =?UTF-8?q?Eric=20B=C3=A9nard?= , Pawel Moll , Stephen Warren , Ian Campbell , Liam Girdwood , Rob Herring , Denis Carikli , Mark Brown , Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Stephen Warren Cc: Ian Campbell Cc: devicetree@vger.kernel.org Cc: Liam Girdwood Cc: Mark Brown Cc: alsa-devel@alsa-project.org Cc: Sascha Hauer Cc: Eric BĂ©nard Signed-off-by: Denis Carikli --- ChangeLog v7->v8: - New patch. --- .../boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts b/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts index 95929aa..b14cc3d 100644 --- a/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts +++ b/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts @@ -51,8 +51,21 @@ regulator-max-microvolt = <3300000>; regulator-always-on; }; + + sound { + compatible = "eukrea,asoc-tlv320"; + eukrea,model = "imx53-eukrea-tlv320aic23"; + ssi-controller = <&ssi2>; + fsl,mux-int-port = <2>; + fsl,mux-ext-port = <4>; + }; }; +&audmux { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_audmux>; + status = "okay"; +}; &esdhc1 { pinctrl-names = "default"; @@ -63,8 +76,28 @@ status = "okay"; }; +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; + + tlv320aic23: codec@1a { + compatible = "ti,tlv320aic23"; + clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>; + reg = <0x1a>; + }; +}; + &iomuxc { imx53-eukrea { + pinctrl_hog: hoggrp { + fsl,pins = ; + }; + + pinctrl_audmux: audmuxgrp { + fsl,pins = ; + }; + pinctrl_esdhc1: esdhc1 { fsl,pins = ; }; @@ -81,6 +114,10 @@ fsl,pins = ; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = ; + }; + pinctrl_uart1: uart1grp { fsl,pins = ; }; @@ -91,6 +128,12 @@ }; }; +&ssi2 { + codec-handle = <&tlv320aic23>; + fsl,mode = "i2s-slave"; + status = "okay"; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>;