Received: by 10.223.176.46 with SMTP id f43csp768351wra; Fri, 19 Jan 2018 01:27:48 -0800 (PST) X-Google-Smtp-Source: ACJfBos7AnJmbPpOkzy2bjJvzpcqKAJ7KPkqQUIf8Wk0Xbo4tsYezaJCT6mDq6FDitTfXecN+6xX X-Received: by 10.99.126.75 with SMTP id o11mr22098513pgn.97.1516354068054; Fri, 19 Jan 2018 01:27:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516354068; cv=none; d=google.com; s=arc-20160816; b=0ej/ylW9UA+IbNgbMC427C/YQ2WSRoTh1Ul98+HSt76wUJiSqWkn1AwZHh/W96FVJQ gHRI7bTxbL4rhjjO2hLyuukDJGwfknJitCpkfqLPHUM5FGoIngTx7iuFC7Ttwavanv9Q ajcdr09Ku5Kf0m3wMNrM+5VnHOTcY1yjYAZ7P5vzVxgSlg//nGqGJNUGzhFb/YRu8eCR WBJs0DDhAwOp93N6ggKidvPtPgdZQAe7AN88c7kwEGy7yCiahWAA0yqZCGttF1eiGWvO PfNFr8JXHn7iwt+TKQigvwWpx2f/t/mqGCbXUlFurGfhdKl3QBAmeJ85Q9MDCEeXJaGc JREg== 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=CdPVLywZyUQjP8j/ZL14f6Z8HzSMuwqpISjNaSwO5cQT2LpnXUs124Uh1b3kbptgXW LSlNJwUUKAcPpasZlx3vB1cWBi2LsrnTg6P9+oYL1h4JJMq1gSYPl/SU7wjlDA6DqPRO XXZTRwKkAcZgrQn5jwmJkw0d9nL/VZ1stKPZDL7LvDIcIM7jQdJ2yEctFMH+V6QWfE00 DGO/nx/vSiYZ+UNI7nSMwSQc+cMm/4T5R21u4+yTT8S82pY34oPZxY0MXP0keya8f2Fe q6dSMwZhjTnWRFF3VWGyXc+ESb1aRxNITYA4RqnxwMu3DfqzgsfZCiW4f7NfKfl4hYG/ rQyA== 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 u123si7934073pgc.158.2018.01.19.01.27.33; Fri, 19 Jan 2018 01:27:48 -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 S1755605AbeASJ0r (ORCPT + 99 others); Fri, 19 Jan 2018 04:26:47 -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: 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(-) 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 { -- 2.15.0