Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp515633pxk; Sun, 30 Aug 2020 12:10:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWFMJQbJxQfxZOPu0C94ZdFo00/UWuWl5Vw15bL0L329CR+PnLqcZ7d+sq7m195ZMo5KvF X-Received: by 2002:aa7:c58a:: with SMTP id g10mr8488913edq.107.1598814632331; Sun, 30 Aug 2020 12:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598814632; cv=none; d=google.com; s=arc-20160816; b=GvIxkhSWuSO49VPO2BXnMxxXl7qekEnGqBtYz0nhBTg+HompiXuLh2vxucSouPpFpR Esb0kjhuaLbjMjFkSpaR8iGfLb+qDSBw6thLQtmg/W3tFYvv3CFIRUz1HdikikUIZgnh wEFjO73wiSA5fWLyzxGHXDTwPfJXiIwpqrtJJHrqiK3sL5t8e5nr2BsbU12FCg/kJTW+ 8XEpmpg78OC5j/eaBXSz/+OlB09QX9LVE9F4FAhPy7BD/9/qgVh2V9XlvKx4nodRvdyn 1S98FX/nraLJdnSrF3uxvBj21kaoh09zmstpZs+ZDOqTzZlhCjrghshEeltEgKJgPZha 3xTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Gby/wvbgAbQ6xppQGo/4BNcQmEG9UOOK0M/zT004MGI=; b=MKTN4+cPncJeMURVyToawdLBAamv5NusstkNdLGGMbVc1rvl6KFEnTWWX/bSpnvt7t BzXYiAIcCPAvqkgZAjzMo0hmY5wWkt7C89DFErSGj426SgxueQ1vdZo6QUN//qfltHF1 cXC/RJQbLLckXGka4u+ftex5RxCvatdUZ1TkYD6PzoSPuxiRao+TIXG5OtoTD/5bsYb8 KckDY3AAtLRGRGhqOnejN/rswmRTTvxx6SWAIVZfdegCw7pwhMKkkhF7GE8rg5VqBiFW +jCO/kY6obrDgdl+0XuGgd6jEXE9rWF6971PyR3qXj3BwopkbhHUAACK1oshXpT6tft4 PqfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si4147169ejj.711.2020.08.30.12.10.07; Sun, 30 Aug 2020 12:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgH3TIc (ORCPT + 99 others); Sun, 30 Aug 2020 15:08:32 -0400 Received: from gloria.sntech.de ([185.11.138.130]:47744 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgH3TIb (ORCPT ); Sun, 30 Aug 2020 15:08:31 -0400 Received: from p508fca7b.dip0.t-ipconnect.de ([80.143.202.123] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCSgh-00023t-Th; Sun, 30 Aug 2020 21:08:23 +0200 From: Heiko Stuebner To: Katsuhiro Suzuki Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: Re: [PATCH v2] arm64: dts: rockchip: add SPDIF node for rk3399-rockpro64 Date: Sun, 30 Aug 2020 21:08:18 +0200 Message-ID: <9694178.H46bfk3Hth@phil> In-Reply-To: <20200810091619.3170534-1-katsuhiro@katsuster.net> References: <20200810091619.3170534-1-katsuhiro@katsuster.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Montag, 10. August 2020, 11:16:19 CEST schrieb Katsuhiro Suzuki: > This patch adds 'disabled' SPDIF sound node and related settings > for rk3399-rockpro64. > > There are 2 reasons: > - All RK3399 dma-bus channels have been already used by I2S0/1/2 > - RockPro64 does not have SPDIF optical nor coaxial connector, > just have 3pins I don't really understand what you mean here. Like is there spdif on the board or not? Because you call it "disabled" and also indicate that no i2s is available anymore, yet you mention 3 pins. What do they do then? Thanks Heiko > Signed-off-by: Katsuhiro Suzuki > > --- > > Changes in v2: > - Remove redundant status property > --- > .../boot/dts/rockchip/rk3399-rockpro64.dtsi | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > index 6e553ff47534..58097245994a 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi > @@ -76,6 +76,23 @@ sound { > dais = <&i2s1_p0>; > }; > > + sound-dit { > + compatible = "audio-graph-card"; > + label = "rockchip,rk3399"; > + dais = <&spdif_p0>; > + }; > + > + spdif-dit { > + compatible = "linux,spdif-dit"; > + #sound-dai-cells = <0>; > + > + port { > + dit_p0_0: endpoint { > + remote-endpoint = <&spdif_p0_0>; > + }; > + }; > + }; > + > vcc12v_dcin: vcc12v-dcin { > compatible = "regulator-fixed"; > regulator-name = "vcc12v_dcin"; > @@ -698,6 +715,16 @@ &sdhci { > status = "okay"; > }; > > +&spdif { > + pinctrl-0 = <&spdif_bus_1>; > + > + spdif_p0: port { > + spdif_p0_0: endpoint { > + remote-endpoint = <&dit_p0_0>; > + }; > + }; > +}; > + > &spi1 { > status = "okay"; > >