From patchwork Thu Apr 24 06:16:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 28951 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 68A76203AC for ; Thu, 24 Apr 2014 06:18:16 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id j7sf6021481qaq.10 for ; Wed, 23 Apr 2014 23:18:16 -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=jICNuTRxlWNIu615QVuTPipgWT8pI5LSqPUeak9NRjM=; b=lJHSuCSvyVgwZC9npytIfXWSEBD2f4wrK8l2o3/D0qtAy7ml3UBHwe8wVlr42tClpL EIa9tvEXLXZd1Gj75ru9YztTpdMoo0yb8eZCn/XSUaCfNjCZs3u6U30GdfSk623A7QHO D5cv0uMb9b21b4nPXft1GeMEEwf5QMpnFMHqhgWMxYzAw8PPsBtrM0hsOfaQ6AEfr2SO aQbfBKTQrp2HuJYOm9v3bHcbaIx3B1BnBl/B7bNR9VDWT/wpHisljIdoz6GD3JjoOelm 0gjJZ/n6Gbga/0Vp+4NtiGTrEIhHHMWg1ra9/UgMRnExMl4AvHZx86HXebxNxqljPuSm +l4A== X-Gm-Message-State: ALoCoQm4+2YASG57f/ZpY0cTUp8QyUSTBqAAmHvlhFV9mjm6E+/3B59CIimKmpLCCUCe2ldqeZBf X-Received: by 10.236.121.238 with SMTP id r74mr23062720yhh.23.1398320296193; Wed, 23 Apr 2014 23:18:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.74 with SMTP id w68ls914165qgw.53.gmail; Wed, 23 Apr 2014 23:18:16 -0700 (PDT) X-Received: by 10.220.95.204 with SMTP id e12mr16708vcn.37.1398320296046; Wed, 23 Apr 2014 23:18:16 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id ud8si726356vdc.141.2014.04.23.23.18.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 23:18:16 -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.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so2396321vcb.38 for ; Wed, 23 Apr 2014 23:18:16 -0700 (PDT) X-Received: by 10.52.108.164 with SMTP id hl4mr15321835vdb.25.1398320295941; Wed, 23 Apr 2014 23:18:15 -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 ib8csp158700vcb; Wed, 23 Apr 2014 23:18:15 -0700 (PDT) X-Received: by 10.68.241.68 with SMTP id wg4mr25215607pbc.66.1398320295229; Wed, 23 Apr 2014 23:18:15 -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.14; Wed, 23 Apr 2014 23:18:14 -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 S1751791AbaDXGSN (ORCPT + 9 others); Thu, 24 Apr 2014 02:18:13 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:37012 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787AbaDXGSM (ORCPT ); Thu, 24 Apr 2014 02:18:12 -0400 Received: by mail-pa0-f51.google.com with SMTP id fb1so945138pad.10 for ; Wed, 23 Apr 2014 23:18:11 -0700 (PDT) X-Received: by 10.68.189.33 with SMTP id gf1mr61758362pbc.111.1398320291653; Wed, 23 Apr 2014 23:18:11 -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.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 23:18:11 -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 1/2] ARM: dts: Add sound node for Snow board Date: Thu, 24 Apr 2014 11:46:58 +0530 Message-Id: <1398320219-23362-2-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 codec on Snow board, MAX98095 is connected on I2C7 bus. Also it requires the GPX1-7 line to be pulled up. Updated Snow DTS file to incorporate above changes and added a sound node to instantiate the I2S-based sound card. Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-snow.dts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 1bc9b50..f63df3c 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -196,6 +196,38 @@ }; }; + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + max98095-en-regulator { + compatible = "regulator-fixed"; + gpio = <&gpx1 7 0>; + enable-active-high; + regulator-boot-on; + regulator-always-on; + }; + }; + + i2c@12CD0000 { + max98095: codec@11 { + compatible = "maxim,max98095"; + reg = <0x11>; + }; + }; + + i2s0: i2s@03830000 { + status = "okay"; + }; + + sound { + compatible = "google,snow-audio-max98095"; + + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98095>; + }; + usb@12110000 { samsung,vbus-gpio = <&gpx1 1 0>; };