From patchwork Thu Oct 8 13:31:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 54667 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 048CF22FF8 for ; Thu, 8 Oct 2015 13:32:49 +0000 (UTC) Received: by wicgi15 with SMTP id gi15sf3969674wic.2 for ; Thu, 08 Oct 2015 06:32:48 -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=iL51DJts0F/TtzuHtJRT035n52SOVeyoL8YtqwrO2Xk=; b=h9S+Rz/whlZrx8VXJqa6MUCWw/SlURW4555h4/8kddAsFZNKUIDArVhzJi6Zm+MCDP A9rdwkV3XSDsvWJND7PCDY2tDprmDl3vdR5PmX2WCnkjAbNSwIq4GZIa+Wpa8bN7k4fU G/XskCyJLIxjPbY3YF7QB3yik6gSk5hcjDrd+Q6H7sR604++3BIixDD7QbksUQtRv67Z iVOPo1u7T2oUe8BGXdpy+xXbVVbmzpNYTsbXMZkpDhfC7XaZhmRC4pKTLU2X6A0kZw+M AucGi9CNx3HlqBrW2bAAnA90DIDJdnn7Z+WA8t2WOPFhcjvOxiWobu3epK5mBFhDFM5U 6oFg== X-Gm-Message-State: ALoCoQnHi95hePoyvM0RgJj+d6YVWYxDdCoZp8Mkept1ZSt0+B2DsXs4M+RF5kNCkg8UzcFcWUlV X-Received: by 10.180.10.202 with SMTP id k10mr741149wib.2.1444311168279; Thu, 08 Oct 2015 06:32:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.22.31 with SMTP id m31ls194620lfi.21.gmail; Thu, 08 Oct 2015 06:32:48 -0700 (PDT) X-Received: by 10.25.42.148 with SMTP id q142mr2353373lfq.67.1444311168096; Thu, 08 Oct 2015 06:32:48 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id ak1si29748034lbc.133.2015.10.08.06.32.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 06:32:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbcao8 with SMTP id ao8so47579718lbc.3 for ; Thu, 08 Oct 2015 06:32:48 -0700 (PDT) X-Received: by 10.112.159.136 with SMTP id xc8mr3145642lbb.76.1444311167897; Thu, 08 Oct 2015 06:32:47 -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.112.59.35 with SMTP id w3csp590305lbq; Thu, 8 Oct 2015 06:32:46 -0700 (PDT) X-Received: by 10.107.132.21 with SMTP id g21mr9864994iod.175.1444311166822; Thu, 08 Oct 2015 06:32:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 75si31800193ioq.70.2015.10.08.06.32.45; Thu, 08 Oct 2015 06:32:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757555AbbJHNcg (ORCPT + 30 others); Thu, 8 Oct 2015 09:32:36 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:60460 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932674AbbJHNb1 (ORCPT ); Thu, 8 Oct 2015 09:31:27 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id B443960928A Received: by dusk.luon.net (Postfix, from userid 1000) id D8CFF25033; Thu, 8 Oct 2015 15:31:19 +0200 (CEST) From: Sjoerd Simons To: linux-rockchip@lists.infradead.org Cc: Jaroslav Kysela , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Heiko Stuebner , Mark Brown , linux-kernel@vger.kernel.org, Kumar Gala , Ian Campbell , Takashi Iwai , Liam Girdwood , Sjoerd Simons , Pawel Moll , Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 7/8] ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock2 Square Date: Thu, 8 Oct 2015 15:31:18 +0200 Message-Id: <1444311079-2892-8-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1444311079-2892-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1444311079-2892-1-git-send-email-sjoerd.simons@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sjoerd.simons@collabora.co.uk X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mailfrom=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: , Enable the SPDIF optical output on Radxa Rock2 square boards Signed-off-by: Sjoerd Simons --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288-rock2-square.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index bce50cd..1756d04 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -49,6 +49,20 @@ stdout-path = "serial2:115200n8"; }; + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "SPDIF"; + simple-audio-card,dai-link@1 { /* S/PDIF - S/PDIF */ + cpu { sound-dai = <&spdif>; }; + codec { sound-dai = <&spdif_out>; }; + }; + }; + + spdif_out: spdif-out { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + }; + vcc_usb_host: vcc-host-regulator { compatible = "regulator-fixed"; enable-active-high; @@ -136,6 +150,10 @@ }; }; +&spdif { + status = "okay"; +}; + &uart2 { status = "okay"; };