From patchwork Fri Jan 19 09:25:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 125132 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp205958ljf; Fri, 19 Jan 2018 01:26:46 -0800 (PST) X-Google-Smtp-Source: ACJfBosrfjbVl+PiwUN9EdGXho2s3obYz9dhrnJLZe8cG28Azb1VZhFwBAy7GfR9GHpvc4PDi9dU X-Received: by 10.98.23.23 with SMTP id 23mr33223264pfx.179.1516354006542; Fri, 19 Jan 2018 01:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516354006; cv=none; d=google.com; s=arc-20160816; b=PA5WwxMB/Q5E/49Wvbov7eqHVzmpijuK/u42YC/0IBulrXhGhitzmCQzmgaOaYjXR6 NFMvHHO3i5VkFdsAuElIWfSGl0RLCibKRZMMGPxIxh2tlx1h2FyVZG1+SiwHY3Y3G0Y6 3+p1HwnUHeRHNN2KWccCHLLXL/J6xK2Lol2SVAjtIQMmewbXi06IlZiykRZGCGjjI5f8 63k2K6Y8f8+FYER3vz7qBmCFDFKsl6rw+rz9LA85Ey4J2lOCojzIHZYsnjP9SX83oNu1 3L2+SP2VcqSErmqqBI0j/JQcLTKdXOkpGtXJ650nfbWuyxQeiggVVgxkvoKjzPavEONf xpkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=NUmClYPf1X6f+Nl2S0e+8CW1CCNmSBmialNNaVfzDFE=; b=zwJIW99krQIDmUXN1ZBB82TqmTaPXBqacWb4WPwvBWIbRTpjLHVnKONIRdGhIn5baF GvKY2JK/+2Qsrnug0zy3hD2CmFX9d/M92kI9E0TNYuhd0+B+3ap494hfAIQtkwpqpZX5 3JriAdbOoQnNBw7hb2cBm0zCsB9aQ6+BrNz+ljNdr07uX0tB5+ri0pFLsu+rbt74SR3k cd+6Zlivo9vK8r9QJGzXbBa1gw6Umfcz5a1ag53ffvzxZA749vU1kEnp+OuYmuuCEQhD GbQdSh9HSoYeMzn2fzK6p3gp31TbxHptBcNP+nwPRwEN6tj456Fisymur2lJ0+FNusa8 fHCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si7949920pgt.582.2018.01.19.01.26.46; Fri, 19 Jan 2018 01:26:46 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755286AbeASJ0n (ORCPT + 6 others); Fri, 19 Jan 2018 04:26:43 -0500 Received: from mx.socionext.com ([202.248.49.38]:5599 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755525AbeASJ0S (ORCPT ); Fri, 19 Jan 2018 04:26:18 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 19 Jan 2018 18:25:34 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id A2F3F600BE; Fri, 19 Jan 2018 18:25:34 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Fri, 19 Jan 2018 18:25:39 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 624C5403A6; Fri, 19 Jan 2018 18:25:34 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 32125120B2E; Fri, 19 Jan 2018 18:25:34 +0900 (JST) From: Katsuhiro Suzuki To: Mark Brown , alsa-devel@alsa-project.org, Rob Herring , devicetree@vger.kernel.org, Masahiro Yamada Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20 Date: Fri, 19 Jan 2018 18:25:36 +0900 Message-Id: <20180119092536.22501-10-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180119092536.22501-1-suzuki.katsuhiro@socionext.com> References: <20180119092536.22501-1-suzuki.katsuhiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds compress audio node for S/PDIF on UniPhier LD11/20 global boards. And adds settings of AIO for it. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts | 30 +++++++++++++++++++++- .../boot/dts/socionext/uniphier-ld20-global.dts | 30 +++++++++++++++++++++- 2 files changed, 58 insertions(+), 2 deletions(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts index ca09251a3eab..51cb717e5e56 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -48,7 +48,8 @@ dais = <&i2s_port2 &i2s_port3 &i2s_port4 - &spdif_port0>; + &spdif_port0 + &comp_spdif_port0>; }; spdif-out { @@ -61,6 +62,17 @@ }; }; }; + + comp-spdif-out { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + + port@0 { + comp_spdif_tx: endpoint { + remote-endpoint = <&comp_spdif_hiecout1>; + }; + }; + }; }; }; @@ -149,6 +161,22 @@ remote-endpoint = <&spdif_tx>; }; }; + + src_port0: port@6 { + i2s_epcmout2: endpoint { + }; + }; + + src_port1: port@7 { + i2s_epcmout3: endpoint { + }; + }; + + comp_spdif_port0: port@8 { + comp_spdif_hiecout1: endpoint { + remote-endpoint = <&comp_spdif_tx>; + }; + }; }; &evea { diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts index 0728832ce552..0bda5c1382bc 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts @@ -48,7 +48,8 @@ dais = <&i2s_port2 &i2s_port3 &i2s_port4 - &spdif_port0>; + &spdif_port0 + &comp_spdif_port0>; }; spdif-out { @@ -61,6 +62,17 @@ }; }; }; + + comp-spdif-out { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + + port@0 { + comp_spdif_tx: endpoint { + remote-endpoint = <&comp_spdif_hiecout1>; + }; + }; + }; }; }; @@ -131,6 +143,22 @@ remote-endpoint = <&spdif_tx>; }; }; + + src_port0: port@6 { + i2s_epcmout2: endpoint { + }; + }; + + src_port1: port@7 { + i2s_epcmout3: endpoint { + }; + }; + + comp_spdif_port0: port@8 { + comp_spdif_hiecout1: endpoint { + remote-endpoint = <&comp_spdif_tx>; + }; + }; }; &evea {