From patchwork Wed Aug 29 13:31:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1384931 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 306BD3FDF5 for ; Wed, 29 Aug 2012 13:31:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753680Ab2H2NbU (ORCPT ); Wed, 29 Aug 2012 09:31:20 -0400 Received: from na3sys009aog118.obsmtp.com ([74.125.149.244]:50802 "EHLO na3sys009aog118.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753671Ab2H2NbT (ORCPT ); Wed, 29 Aug 2012 09:31:19 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]) (using TLSv1) by na3sys009aob118.postini.com ([74.125.148.12]) with SMTP ID DSNKUD4ZpsBuQpYJCGHgasBnhcAqfaD9nvJp@postini.com; Wed, 29 Aug 2012 06:31:19 PDT Received: by obbuo13 with SMTP id uo13so912206obb.19 for ; Wed, 29 Aug 2012 06:31:18 -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=pYOVkVAClM6SAgvqjJSnODLUVce3anQZyzroLcMFboLYZqYPNzoXuhJ6pogfuB81Cx ELuvvBvEUTZjXeLOiKzYHQEa8wVBF1LaxE7MsMdTWaWeZZ8Yvr4+/3v4ZF9V8sc3CDiu FgTkqze5Jb0HUk1H2C50ESNRjWpiZv55FbmfsqCiY12rCqlrUF/A8ltb2JQlY6NO6aMP 5Ni9AMiQdSjaZWK2S+NlujXb+iDQ4tytGaEil+SqqxbIB7MMMZCU38WkDi9MSmtazgHE fjjlI4cfmvtl2bbWfBDesJ0WR/bqQ14gK1f6x8iTqOMlRJWWYAgUzrmYPVJ3a6lsQMoj OXkw== Received: by 10.60.172.143 with SMTP id bc15mr1206460oec.73.1346247078468; Wed, 29 Aug 2012 06:31:18 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id bp7sm22491641obc.12.2012.08.29.06.31.15 (version=SSLv3 cipher=OTHER); Wed, 29 Aug 2012 06:31:17 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren Cc: Benoit Cousson , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org Subject: [PATCH v2 6/8] ARM/dts: omap3-beagle: Enable audio support Date: Wed, 29 Aug 2012 16:31:05 +0300 Message-Id: <1346247067-9632-7-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1346247067-9632-1-git-send-email-peter.ujfalusi@ti.com> References: <1346247067-9632-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQkfIMr0RR5NzarKWgXC54CB2egLtkt5hMYcpLvD3yzBm9WNX4ZSNTASKABki0AjdxTPs9hC 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 { + }; + }; }; };