From patchwork Thu Aug 23 09:29:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1365381 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id D6F553FCAE for ; Thu, 23 Aug 2012 09:29:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932280Ab2HWJ3i (ORCPT ); Thu, 23 Aug 2012 05:29:38 -0400 Received: from na3sys009aog128.obsmtp.com ([74.125.149.141]:60385 "EHLO na3sys009aog128.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758285Ab2HWJ3h (ORCPT ); Thu, 23 Aug 2012 05:29:37 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]) (using TLSv1) by na3sys009aob128.postini.com ([74.125.148.12]) with SMTP ID DSNKUDX4AFgFQIjarDbzTobuTZr2OqbN3rJE@postini.com; Thu, 23 Aug 2012 02:29:37 PDT Received: by obc16 with SMTP id 16so1103722obc.34 for ; Thu, 23 Aug 2012 02:29:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=YFK6lqAs5zKOWz/TTPvMCRJAZxbIob/tl/fRvk9k41s=; b=GJO7tbaiROr6J/NEmqmooNRn3jGSznuEAXToYN9Cp6rAlv0TJV3TUdWEpgD5EY6wV0 HA7W7pm4yjmZRVlqXBC+7n3Ep6t4dhTPBUM2qUU28ddvyaeqizGXFeYaZ5DK7COK2AAn AgbwVkhu54C53AKel8LM+U0lYpOREnbcraLyS9r3TxIiY+hp9qVslNyqhySZN1b6Tc7O Y+KgU2Je/Sl2fObwH7BjcDG6fHmIaYQ+pNceuifPo7BRA10KqkzYcIT1j4B0Yzb62be8 VnsMx1wTNPtDJnaMGJCtmom0PhLwnk/yxAI47vNEhMhE5KHUAh8VC97BJSRHFDxkvMvX OrgA== Received: by 10.60.169.100 with SMTP id ad4mr599123oec.21.1345714176080; Thu, 23 Aug 2012 02:29:36 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id jl8sm6208199obb.18.2012.08.23.02.29.33 (version=SSLv3 cipher=OTHER); Thu, 23 Aug 2012 02:29:35 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Benoit Cousson Subject: [PATCH 6/6] ARM/dts: omap3-beagle: Enable audio support Date: Thu, 23 Aug 2012 12:29:13 +0300 Message-Id: <1345714153-13094-7-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1345714153-13094-1-git-send-email-peter.ujfalusi@ti.com> References: <1345714153-13094-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQkCyNMENRpGCbYd0XHt+J/Co+gUVZmC94PYMoxAenLw471OetGovcp0a8hl/nfF++K/PYbx Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add the needed sections to enable audio support on BeagleBoard when booted with DT blob. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap3-beagle.dts | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index cdcb98c..28cf180 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts @@ -17,6 +17,14 @@ device_type = "memory"; reg = <0x80000000 0x20000000>; /* 512 MB */ }; + + sound { + compatible = "ti,omap-twl4030"; + ti,model = "omap3beagle"; + + ti,mcbsp = <&mcbsp2>; + ti,codec = <&twl_audio>; + }; }; &i2c1 { @@ -32,6 +40,12 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3000000>; }; + + twl_audio: audio { + compatible = "ti,twl4030-audio"; + codec { + }; + }; }; };