From patchwork Wed Feb 18 18:25:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 5847151 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 480ED9F36A for ; Wed, 18 Feb 2015 18:41:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8241420259 for ; Wed, 18 Feb 2015 18:41:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E3FB20149 for ; Wed, 18 Feb 2015 18:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755258AbbBRSce (ORCPT ); Wed, 18 Feb 2015 13:32:34 -0500 Received: from cantor2.suse.de ([195.135.220.15]:56513 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752728AbbBRS1N (ORCPT ); Wed, 18 Feb 2015 13:27:13 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 627CCACEB; Wed, 18 Feb 2015 18:27:11 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: Sangbeom Kim , alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org Cc: Liam Girdwood , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vincent Palatin , Doug Anderson , Javier Martinez Canillas , Tomasz Figa , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Kukjin Kim Subject: [PATCH 6/6] ARM: dts: Add sound support to exynos5250-spring Date: Wed, 18 Feb 2015 19:25:59 +0100 Message-Id: <1424283959-16289-7-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1424283959-16289-1-git-send-email-afaerber@suse.de> References: <1424283959-16289-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Andreas Färber --- arch/arm/boot/dts/exynos5250-spring.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index 866beb4e0597..142e0550e223 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -49,6 +49,17 @@ }; }; + sound { + compatible = "google,snow-audio-max98089"; + samsung,model = "Spring-I2S-MAX98089"; + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98089>; + clocks = <&pmu_system_controller 0>; + clock-names = "mclk"; + pinctrl-names = "default"; + pinctrl-0 = <&mic_det_gpio>, <&hp_det_gpio>; + }; + usb-hub { compatible = "smsc,usb3503a"; reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>; @@ -499,6 +510,20 @@ samsung,pin-drv = <0>; }; + mic_det_gpio: mic-det-gpio { + samsung,pins = "gpx2-0"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + + hp_det_gpio: hp-det-gpio { + samsung,pins = "gpx2-2"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + s5m8767_ds: s5m8767-ds { samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5"; samsung,pin-function = <0>;