From patchwork Wed Sep 5 11:58:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1409011 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 6960B40220 for ; Wed, 5 Sep 2012 11:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758251Ab2IEL7K (ORCPT ); Wed, 5 Sep 2012 07:59:10 -0400 Received: from na3sys009aog132.obsmtp.com ([74.125.149.250]:52534 "EHLO na3sys009aog132.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757394Ab2IEL7J (ORCPT ); Wed, 5 Sep 2012 07:59:09 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]) (using TLSv1) by na3sys009aob132.postini.com ([74.125.148.12]) with SMTP ID DSNKUEc+jCBwGixnOnaFEAK1m2KVs70EeKNG@postini.com; Wed, 05 Sep 2012 04:59:08 PDT Received: by ggdk6 with SMTP id k6so50703ggd.19 for ; Wed, 05 Sep 2012 04:59:07 -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=aZ64Hu7cGmDUmYo+erRlqH8tNKnyaYD2E+K+NYiPeuM=; b=Scj6PnZ+T61v6VAd3uOZVmNyM1y3RU5KWFKz8pdJxiUzYEGz87Ydz2y7bcYjpgkydU vpMCklqm8xYIFE4INqE6Ju+vThkGyyoWhevAxrZtw20jJIhWymeN8RReRP9/bhwW49xR S0017IPWd3Jo1jNdxBmjleehqWom4yvBQ/HeJ+7HuBYq3/T1kz8tCsYiT4EDkqeJe1aq 1cDHVtvOc0ID1AUQrCoe9SLqSakQ/jtWAP7QOnhqDPBsX0wl4oshgDr5A/T+s6vN7aMX mOPvKtCAEygrU/WakGEnXq/hhVbKfAbkex0eE251Lrko3i8rzbB17cwX/X2UZ1YhOCYS yt0w== Received: by 10.236.191.233 with SMTP id g69mr22307786yhn.113.1346846347555; Wed, 05 Sep 2012 04:59:07 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id h8sm1450364ank.9.2012.09.05.04.59.05 (version=SSLv3 cipher=OTHER); Wed, 05 Sep 2012 04:59:07 -0700 (PDT) From: Peter Ujfalusi To: Tony Lindgren , Benoit Cousson Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org Subject: [PATCH v3 8/8] ARM/dts: omap3-beagle: Enable audio support Date: Wed, 5 Sep 2012 14:58:56 +0300 Message-Id: <1346846336-27321-9-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1346846336-27321-1-git-send-email-peter.ujfalusi@ti.com> References: <1346846336-27321-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQmqzftGzzQm8XvgcaMkPQfoSo6Is/Aht5mLrQwYaoHiLXOQ2gMZgaKGvPzCFP3NmnFD8oSp 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 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index 16bff8b..10d87a2 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts @@ -25,6 +25,14 @@ gpios = <&twl_gpio 19 0>; /* LEDB */ }; }; + + sound { + compatible = "ti,omap-twl4030"; + ti,model = "omap3beagle"; + + ti,mcbsp = <&mcbsp2>; + ti,codec = <&twl_audio>; + }; }; &i2c1 { @@ -40,6 +48,12 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3000000>; }; + + twl_audio: audio { + compatible = "ti,twl4030-audio"; + codec { + }; + }; }; };