From patchwork Thu Apr 24 06:16:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 28952 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 070FE203AC for ; Thu, 24 Apr 2014 06:18:18 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h3sf1677922igd.1 for ; Wed, 23 Apr 2014 23:18:18 -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=melz7bA7Ahdx+TrQXMEGBYE7ZQ4igWujcCOab/nwS7Q=; b=kTJCjShyIKUdopzwrYdS+A3Lthb2/jXOABtYmfcKo8tx6gBDzHqEzqjS9NVY2peg+D aSS31WLp/QNMYlIxxIeml2B6WBfHah3RAcV42YGCO2MIv1eeUeU9v+mvoiNk2U++G6wH VftX3eKZ97PJjZWsHgH1QG4j2bCASqtn4Cq/7kbwIK3KBtktJEHPbyTZzlHiYxfveJ8d l2WGDMpc0FtTUz53RaTrf0e+/IJMElCzbzaAW6GNF6Y2pRpdjZXns5xI7E3VTJkeYuLC ZlJs8s++ayEHp3e4OTilAGfECff9prBtQGnskFB+Gg5++Ll4EyKMRt7tDFKfVSMUT30/ uniw== X-Gm-Message-State: ALoCoQksv0VucBDWxZ6pJzC2oK+ZvBSw1+ZzadJP8kedKvD2a12ZxPiMPe+LFBp0fcz/5XNso4XG X-Received: by 10.50.73.132 with SMTP id l4mr3865777igv.5.1398320298500; Wed, 23 Apr 2014 23:18:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.33 with SMTP id o30ls932813qgo.23.gmail; Wed, 23 Apr 2014 23:18:18 -0700 (PDT) X-Received: by 10.220.44.20 with SMTP id y20mr17214vce.60.1398320298389; Wed, 23 Apr 2014 23:18:18 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id qw5si725928vcb.156.2014.04.23.23.18.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 23:18:18 -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.173; Received: by mail-vc0-f173.google.com with SMTP id il7so2397936vcb.18 for ; Wed, 23 Apr 2014 23:18:18 -0700 (PDT) X-Received: by 10.52.130.225 with SMTP id oh1mr10957vdb.8.1398320298311; Wed, 23 Apr 2014 23:18:18 -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 ib8csp158704vcb; Wed, 23 Apr 2014 23:18:17 -0700 (PDT) X-Received: by 10.68.189.68 with SMTP id gg4mr18298pbc.42.1398320297572; Wed, 23 Apr 2014 23:18:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gy7si2017939pac.157.2014.04.23.23.18.16; Wed, 23 Apr 2014 23:18:17 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1751866AbaDXGSP (ORCPT + 9 others); Thu, 24 Apr 2014 02:18:15 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:38903 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbaDXGSO (ORCPT ); Thu, 24 Apr 2014 02:18:14 -0400 Received: by mail-pd0-f169.google.com with SMTP id y13so665873pdi.28 for ; Wed, 23 Apr 2014 23:18:14 -0700 (PDT) X-Received: by 10.68.222.105 with SMTP id ql9mr78594pbc.4.1398320294150; Wed, 23 Apr 2014 23:18:14 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id yq4sm15419755pab.34.2014.04.23.23.18.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 23:18:13 -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 2/2] ARM: dts: Add sound node for Peach-pit board Date: Thu, 24 Apr 2014 11:46:59 +0530 Message-Id: <1398320219-23362-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398320219-23362-1-git-send-email-tushar.behera@linaro.org> References: <1398320219-23362-1-git-send-email-tushar.behera@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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 --- 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 fbb0469..1043bd3 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -37,6 +37,13 @@ }; pinctrl@13400000 { + 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>; @@ -143,6 +150,19 @@ }; }; + i2c@12CD0000 { + status = "okay"; + + max98090: codec@10 { + compatible = "maxim,max98090"; + reg = <0x10>; + interrupts = <2 0>; + interrupt-parent = <&gpx0>; + pinctrl-names = "default"; + pinctrl-0 = <&max98090_irq>; + }; + }; + spi@12d30000 { status = "okay"; samsung,spi-src-clk = <0>; @@ -179,4 +199,15 @@ watchdog@101D0000 { timeout-sec = <32>; }; + + i2s0: i2s@03830000 { + status = "okay"; + }; + + sound { + compatible = "google,snow-audio-max98090"; + + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98090>; + }; };