From patchwork Wed Feb 7 09:10:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 127135 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp272337ljc; Wed, 7 Feb 2018 01:11:13 -0800 (PST) X-Google-Smtp-Source: AH8x225LLBEvacG2d9t9mlpHBtnYMm0bcLt/FOE/nDwgLY2hGgPgvomzp9ZlNq9cQVKx2WQYP3rC X-Received: by 2002:a17:902:b20b:: with SMTP id t11-v6mr5315604plr.348.1517994673444; Wed, 07 Feb 2018 01:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517994673; cv=none; d=google.com; s=arc-20160816; b=isJOEweRlOIwhBEGYzMV0yXrbs5zFVE1y0696Wbiw7AJ/o8i/agUgMJOAt2Iw3nei2 AqJlXDbM2h+Ua87mKqp/8mWF/+RH+dkKFw2ZDkBBOzbPvgrIWZqYsOpL+Yjlb4ksi5As 38886HdNJYAfSnycnSo+cS6/PzX2mXKwgJRxsdrm6YCDhedelc6DtzsrNF7xpE4YtdKm 73p28GJpRJmwiC2pijCzCzso/byB7CAEMh3NaeZkVcWlRSC9Eb4PnLgTS8WWbDHLrjoj vf0OK05A6ZehGv7fu+KAJUmFy6g/OAdiBmGZ2PwIlhjbHWOJpZA4VWNbEhOSbbNjdjn0 wMEA== 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=VXdd46W6HeVX2/VMI3Exe6OSgk/wQFNFKxpq6DFaeIA=; b=YqaUWxB2Se5fS2S3QeW/Pq81BJWTq1DVxmhgcsw4Y20f2Xc57pMJvYk5/0pSxQazAW mon+38r0q6JFUaXxOzvqKjIDPncIWS9ot513kmDtuc59tV3nRrvMyE1C3dYzUcHl0kpn 1UTz/TExWz9hV2lWxN8HuWSOTumtHPmYdcwYVazP/qNiHSy7+gXQD0RImFObHx8yQbIg h6vtaiAAt+a/zmMZO0AQNbPaa21OeJDy9xTiLe4cFbU9xsSNgKsDImihzB2kYlUeuC76 W2xFbIG4BmCPfUZzgMiMdRur4ZZKI71xSmKEWX7HdQoNLuCfYM5Xsl5pCmVoJkMXvqF5 X6HQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 c14si839068pfj.132.2018.02.07.01.11.13; Wed, 07 Feb 2018 01:11:13 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753823AbeBGJKs (ORCPT + 10 others); Wed, 7 Feb 2018 04:10:48 -0500 Received: from mx.socionext.com ([202.248.49.38]:3341 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753773AbeBGJKn (ORCPT ); Wed, 7 Feb 2018 04:10:43 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 07 Feb 2018 18:10:38 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 9240018022A; Wed, 7 Feb 2018 18:10:38 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Feb 2018 18:11:03 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 3807D1A124F; Wed, 7 Feb 2018 18:10:38 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 051CB121AE5; Wed, 7 Feb 2018 18:10:38 +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: [RESEND PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20 Date: Wed, 7 Feb 2018 18:10:49 +0900 Message-Id: <20180207091049.24700-10-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180207091049.24700-1-suzuki.katsuhiro@socionext.com> References: <20180207091049.24700-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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 {