From patchwork Wed Feb 25 21:58:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 5889711 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 989C5BF440 for ; Thu, 26 Feb 2015 08:26:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D582820382 for ; Thu, 26 Feb 2015 08:26:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B06B12037B for ; Thu, 26 Feb 2015 08:26:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id B99C5265194; Thu, 26 Feb 2015 09:26:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 934572625CF; Thu, 26 Feb 2015 09:24:22 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C41DC26147E; Wed, 25 Feb 2015 22:58:30 +0100 (CET) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by alsa0.perex.cz (Postfix) with ESMTP id 02A142606CB for ; Wed, 25 Feb 2015 22:58:24 +0100 (CET) Received: by lbdu10 with SMTP id u10so6956271lbd.7 for ; Wed, 25 Feb 2015 13:58:23 -0800 (PST) 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=DVAl2HW0FYo9GBZ+uhH+kEPwYq8QvsIxk4wbojuAYDg=; b=bv0Vrf1QKk8jzLJMvSUIsVy07OLHPGjxDOZdZpW2O5gel1qdugMYifYCu9A1KHEh/w 4ZU9UbVT6fH6LLtRTehETl3HGNENP2kaywHLIytkwD931Tj6i25U87EgLepmmex/+2mc h0MtUIsHi0BIBzpGoNHn9DVRRdovDlNiIONrlkIlG//ZN0ROeu2sRFwJhIUe2vdR8Whj h42fRLR8+U41ArH56RxC18SuZL7DzUeGK/qXfPepz0iaW/WxsdGNLWdGZfbmdOyrwQgX scu3uaqMDP/Caj139HbhEcBUElsm1TVfjVQztrXRtENVXJaDW5sWsAvRjljhyyuj6d4t OvxQ== X-Gm-Message-State: ALoCoQn5SI8tJN3LHRvhX/nRN9UyqeWrH+DIK4rU7OTifU+Hhts+CE/DS1S4zJYq1QucVykcC7SR X-Received: by 10.152.115.206 with SMTP id jq14mr4677770lab.69.1424901503517; Wed, 25 Feb 2015 13:58:23 -0800 (PST) Received: from mw-VirtualBox.internet.domowy (ip-37-152-18-238.multi.internet.cyfrowypolsat.pl. [37.152.18.238]) by mx.google.com with ESMTPSA id b6sm8719386laa.14.2015.02.25.13.58.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Feb 2015 13:58:22 -0800 (PST) From: Marcin Wojtas To: lgirdwood@gmail.com, broonie@kernel.org, jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@free-electrons.com, sebastian.hesselbarth@gmail.com Date: Wed, 25 Feb 2015 22:58:00 +0100 Message-Id: <1424901482-3809-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1424901482-3809-1-git-send-email-mw@semihalf.com> References: <1424901482-3809-1-git-send-email-mw@semihalf.com> X-Mailman-Approved-At: Thu, 26 Feb 2015 09:24:19 +0100 Cc: thomas.petazzoni@free-electrons.com, alior@marvell.com, alsa-devel@alsa-project.org, tawfik@marvell.com, jaz@semihalf.com, ezequiel.garcia@free-electrons.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH 2/4] ARM: mvebu: add audio I2S controller to Armada 38x Device Tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds the description of the I2S controller to the Marvell Armada 38x SoC's Device Tree, as well as its pin configuration. Signed-off-by: Marcin Wojtas --- arch/arm/boot/dts/armada-38x.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 1dff30a..fa21cb5 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -314,6 +314,12 @@ marvell,pins = "mpp44"; marvell,function = "sata3"; }; + + i2s_pins: i2s_pins { + marvell,pins = "mpp48", "mpp49", "mpp50", + "mpp51", "mpp52", "mpp53"; + marvell,function = "audio"; + }; }; gpio0: gpio@18100 { @@ -555,6 +561,17 @@ status = "disabled"; }; + audio_controller: audio-controller@e8000 { + #sound-dai-cells = <1>; + compatible = "marvell,armada-380-audio"; + reg = <0xe8000 0x4000>, <0x18410 0xc>, <0x18204 0x4>; + reg-names = "i2s_regs", "pll_regs", "soc_ctrl"; + interrupts = ; + clocks = <&gateclk 0>; + clock-names = "internal"; + status = "disabled"; + }; + usb3@f0000 { compatible = "marvell,armada-380-xhci"; reg = <0xf0000 0x4000>,<0xf4000 0x4000>;