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: 4045761 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9626BBFF02 for ; Thu, 24 Apr 2014 06:18:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCD2520219 for ; Thu, 24 Apr 2014 06:18:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2084201F7 for ; Thu, 24 Apr 2014 06:18:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751822AbaDXGSP (ORCPT ); Thu, 24 Apr 2014 02:18:15 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:57324 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787AbaDXGSO (ORCPT ); Thu, 24 Apr 2014 02:18:14 -0400 Received: by mail-pd0-f176.google.com with SMTP id r10so1586853pdi.35 for ; Wed, 23 Apr 2014 23:18:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kCJRyO0pJayMFUOraq2vBrkB2DwkYhBb0tassmshcCc=; b=Hdhe0u/wZmvbuObGbPfh8BHl9Cy51e5atRvhiDa7xjbEevDCvgkktWk5B3/AyZlI5M hYYwpVp0pTjlSc8INGFfS87Uo91tbVgYgwdjnJRRsLABSLMZEGpB5wb4iqh2vgKZwLID ZVfyH8/L1h++LP03iJ5QywxGyYu8uYWf/fo2SWUPTv6WN1H1+MaWlwG6ZFWcUd9EYInL P/yw4x+DMhTv9fJ3Z9TLzg5DXPhe8t0lfI9vTSqOd+OYdZ6Cmt7KXXvwk9pu6UT/b4tY nkshXdyV2gE4ai97fCLdnzSPfxTliU994nJewzd+oDlF92lvFHC8waDd1FQCTXmaOI6L 4TJw== X-Gm-Message-State: ALoCoQmaDWf/0DssAMQzFHl0hVHpbU8vGRBODDLKrmjChzPVJz7HJOYuDFGei4ZIl1cpKNyUnNmj 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: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; };