From patchwork Sat Feb 27 16:18:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Code Kipper X-Patchwork-Id: 8444711 Return-Path: X-Original-To: patchwork-linux-arm@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 2EA3AC0553 for ; Sat, 27 Feb 2016 16:21:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58F15203C3 for ; Sat, 27 Feb 2016 16:21:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C6AD203C2 for ; Sat, 27 Feb 2016 16:21:00 +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 1aZhaa-00064p-If; Sat, 27 Feb 2016 16:19:28 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZha4-0005dA-BG for linux-arm-kernel@lists.infradead.org; Sat, 27 Feb 2016 16:18:57 +0000 Received: by mail-wm0-x243.google.com with SMTP id l68so1427624wml.3 for ; Sat, 27 Feb 2016 08:18:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oKI/G2TgqBjZGliSOXZSXjav6g+cXGVkK/piLhuF2qY=; b=zvyT2OY0TDeehl/S4mwip6wfLa0XIiF6A2eImIdvxBU4SGG3uV/H4oVYW3Bcjtx8pV tCRo5dTg3Bv5N77rfKLTVTmlylXIYACllyebzr3C5EQQp6FkHwvGFA0VHUgqvqIijFGT jTc6I9RHz+ASW5BCf6xBLmWNfay9upNI368HQYkRadDLMO/B1UFnf8wk5TN1KuLInN+h eGMbgkf7fmGAQUKWEPBEF7CtEsU7QT86cGyk4xpxxOYe+pEOFBoabhGIZxzLSrPDJKiN HjidkMMdWfXU2jNTTzB9z6KP+TrBhbA5KsTuVtv+4Fu/WgH9Pg+4XYSNEj1AI5rQ9Z+E 3pxw== 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=oKI/G2TgqBjZGliSOXZSXjav6g+cXGVkK/piLhuF2qY=; b=Jbmp1e7DDNyKUviT1STejVdKpAVRVPe0on4hA3/K+0hjn6JU7r8pAS9wYQ9dz84ztm OIzZk7A7sKN+GbltrdJSeNPZI9jF3gJsgOdQC5mbdpxBc8WdDRdp1KzSEnSj3xdvWK3I y8MP7arfY9SVhsOPBIojuOKb7fzAQte596wuipm1u6YYecungvrO0up40u2Da5VsYe2/ H2L9SnTaN/TJNqQzk3vsB+aoG/ZXFWoK8/xHFLcJwS100h9KxqxsZFcXKwgzgEpsHlMH Bdjj0S79OXXtO489gfY+R7vHyiiYGKmKS2iLHdht7yAV25HeJ4HekwkX7kWLBaqeF437 8RXg== X-Gm-Message-State: AD7BkJLpxqpUv8wzK3P361T3+c2oSJHkQLL3dVcrGV+QHtrTrfXfWwYa1dSlIkmU/iWLug== X-Received: by 10.194.81.103 with SMTP id z7mr6727728wjx.25.1456589917859; Sat, 27 Feb 2016 08:18:37 -0800 (PST) Received: from coopshtpc.localdomain ([212.85.89.14]) by smtp.gmail.com with ESMTPSA id lz5sm17270070wjb.5.2016.02.27.08.18.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Feb 2016 08:18:36 -0800 (PST) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com Subject: [linux-sunxi][PATCH 4/5] ARM: dts: sun4i: Add SPDIF to the Mele A1000 Date: Sat, 27 Feb 2016 17:18:28 +0100 Message-Id: <1456589909-2428-5-git-send-email-codekipper@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456589909-2428-1-git-send-email-codekipper@gmail.com> References: <1456589909-2428-1-git-send-email-codekipper@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160227_081856_739784_AC377308 X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, ennesimamail.av@gmail.com, linux-arm-kernel@lists.infradead.org, Marcus Cooper 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Marcus Cooper Enable the S/PDIF transmitter that is present on the A1000. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts index 97570cb..aaf5605 100644 --- a/arch/arm/boot/dts/sun4i-a10-a1000.dts +++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts @@ -87,6 +87,23 @@ enable-active-high; gpio = <&pio 7 15 GPIO_ACTIVE_HIGH>; }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "On-board SPDIF"; + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_out>; + }; + }; + + spdif_out: spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; }; &ahci { @@ -188,6 +205,12 @@ status = "okay"; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx_pins_a>; + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;