From patchwork Thu Oct 8 13:31:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 54668 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 8DD4A22FF8 for ; Thu, 8 Oct 2015 13:32:50 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf24031281lbc.1 for ; Thu, 08 Oct 2015 06:32:49 -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=zQikWiljE7LHhUoHYKAiyfP4pp1Uka/QCBR633HNULI=; b=DzSaiHabBC0joGEmaGs33/yX9c6JGPkWLBFQe9xV5MIUcFTUCWhSq6sSRB3scnIGvZ fB5eyWoqb70egwfmpj5QQ6ldoB99EcrkgBq7gttr6OT4kb2l5SDQhFgXqeSo70RIShhU M3p0fc/07mVke1uhor4boyuGPhOMOgUZUX6rRrdmJJ2mj85SL3+hr4O450v5T71k9g7B 4ULUPVaHQ5oo5PiPLfbImkcGOCkue7FMXxJoy9kM6UgEBvBsB5Emla7/L+0UJUL4vyvN IOX5CzYVBcjEjHpMl4z2Ud+5Ba4xoZijB/HmKcfWfCXh/6aKNCpx5oDVU883qSthssu0 cuDA== X-Gm-Message-State: ALoCoQngWTwX+QYhYfzpjkIBoBRJ5TKQ+ELpOE6hjsbT6hzUGCwvHcddorlbw2TDdOwb1ca7OI3o X-Received: by 10.180.105.98 with SMTP id gl2mr740827wib.0.1444311169492; Thu, 08 Oct 2015 06:32:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.20.65 with SMTP id k62ls180214lfi.16.gmail; Thu, 08 Oct 2015 06:32:49 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr3685526lbc.86.1444311169313; Thu, 08 Oct 2015 06:32:49 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id f79si29773723lfg.45.2015.10.08.06.32.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 06:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbcao8 with SMTP id ao8so47580357lbc.3 for ; Thu, 08 Oct 2015 06:32:49 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr3685512lbc.86.1444311169060; Thu, 08 Oct 2015 06:32:49 -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 w3csp590318lbq; Thu, 8 Oct 2015 06:32:48 -0700 (PDT) X-Received: by 10.50.2.39 with SMTP id 7mr3591285igr.86.1444311167400; Thu, 08 Oct 2015 06:32:47 -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.46; Thu, 08 Oct 2015 06:32:47 -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 S1757403AbbJHNcj (ORCPT + 30 others); Thu, 8 Oct 2015 09:32:39 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:60434 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932650AbbJHNb1 (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 B449D6092B3 Received: by dusk.luon.net (Postfix, from userid 1000) id CA11B24FF1; 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 6/8] ARM: dts: rockchip: Add SPDIF transceiver for RK3288 Date: Thu, 8 Oct 2015 15:31:17 +0200 Message-Id: <1444311079-2892-7-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.181 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: , Add the SPDIF transceiver controller definition and pin setup for RK3288 SoCs Signed-off-by: Sjoerd Simons --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 906e938..b905cf6 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -653,6 +653,23 @@ status = "disabled"; }; + spdif: sound@ff88b0000 { + compatible = "rockchip,rk3288-spdif", "rockchip,rk3066-spdif"; + reg = <0xff8b0000 0x10000>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <0>; + clock-names = "hclk", "mclk"; + clocks = <&cru HCLK_SPDIF8CH>, <&cru SCLK_SPDIF8CH>; + dmas = <&dmac_bus_s 3>; + dma-names = "tx"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx>; + rockchip,grf = <&grf>; + status = "disabled"; + }; + i2s: i2s@ff890000 { compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s"; reg = <0xff890000 0x10000>; @@ -1334,5 +1351,11 @@ <4 3 3 &pcfg_pull_none>; }; }; + + spdif { + spdif_tx: spdif-tx { + rockchip,pins = ; + }; + }; }; };