From patchwork Thu Oct 8 13:31:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 54669 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 046CE22FF8 for ; Thu, 8 Oct 2015 13:33:09 +0000 (UTC) Received: by wibzt1 with SMTP id zt1sf542936wib.1 for ; Thu, 08 Oct 2015 06:33:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=hWATPqp8ADi7UtcZgHWvjAqyExPAcfqKe8u67dLCI18=; b=N5XZ4l0MGdh4txf1eqkWEClbkHNz/mKhf7yv1ysq+yfISDjoT2K5WF7tCj2CdcBORz 5m0VUS9aT6QF0hBbyXUt3eW8tum96+NsJo9kQ0VOdtJTXyujxtPQSzU9fK1m2aQXFos2 mFPGIoLhQeNrtfH0MCTQ3q52lY9oJDCk73bwjuJn6OmKT970Bl3jg0jiTEDUDVKfhvNP NA6FiWtzRlBJiZjtRD6X72vyy0BbxsMRYysEuOCS8oK/v6Ap82yPfRPC5IVkzL9IUKF2 EQg1WITq/yrPknn3Xr3zYYRLnbQkQfmoQpEWYNJTPFJ9y0rCT02KVI7i+2TxvCOcwy3Q dfmQ== X-Gm-Message-State: ALoCoQmCf0y7EsPHTr3I5aZ83HT9VCbM+Q8RwYsunFhG/wxo4zjIdCvxGBNKLaVsx2CP8SxOYQx+ X-Received: by 10.25.33.77 with SMTP id h74mr10704lfh.1.1444311188070; Thu, 08 Oct 2015 06:33:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.83.82 with SMTP id h79ls166345lfb.76.gmail; Thu, 08 Oct 2015 06:33:07 -0700 (PDT) X-Received: by 10.25.87.9 with SMTP id l9mr1993354lfb.99.1444311187927; Thu, 08 Oct 2015 06:33:07 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id sm5si29749789lbb.88.2015.10.08.06.33.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 06:33:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbcao8 with SMTP id ao8so47591494lbc.3 for ; Thu, 08 Oct 2015 06:33:07 -0700 (PDT) X-Received: by 10.25.145.132 with SMTP id t126mr2421988lfd.88.1444311187793; Thu, 08 Oct 2015 06:33:07 -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 w3csp590499lbq; Thu, 8 Oct 2015 06:33:07 -0700 (PDT) X-Received: by 10.180.184.138 with SMTP id eu10mr4354241wic.25.1444311187168; Thu, 08 Oct 2015 06:33:07 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id eq6si53259962wjd.12.2015.10.08.06.33.06; Thu, 08 Oct 2015 06:33:07 -0700 (PDT) Received-SPF: neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) client-ip=77.48.224.243; Received: by alsa0.perex.cz (Postfix, from userid 1000) id 61EE32667B9; Thu, 8 Oct 2015 15:33:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id E34A92666BA; Thu, 8 Oct 2015 15:31:43 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id A5235261AA1; Thu, 8 Oct 2015 15:31:41 +0200 (CEST) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [93.93.135.160]) by alsa0.perex.cz (Postfix) with ESMTP id 94EE6261B2A for ; Thu, 8 Oct 2015 15:31:24 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 2FCAE60927E Received: by dusk.luon.net (Postfix, from userid 1000) id 9F28F24E7B; Thu, 8 Oct 2015 15:31:19 +0200 (CEST) From: Sjoerd Simons To: linux-rockchip@lists.infradead.org Date: Thu, 8 Oct 2015 15:31:14 +0200 Message-Id: <1444311079-2892-4-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> Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Russell King , Heiko Stuebner , Pawel Moll , Ian Campbell , Liam Girdwood , Takashi Iwai , linux-kernel@vger.kernel.org, Rob Herring , Sjoerd Simons , Mark Brown , Kumar Gala , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v4 3/8] ARM: dts: rockchip: Add SPDIF transceiver for RK3188 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.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.179 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 Add the SPDIF transceiver controller and pin for RK3188 Signed-off-by: Sjoerd Simons --- Changes in v4: - Adjust clock names to match the new names (hclk/mclk) Changes in v3: None Changes in v2: - Sort the spdif node properties - Drop the 0x prefix from the node name - Rename the spdif@ node to sound@ arch/arm/boot/dts/rk3188.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 3163042..04e38af 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -121,6 +121,22 @@ status = "disabled"; }; + spdif: sound@1011e000 { + compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif"; + reg = <0x1011e000 0x2000>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <0>; + clock-names = "hclk", "mclk"; + clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>; + dmas = <&dmac1_s 8>; + dma-names = "tx"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&spdif_tx>; + status = "disabled"; + }; + cru: clock-controller@20000000 { compatible = "rockchip,rk3188-cru"; reg = <0x20000000 0x1000>; @@ -484,6 +500,12 @@ ; }; }; + + spdif { + spdif_tx: spdif-tx { + rockchip,pins = ; + }; + }; }; };