From patchwork Wed Feb 7 16:31:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 10205635 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B4BF8602D8 for ; Wed, 7 Feb 2018 16:34:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A155628DCF for ; Wed, 7 Feb 2018 16:34:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FE0228FB1; Wed, 7 Feb 2018 16:34:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A18228EAD for ; Wed, 7 Feb 2018 16:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QzK5hUxqbCFW02WzNf9C8uTGr7XNAywkyvr6xYKfjqQ=; b=kOiyvgpPjgp/sO4WaQl7ys+Rdb +9mHnYAA+MQuTdSVeesycF7I/R/3N2btjpTIC1Jac6EtCI5vlGl89FWtQ25m3ffiYT5tUF3TwxbM+ Itu1L+PV4/ETfU0Tpf/sLdzJMFphhLf2yUEdvfMAn6OwbtwF0XW4cKh5iUkE+6Jl0rt0AXKll4lLN +6f+YvoYCsabJO4COlD4i4vWbGrtgRxsAAhtcq30GdKmTuKpRIMmv7+bBacnNPHQQ60l9JZzgJqUE P1j/dNBcB+anW16CTnEmAo8/1apiyuGn6V/j0qnqIS3U/zaTGn8YegcJPUwi+CjSxnhf0L0uXno5O R7B5xKIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejSeC-0002wT-5B; Wed, 07 Feb 2018 16:32:36 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejSe9-0002ov-9O for linux-rockchip@lists.infradead.org; Wed, 07 Feb 2018 16:32:34 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id F31EE267FA5 From: Enric Balletbo i Serra To: Heiko Stuebner Subject: [PATCH 3/3] arm64: dts: rockchip: enable DP for gru. Date: Wed, 7 Feb 2018 17:31:50 +0100 Message-Id: <20180207163150.16332-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180207163150.16332-1-enric.balletbo@collabora.com> References: <20180207163150.16332-1-enric.balletbo@collabora.com> X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , Chris Zhong , Brian Norris , Will Deacon , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , groeck@chromium.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chris Zhong Enable cdn_dp and create a cdn-dp-sound for the DP audio. Delete the endpoints between dp and vopL for gru, since we want the DP only use VOP big, which can support 4K mode. Signed-off-by: Chris Zhong Signed-off-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index 03f195025390..d05e8a52ec3c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -515,7 +515,23 @@ compatible = "rockchip,rk3399-gru-sound"; rockchip,cpu = <&i2s0 &i2s2>; rockchip,codec = <&max98357a &headsetcodec - &codec &wacky_spi_audio>; + &codec &wacky_spi_audio &cdn_dp>; + }; +}; + +/* Don't use vopl for dp, save it for edp */ +/delete-node/ &vopl_out_dp; +/delete-node/ &dp_in_vopl; + +&cdn_dp { + status = "okay"; + extcon = <&usbc_extcon0>, <&usbc_extcon1>; + + ports { + /* Don't use vopl for dp, save it for edp */ + dp_in: port { + /delete-node/ endpoint@1; + }; }; };