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: 5884741 Return-Path: X-Original-To: patchwork-linux-arm@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 014A89F269 for ; Wed, 25 Feb 2015 22:01:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F65C20375 for ; Wed, 25 Feb 2015 22:01:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 63BB420304 for ; Wed, 25 Feb 2015 22:01:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQjzU-0008Jz-Vm; Wed, 25 Feb 2015 21:59:36 +0000 Received: from mail-lb0-f170.google.com ([209.85.217.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQjyg-0007qS-3k for linux-arm-kernel@lists.infradead.org; Wed, 25 Feb 2015 21:58:47 +0000 Received: by lbiz11 with SMTP id z11so6970590lbi.5 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=hxuGmD2EhiG1M4NOhwUXA5pv5cZWEVlzQAzfx9hh1a/N1mBdir/uAV1D54yMQ7Pbed maFtnl84Q7OZ7VuVpX36MlgI1ZM5wbI+woCF4u4irnwUpo5qO/zrrK86qRdkB9am2YtE FMYMf8ZsCCzH0YTHRuMAuY5mMC4cqqZOfGC72bI2J/BS7o2HS1OcDPR/u9WxjkV8dBTK BujsXLFUf0epRlJF1HxLikQmLfou5wqDadXSR+SHHYK9b4jzOyROD8kqKu52jAurGjqW pTvdZ3NBhnXJa1p0LncW9c6KHnLOaXcrVK/B7WOIN2Ua8DKODDJSqUgM5UMV6Rm3Dx0t HovA== X-Gm-Message-State: ALoCoQnfnXCTp0ld3m8LWUbBlbnksO+/Fy1cV+3735SMWWS2wK6ry8W8+ax/ke4kAzZrsnH8YgsT 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 Subject: [PATCH 2/4] ARM: mvebu: add audio I2S controller to Armada 38x Device Tree 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150225_135846_421024_A49903F4 X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 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>;