From patchwork Wed May 7 04:52:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 29746 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 498F6202E6 for ; Wed, 7 May 2014 05:08:35 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lj1sf2215092pab.5 for ; Tue, 06 May 2014 22:08:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=+53w+kWMybEDV0w0xKRsAEfrNRW8OvxbR5v9BZ3xNqA=; b=ksCenSqxOpkwHXKLFGQdzFIpKQf6CuupCbKD+LpsnoqlgCaZAghqiLJkd2PYTgHEOK 6W53Xe30vnHJHit3Dcz/8u4ZRW9QSfsMFMQoy0KUbMnwFXSlBOz0TmahYATvcenE8jfn 5eATQrALHa54FM/dswY4iXdgNdq/ZjqxyQJQN0d1bYMizwvDXfMErzouGJC7vdBw1e0L kTJy4BirCM1gj7HrieGVINW/O+ZYSPdYigyw8j/RSLaBQpSYOr1eGuSnMGqZa+hLJFVt RU9KBEowvAoVgFv2uQufyRI5mREwJ6nen8dtOG3On6+PVf+eTDdYv2I+I0KFphqagJCs OnHw== X-Gm-Message-State: ALoCoQnifd4jB4dUaqVyxOaBYuHxVNk2F4PJha4FrmJ0ZPKXROTzJLUJC7c03ZQKMzttGQe7tYc7 X-Received: by 10.66.156.66 with SMTP id wc2mr3741368pab.23.1399439314751; Tue, 06 May 2014 22:08:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.87 with SMTP id v81ls3511199qge.0.gmail; Tue, 06 May 2014 22:08:34 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr37861870vei.20.1399439314625; Tue, 06 May 2014 22:08:34 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id s7si2700848vev.110.2014.05.06.22.08.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 22:08:34 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id la4so587805vcb.41 for ; Tue, 06 May 2014 22:08:34 -0700 (PDT) X-Received: by 10.52.120.39 with SMTP id kz7mr3653275vdb.41.1399439314546; Tue, 06 May 2014 22:08:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp278506vcb; Tue, 6 May 2014 22:08:34 -0700 (PDT) X-Received: by 10.66.219.225 with SMTP id pr1mr14607118pac.83.1399439313687; Tue, 06 May 2014 22:08:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ud10si1211482pbc.202.2014.05.06.22.08.32; Tue, 06 May 2014 22:08:33 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750982AbaEGFIc (ORCPT + 9 others); Wed, 7 May 2014 01:08:32 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:41314 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbaEGFIb (ORCPT ); Wed, 7 May 2014 01:08:31 -0400 Received: by mail-pa0-f43.google.com with SMTP id hz1so596429pad.16 for ; Tue, 06 May 2014 22:08:30 -0700 (PDT) X-Received: by 10.66.250.161 with SMTP id zd1mr14577768pac.136.1399438449429; Tue, 06 May 2014 21:54:09 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ov4sm748855pbc.46.2014.05.06.21.54.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 21:54:08 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: kgene.kim@samsung.com, robh+dt@kernel.org Subject: [PATCH V2 2/2] ARM: dts: Add sound node for Peach-pit board Date: Wed, 7 May 2014 10:22:28 +0530 Message-Id: <1399438348-10819-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399438348-10819-1-git-send-email-tushar.behera@linaro.org> References: <1399438348-10819-1-git-send-email-tushar.behera@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The audio setup on Peach-pit board is similar to Snow board, hence the sound-card driver used on Snow board can be reused on Peach-pit board. Peach-pit board uses MAX98090 audio codec. Signed-off-by: Tushar Behera --- Changes for V2: 1. Rebased on now-accepted exynos5420-peach-pit.dts file arch/arm/boot/dts/exynos5420-peach-pit.dts | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index fae33dd..9902183 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -58,9 +58,23 @@ pinctrl-0 = <&pwm0_out>; pinctrl-names = "default"; }; + + sound { + compatible = "google,snow-audio-max98090"; + + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98090>; + }; }; &pinctrl_0 { + max98090_irq: max98090-irq { + samsung,pins = "gpx0-2"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + tpm_irq: tpm-irq { samsung,pins = "gpx1-0"; samsung,pin-function = <0>; @@ -123,6 +137,19 @@ }; }; +&hsi2c_7 { + status = "okay"; + + max98090: codec@10 { + compatible = "maxim,max98090"; + reg = <0x10>; + interrupts = <2 0>; + interrupt-parent = <&gpx0>; + pinctrl-names = "default"; + pinctrl-0 = <&max98090_irq>; + }; +}; + &hsi2c_9 { status = "okay"; clock-frequency = <400000>; @@ -145,3 +172,7 @@ &watchdog { timeout-sec = <32>; }; + +&i2s0 { + status = "okay"; +};