From patchwork Thu Oct 8 13:31:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 54663 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 2D4E622FF8 for ; Thu, 8 Oct 2015 13:31:29 +0000 (UTC) Received: by wibzt1 with SMTP id zt1sf506538wib.1 for ; Thu, 08 Oct 2015 06:31:28 -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=dxsGKUxnkf+1M75QRpWd24l4ZMEhofmKR9xhFIUrpxU=; b=gvwvBJYsVOGAuB2tZUiwMYVFIsmyE1A+qaQjbZk4lR60KlYqG9nHdNC7Y5yhcb6vdV BEvJIKUOY27C1SKdMkRxcuj62bqMHixcXv5u/rMfmASAun6f9OOp5RK4hrbJZAIRZMnP qdOpRXQkRzhqFXJ6i1ZM/Z73S8II3Etowf29vuhoDj3xB6TCopgv2SDmBcy6f8SGW8Sp g1Lhe2xdWfee2uEihYPe/A3tcXRJEziSQBQJtqzelrQXoMCgATDy001g6DOUNXG8MzXs yXjO2tJvoWcroGgMvw5EZv+44ENNJojRnE3JtHWKaXNaFIsJXHLmYvS9e7YLLZZS9moR Tnow== X-Gm-Message-State: ALoCoQn9t4q+YMM4lrrH5dy0/J5PFQZji961Wx5ezv3lSjZlpA7CyEtAgCOL3KO8bu17VhvT375V X-Received: by 10.194.240.230 with SMTP id wd6mr1435763wjc.0.1444311088438; Thu, 08 Oct 2015 06:31:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.81.148 with SMTP id f142ls178898lfb.68.gmail; Thu, 08 Oct 2015 06:31:28 -0700 (PDT) X-Received: by 10.25.163.133 with SMTP id m127mr2401305lfe.121.1444311088282; Thu, 08 Oct 2015 06:31:28 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id zv8si29746835lbb.54.2015.10.08.06.31.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 06:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbcao8 with SMTP id ao8so47531978lbc.3 for ; Thu, 08 Oct 2015 06:31:28 -0700 (PDT) X-Received: by 10.112.159.136 with SMTP id xc8mr3142359lbb.76.1444311088080; Thu, 08 Oct 2015 06:31:28 -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 w3csp589573lbq; Thu, 8 Oct 2015 06:31:27 -0700 (PDT) X-Received: by 10.202.189.136 with SMTP id n130mr4284578oif.120.1444311086970; Thu, 08 Oct 2015 06:31:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si22205762obt.36.2015.10.08.06.31.26; Thu, 08 Oct 2015 06:31:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1757521AbbJHNbZ (ORCPT + 7 others); Thu, 8 Oct 2015 09:31:25 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:60381 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757514AbbJHNbY (ORCPT ); Thu, 8 Oct 2015 09:31:24 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 39ABC609282 Received: by dusk.luon.net (Postfix, from userid 1000) id ADC5724E82; 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 4/8] ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock Date: Thu, 8 Oct 2015 15:31:15 +0200 Message-Id: <1444311079-2892-5-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: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.170 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: , This enables the SPDIF optical audio output on the Radxa Rock Signed-off-by: Sjoerd Simons --- Changes in v4: None Changes in v3: - Resent patches to a more complete list of maintainers. Changes in v2: None arch/arm/boot/dts/rk3188-radxarock.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index d2180e5..797f83dd 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -90,6 +90,21 @@ }; }; + 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>; + }; + ir_recv: gpio-ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio0 10 1>; @@ -343,6 +358,10 @@ }; }; +&spdif { + status = "okay"; +}; + &uart0 { status = "okay"; };